wip
This commit is contained in:
parent
7dbdc345da
commit
c4993f6540
23 changed files with 458 additions and 102 deletions
20
src/components/Headline/index.tsx
Normal file
20
src/components/Headline/index.tsx
Normal file
|
@ -0,0 +1,20 @@
|
|||
import clsx from "clsx";
|
||||
import React from "react";
|
||||
|
||||
type HeadlineProps = {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
export default function Headline({ children, className }: HeadlineProps) {
|
||||
return (
|
||||
<h1
|
||||
className={clsx(
|
||||
"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold leading-normal lg:leading-tight tracking-wider text-center px-4",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
{children}
|
||||
</h1>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue