Hero: replace particle field with cobe globe (Capricorn view, multi-axis drag, reduced-motion safe), telemetry HUD with pointer parallax, particle text build effect, Space Grotesk display font. SEO: short titles with template, PT-BR accents, twitter cards on dynamic cases, escaped JSON-LD via lib/jsonld.ts, CSP report-only, 25 service FAQs answer-first. Design: fix TW4 layered reset killing spacing utilities, literal @theme tokens, mobile hero overflow, header overlap, empty case cards. Remove framer-motion (unified on motion/react), header version badge, phone number from hero CTA. Production build verified (24 static pages).
113 lines
3.9 KiB
TypeScript
113 lines
3.9 KiB
TypeScript
import type { Metadata } from "next";
|
|
import HeroBackground from "@/app/components/cinematic/HeroBackground";
|
|
import MagneticButton from "@/app/components/cinematic/MagneticButton";
|
|
import { safeJsonLd } from "@/lib/jsonld";
|
|
import {
|
|
serviceHubLinks,
|
|
servicePages,
|
|
siteName,
|
|
siteUrl,
|
|
} from "@/lib/site-content";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Serviços de Engenharia de Software e Consultoria Técnica",
|
|
description:
|
|
"Serviços de engenharia de software, consultoria Next.js, Tauri, Rust, arquitetura de software e integração hardware + software para produtos e sistemas críticos.",
|
|
alternates: {
|
|
canonical: `${siteUrl}/servicos`,
|
|
},
|
|
openGraph: {
|
|
title: "Serviços de Engenharia de Software e Consultoria Técnica",
|
|
description:
|
|
"Serviços de engenharia de software, consultoria Next.js, Tauri, Rust, arquitetura de software e integração hardware + software para produtos e sistemas críticos.",
|
|
url: `${siteUrl}/servicos`,
|
|
siteName,
|
|
type: "website",
|
|
},
|
|
};
|
|
|
|
export default function ServicesIndexPage() {
|
|
const jsonLd = {
|
|
"@context": "https://schema.org",
|
|
"@graph": [
|
|
{
|
|
"@type": "CollectionPage",
|
|
"@id": `${siteUrl}/servicos#page`,
|
|
name: "Serviços de Engenharia de Software e Consultoria Técnica",
|
|
url: `${siteUrl}/servicos`,
|
|
description:
|
|
"Hub de serviços para engenharia de software, consultoria técnica, Next.js, Tauri, Rust, IoT e arquitetura de software.",
|
|
},
|
|
{
|
|
"@type": "ItemList",
|
|
itemListElement: servicePages.map((service, index) => ({
|
|
"@type": "ListItem",
|
|
position: index + 1,
|
|
url: `${siteUrl}/servicos/${service.slug}`,
|
|
name: service.navLabel,
|
|
})),
|
|
},
|
|
{
|
|
"@type": "BreadcrumbList",
|
|
itemListElement: [
|
|
{ "@type": "ListItem", position: 1, name: "Início", item: siteUrl },
|
|
{
|
|
"@type": "ListItem",
|
|
position: 2,
|
|
name: "Serviços",
|
|
item: `${siteUrl}/servicos`,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|
|
|
|
return (
|
|
<main>
|
|
<script type="application/ld+json">{safeJsonLd(jsonLd)}</script>
|
|
|
|
<section className="ds-section ds-section-dark relative min-h-[340px] overflow-hidden">
|
|
<HeroBackground />
|
|
<div className="ds-section-shell relative z-10">
|
|
<div className="max-w-[860px]">
|
|
<p className="ds-eyebrow">Hub de serviços</p>
|
|
<h1 className="ds-section-title max-w-[14ch] text-balance text-white">
|
|
Serviços de engenharia de software para contextos técnicos de
|
|
alta exigência.
|
|
</h1>
|
|
<p className="ds-copy max-w-[64ch] !text-[rgba(255,255,255,0.78)]">
|
|
Organizei as páginas de serviço por intenção real de compra:
|
|
engenharia de software, consultoria Next.js, Tauri e Rust,
|
|
arquitetura de software e integrações hardware + software.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section className="ds-section">
|
|
<div className="ds-section-shell">
|
|
<div className="ds-grid-2">
|
|
{serviceHubLinks.map((service) => (
|
|
<article key={service.href} className="ds-card">
|
|
<div className="ds-kicker">Serviço especializado</div>
|
|
<h2 className="ds-card-title">{service.label}</h2>
|
|
<p className="ds-copy">{service.description}</p>
|
|
<div className="mt-sp-6">
|
|
<MagneticButton
|
|
as="a"
|
|
href={service.href}
|
|
className="ds-link ds-link-accent"
|
|
strength={0.25}
|
|
>
|
|
Abrir página
|
|
</MagneticButton>
|
|
</div>
|
|
</article>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
);
|
|
}
|