- 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
71 lines
1.8 KiB
TypeScript
71 lines
1.8 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Hero } from "./components/Hero";
|
|
import { Services } from "./components/Services";
|
|
import { Demos } from "./components/Demos";
|
|
import { StackAbout } from "./components/StackAbout";
|
|
import { Contact } from "./components/Contact";
|
|
import { services } from "./data/services";
|
|
import { demos } from "./data/demos";
|
|
import { SITE_DESCRIPTION, SITE_NAME, SITE_URL } from "./lib/site";
|
|
|
|
export const metadata: Metadata = {
|
|
description: SITE_DESCRIPTION,
|
|
alternates: { canonical: "/" },
|
|
};
|
|
|
|
const jsonLd = {
|
|
"@context": "https://schema.org",
|
|
"@graph": [
|
|
{
|
|
"@type": "Organization",
|
|
"@id": `${SITE_URL}/#organization`,
|
|
name: SITE_NAME,
|
|
url: SITE_URL,
|
|
logo: `${SITE_URL}/images/cohaise.webp`,
|
|
sameAs: [
|
|
"https://git.cohaise.dev/Esiah",
|
|
"https://github.com/xEsiah",
|
|
],
|
|
},
|
|
{
|
|
"@type": "WebSite",
|
|
"@id": `${SITE_URL}/#website`,
|
|
url: SITE_URL,
|
|
name: SITE_NAME,
|
|
inLanguage: "fr",
|
|
publisher: { "@id": `${SITE_URL}/#organization` },
|
|
},
|
|
{
|
|
"@type": "ProfessionalService",
|
|
"@id": `${SITE_URL}/#service`,
|
|
name: SITE_NAME,
|
|
url: SITE_URL,
|
|
description: SITE_DESCRIPTION,
|
|
areaServed: "FR",
|
|
serviceType: [
|
|
"Développement web",
|
|
"Applications mobiles",
|
|
"UI/UX design",
|
|
"Logiciels sur mesure",
|
|
],
|
|
parentOrganization: { "@id": `${SITE_URL}/#organization` },
|
|
},
|
|
],
|
|
};
|
|
|
|
export default function HomePage() {
|
|
return (
|
|
<>
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
|
|
/>
|
|
<Hero />
|
|
<Services services={services} />
|
|
<Demos demos={demos} />
|
|
<StackAbout />
|
|
<Contact />
|
|
</>
|
|
);
|
|
}
|