Some checks failed
Main Confidence / confidence (push) Failing after 43s
## Summary - implement the website-only core IA for Spec 215 with canonical Home, Product, Trust, Changelog, Contact, Privacy, and Imprint routes - reduce primary navigation to the core buyer journey, retain legal/supporting pages as secondary surfaces, and redirect `/security-trust` to `/trust` - add route metadata, sitemap/canonical handling, changelog publishing, and updated smoke coverage for the new IA contract ## Testing - `corepack pnpm build:website` - `cd apps/website && corepack pnpm exec playwright test` - integrated browser smoke validation for core routes, secondary routes, `/security-trust -> /trust`, hidden optional routes, mobile nav, and Trust/Changelog to Contact paths ## Notes - keeps all changes local to `apps/website` and the Spec 215 artifacts - preserves the website working contract with no `apps/platform` runtime coupling Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #252
51 lines
1.7 KiB
Plaintext
51 lines
1.7 KiB
Plaintext
---
|
|
import '../styles/global.css';
|
|
|
|
import { siteMetadata } from '@/lib/site';
|
|
|
|
interface Props {
|
|
canonicalUrl?: string;
|
|
description?: string;
|
|
openGraphDescription?: string;
|
|
openGraphTitle?: string;
|
|
robots?: string;
|
|
title?: string;
|
|
}
|
|
|
|
const {
|
|
canonicalUrl,
|
|
description = siteMetadata.siteDescription,
|
|
robots = 'index,follow',
|
|
title = `${siteMetadata.siteName} | ${siteMetadata.siteTagline}`,
|
|
} = Astro.props;
|
|
|
|
const openGraphTitle = Astro.props.openGraphTitle ?? title;
|
|
const openGraphDescription = Astro.props.openGraphDescription ?? description;
|
|
---
|
|
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="description" content={description} />
|
|
<meta name="robots" content={robots} />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="generator" content={Astro.generator} />
|
|
<meta property="og:site_name" content={siteMetadata.siteName} />
|
|
<meta property="og:title" content={openGraphTitle} />
|
|
<meta property="og:description" content={openGraphDescription} />
|
|
<meta property="og:type" content="website" />
|
|
{canonicalUrl && <meta property="og:url" content={canonicalUrl} />}
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:title" content={openGraphTitle} />
|
|
<meta name="twitter:description" content={openGraphDescription} />
|
|
{canonicalUrl && <link rel="canonical" href={canonicalUrl} />}
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<title>{title}</title>
|
|
</head>
|
|
<body>
|
|
<a class="skip-link" href="#content">Skip to content</a>
|
|
<slot />
|
|
</body>
|
|
</html>
|