Skip to content

Commit 191491a

Browse files
committed
readd bg-grid
1 parent bccab7b commit 191491a

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

app/[lang]/page.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
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";
1010

1111
type Params = { lang: Locale };
1212

1313
export function generateStaticParams() {
14-
return [{ lang: 'es' }, { lang: 'en' }];
14+
return [{ lang: "es" }, { lang: "en" }];
1515
}
1616

1717
export default function LangPage({ params }: { params: Params }) {
18-
if (params.lang !== 'es' && params.lang !== 'en') {
18+
if (params.lang !== "es" && params.lang !== "en") {
1919
return notFound();
2020
}
2121
const dict = getDictionary(params.lang);
2222
return (
2323
<main className="min-h-screen">
2424
<LangRedirect currentLocale={params.lang} />
2525
<Navbar content={dict.nav} currentLocale={params.lang} />
26-
<div className="bg-page-gradient">
26+
<div className="bg-page-gradient bg-grid">
2727
<Hero content={dict.hero} />
2828
<About content={dict.about} />
2929
<Projects content={dict.projects} />

app/page.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
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 } from '@/lib/i18n';
8-
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 } from "@/lib/i18n";
8+
import { LangRedirect } from "@/components/lang-redirect";
99

1010
export default function HomePage() {
11-
const dict = getDictionary('es');
11+
const dict = getDictionary("es");
1212
return (
1313
<main className="min-h-screen">
1414
<LangRedirect currentLocale="es" />
1515
<Navbar content={dict.nav} currentLocale="es" />
16-
<div className="bg-page-gradient">
16+
<div className="bg-page-gradient bg-grid">
1717
<Hero content={dict.hero} />
1818
<About content={dict.about} />
1919
<Projects content={dict.projects} />

0 commit comments

Comments
 (0)