mirror of
https://github.com/fergalmoran/supanextail.git
synced 2026-01-04 07:35:58 +00:00
Blog V1 (functionnal)
Need to clean TS code / replace placeholders / Design V1 to-do
This commit is contained in:
15
components/blog/post-title.tsx
Normal file
15
components/blog/post-title.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { ReactNode } from 'react';
|
||||
|
||||
type Properties = {
|
||||
children?: ReactNode;
|
||||
};
|
||||
|
||||
const PostTitle = ({ children }: Properties): JSX.Element => {
|
||||
return (
|
||||
<h1 className="text-5xl md:text-7xl lg:text-8xl font-bold tracking-tighter leading-tight md:leading-none mb-12 text-center md:text-left">
|
||||
{children}
|
||||
</h1>
|
||||
);
|
||||
};
|
||||
|
||||
export default PostTitle;
|
||||
Reference in New Issue
Block a user