Enhance Next.js configuration and dependencies for improved functionality and localization support. Added support for internationalization with next-intl, updated global styles, and integrated new fonts. Removed default home page and updated README with project details and setup instructions.

This commit is contained in:
smhk1376 committed 2026-09-24 14:53:01 +03:30
1 parent 2911dea00b
commit 44f4fa98e2
320 files changed
+31666 -220

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
import type { Metadata } from "next";
import { getTranslations } from "next-intl/server";
import { Container } from "@/components/atoms/Container";
import { Section } from "@/components/atoms/Section";
import { PageHero } from "@/components/molecules/PageHero";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { valuesContent } from "@/lib/site-config";
export async function generateMetadata(): Promise<Metadata> {
const t = await getTranslations("pages");
return { title: t("valuesTitle"), description: valuesContent.intro };
}
export default async function ValuesPage() {
const t = await getTranslations("pages");
return (
<main id="main-content">
<PageHero title={t("valuesTitle")} intro={valuesContent.intro} />
<Section className="bg-gradient-to-b from-background to-muted/40">
<Container>
<div className="grid gap-5 sm:grid-cols-2">
{valuesContent.items.map((item) => (
<Card key={item.title} className="rounded-2xl border-border/70 shadow-sm transition-[box-shadow,border-color] hover:border-primary/20 hover:shadow-md">
<CardHeader>
<CardTitle>{item.title}</CardTitle>
</CardHeader>
<CardContent>
<p className="text-sm leading-7 text-muted-foreground">
{item.text}
</p>
</CardContent>
</Card>
))}
</div>
</Container>
</Section>
</main>
);
}