diff --git a/components/layouts/SimpleLayout.tsx b/components/layouts/SimpleLayout.tsx index 3b7d3e7..9f32750 100644 --- a/components/layouts/SimpleLayout.tsx +++ b/components/layouts/SimpleLayout.tsx @@ -1,6 +1,6 @@ import {ReactNode} from 'react' -import clsx from 'clsx' import {Container} from '@/components/Container' +import {twMerge} from 'tailwind-merge' type SimpleLayout = { title: string @@ -19,9 +19,15 @@ export function SimpleLayout({

+ className={twMerge(` + text-4xl + font-bold + tracking-tight + text-zinc-800 + dark:text-zinc-100 + sm:text-5xl + ${gradient ? `${gradient} bg-clip-text dark:text-transparent` : ''} + `)}> {title}