beautify mobile version

This commit is contained in:
vchikalkin 2024-12-09 11:33:10 +03:00
parent ba3791bab3
commit 6cdcfb5763
3 changed files with 6 additions and 2 deletions

View File

@ -19,7 +19,7 @@ export default async function RootLayout({ children }: { readonly children: Reac
<body <body
className={cn( className={cn(
inter.className, inter.className,
'mx-auto min-h-screen max-w-2xl bg-background px-6 py-12 antialiased sm:py-24', 'mx-auto min-h-screen max-w-2xl bg-background md:px-6 md:py-12 antialiased',
)} )}
> >
<NextIntlClientProvider messages={messages}> <NextIntlClientProvider messages={messages}>

View File

@ -24,7 +24,10 @@ export async function generateMetadata({ params }: PageProps): Promise<Metadata>
export default function HomePage() { export default function HomePage() {
return ( return (
<main> <main>
<NeonGradientCard neonColors={{ firstColor: '#ae00ff2b', secondColor: '#0011ff55' }}> <NeonGradientCard
className="max-sm:min-h-screen"
neonColors={{ firstColor: '#ae00ff2b', secondColor: '#0011ff55' }}
>
<div className="flex flex-col justify-between gap-y-5"> <div className="flex flex-col justify-between gap-y-5">
<Person /> <Person />
<About /> <About />

View File

@ -41,6 +41,7 @@ export default [
}, },
{ usePrettierrc: false }, { usePrettierrc: false },
], ],
'react/forbid-component-props': 0,
}, },
}, },
]; ];