Files
CoHaiSe/frontend/web/app/components/Hero.tsx
T
Esiah 09cf07d79b feat: migrate showcase to Next.js and overhaul CRM UI
- rebuild the public site on the Next.js App Router with static export,
  per-section SEO pages, metadata, sitemap, robots and a generated OG image
- add full-screen scroll-snap regions, staged scroll reveals, a hash-free
  tab navigation with a sliding indicator and region-by-region menu scrolling
- replace the theme text toggle with animated sun/moon icons
- restructure the CRM API into config, middleware, models, routes, services
  and utils layers
- redesign the CRM shell with a single surface, tab rail, full-width blurred
  DataTable, record dialogs and mask-based icons
- update Docker/Nginx publishing, Makefile targets, shared UI polish and docs
2026-11-16 00:52:29 +01:00

57 lines
1.7 KiB
TypeScript

"use client";
import Link from "next/link";
import { useLanguage } from "../contexts/LanguageContext";
import { Section } from "./Section";
export const Hero = () => {
const { t } = useLanguage();
return (
<Section id="hero" delay={0.05} className="items-start gap-6">
<h1
data-reveal
data-reveal-delay="0.05"
className="font-display text-5xl font-black uppercase leading-none tracking-display sm:text-7xl md:text-8xl"
>
{t("brand.name")}
</h1>
<p
data-reveal
data-reveal-delay="0.1"
className="max-w-2xl text-xl font-medium leading-relaxed text-foreground sm:text-2xl"
>
{t("hero.tagline")}
</p>
<p
data-reveal
data-reveal-delay="0.15"
className="max-w-xl text-base leading-relaxed text-muted-foreground"
>
{t("hero.subtitle")}
</p>
<div
data-reveal
data-reveal-delay="0.2"
className="mt-6 flex flex-wrap gap-3"
>
<Link
href="/services"
className="inline-flex h-12 items-center gap-2.5 rounded-lg bg-primary px-6 font-display text-sm font-semibold uppercase tracking-label text-primary-foreground transition-colors hover:bg-primary-hover"
>
{t("hero.primary")}
</Link>
<Link
href="/contact"
className="inline-flex h-12 items-center gap-2.5 rounded-lg border border-border-strong bg-surface px-6 font-display text-sm font-semibold uppercase tracking-label text-foreground transition-colors hover:bg-surface-hover"
>
{t("hero.secondary")}
</Link>
</div>
</Section>
);
};