little fixes
This commit is contained in:
parent
2fd9645978
commit
d70298aa23
13
src/app/not-found.tsx
Normal file
13
src/app/not-found.tsx
Normal file
@ -0,0 +1,13 @@
|
||||
'use client';
|
||||
import { useEffect } from 'react';
|
||||
import { useRouter } from 'next/navigation';
|
||||
|
||||
export default function Custom404() {
|
||||
const router = useRouter();
|
||||
|
||||
useEffect(() => {
|
||||
router.replace('/'); // Редирект на главную
|
||||
}, []);
|
||||
|
||||
return null; // Или можно вернуть лоадер
|
||||
}
|
||||
@ -15,18 +15,20 @@ export default function Home() {
|
||||
<div className="grid place-items-center h-screen">
|
||||
<main className="font-[family-name:var(--font-geist-sans)]">
|
||||
|
||||
<header className="text-center">
|
||||
<h1 className="text-9xl font-mono">
|
||||
<header className="text-center px-2.5">
|
||||
<h1 className="md:text-9xl font-mono text-6xl">
|
||||
Sergey Krylov
|
||||
</h1>
|
||||
|
||||
<h2 className="text-4xl text-slate-500 font-mono">
|
||||
Fronted Software Engineer
|
||||
<h2 className="md:text-4xl text-slate-500 font-mono text-2xl">
|
||||
Frontend Software Engineer
|
||||
</h2>
|
||||
|
||||
<h3 className="text-2xl text-slate-400 font-mono">
|
||||
@ksv741
|
||||
</h3>
|
||||
<Link href="https://t.me/ksv741" target="_blank">
|
||||
<h3 className="text-2xl text-slate-400 font-mono">
|
||||
@ksv741
|
||||
</h3>
|
||||
</Link>
|
||||
</header>
|
||||
|
||||
<div className="grid grid-cols-2 grid-rows-2 gap-16 h-64 mt-8">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user