File reorganization / CSS improvements

This commit is contained in:
Koper
2023-09-25 18:00:44 +01:00
parent 327b3748c7
commit edcee20ea8
7 changed files with 13 additions and 13 deletions

View File

@@ -4,13 +4,13 @@ type SimpleProps = {
};
const Title = ({ children, className }: SimpleProps) => (
<h2 className={`text-lg md:text-xl ${className}`}>{children}</h2>
<h2 className={`text-lg font-bold md:text-xl ${className}`}>{children}</h2>
);
const Subtitle = ({ children, className }: SimpleProps) => (
<h3 className={`text-base md:text-lg ${className}`}>{children}</h3>
);
const Paragraph = ({ children, className }: SimpleProps) => (
<p className={`md:text-justify mb-2 md:mb-4 ${className}`}>{children}</p>
<p className={`mb-2 md:mb-4 ${className}`}>{children}</p>
);
export { Title, Subtitle, Paragraph };