|
1 | | -import { About } from '@/components/sections/about'; |
2 | | -import { Architecture } from '@/components/sections/architecture'; |
3 | | -import { Contact } from '@/components/sections/contact'; |
4 | | -import { Hero } from '@/components/sections/hero'; |
5 | | -import { Projects } from '@/components/sections/projects'; |
6 | | -import { Navbar } from '@/components/sections/navbar'; |
7 | | -import { getDictionary, type Locale } from '@/lib/i18n'; |
8 | | -import { notFound } from 'next/navigation'; |
9 | | -import { LangRedirect } from '@/components/lang-redirect'; |
| 1 | +import { About } from "@/components/sections/about"; |
| 2 | +import { Architecture } from "@/components/sections/architecture"; |
| 3 | +import { Contact } from "@/components/sections/contact"; |
| 4 | +import { Hero } from "@/components/sections/hero"; |
| 5 | +import { Projects } from "@/components/sections/projects"; |
| 6 | +import { Navbar } from "@/components/sections/navbar"; |
| 7 | +import { getDictionary, type Locale } from "@/lib/i18n"; |
| 8 | +import { notFound } from "next/navigation"; |
| 9 | +import { LangRedirect } from "@/components/lang-redirect"; |
10 | 10 |
|
11 | 11 | type Params = { lang: Locale }; |
12 | 12 |
|
13 | 13 | export function generateStaticParams() { |
14 | | - return [{ lang: 'es' }, { lang: 'en' }]; |
| 14 | + return [{ lang: "es" }, { lang: "en" }]; |
15 | 15 | } |
16 | 16 |
|
17 | 17 | export default function LangPage({ params }: { params: Params }) { |
18 | | - if (params.lang !== 'es' && params.lang !== 'en') { |
| 18 | + if (params.lang !== "es" && params.lang !== "en") { |
19 | 19 | return notFound(); |
20 | 20 | } |
21 | 21 | const dict = getDictionary(params.lang); |
22 | 22 | return ( |
23 | 23 | <main className="min-h-screen"> |
24 | 24 | <LangRedirect currentLocale={params.lang} /> |
25 | 25 | <Navbar content={dict.nav} currentLocale={params.lang} /> |
26 | | - <div className="bg-page-gradient"> |
| 26 | + <div className="bg-page-gradient bg-grid"> |
27 | 27 | <Hero content={dict.hero} /> |
28 | 28 | <About content={dict.about} /> |
29 | 29 | <Projects content={dict.projects} /> |
|
0 commit comments