From f5557d9937635f75346068f4ceacee7cb697d9ab Mon Sep 17 00:00:00 2001 From: Jacopo Gasparetto <jacopo.gasparetto@cnaf.infn.it> Date: Tue, 4 Apr 2023 19:02:35 +0200 Subject: [PATCH] Add title component --- frontend/src/components/Title.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 frontend/src/components/Title.tsx diff --git a/frontend/src/components/Title.tsx b/frontend/src/components/Title.tsx new file mode 100644 index 0000000..934e785 --- /dev/null +++ b/frontend/src/components/Title.tsx @@ -0,0 +1,11 @@ +type Props = { + children: string +} + +export const Title = ({ children }: Props) => { + return ( + <div className="mb-4 text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white"> + {children} + </div> + ) +} \ No newline at end of file -- GitLab