CI (SIAX Cloud) / sonar (pull_request) Skipped
masterplan-lock / check (pull_request) Successful in 6s
CI (SIAX Cloud) / Component conformance (blocking) (pull_request) Successful in 11s
CI (SIAX Cloud) / security (pull_request) Successful in 21s
security / scan (pull_request) Failing after 21s
CI (SIAX Cloud) / integration (pull_request) Successful in 1m11s
CI (SIAX Cloud) / quality (pull_request) Successful in 1m47s
90 lines
3.0 KiB
TypeScript
90 lines
3.0 KiB
TypeScript
import React from "react";
|
|
import type { Metadata } from "next";
|
|
import { Toaster } from "sonner";
|
|
import { LocaleProvider } from "@/components/locale-provider";
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
import { RouteReveal } from "@/components/route-reveal";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "0pt — your data",
|
|
description:
|
|
"Data services on demand for the Nordics & Europe. Provenance per field, GDPR-native. Compose your data job, pay 50% to start, watch production live.",
|
|
generator: "0pt.app",
|
|
metadataBase: new URL("https://0pt.app"),
|
|
alternates: { canonical: "https://0pt.app" },
|
|
openGraph: {
|
|
title: "0pt — your data",
|
|
description: "Nordic & European data services. Provenance per field. GDPR-native. 50/50 escrow.",
|
|
url: "https://0pt.app",
|
|
siteName: "0pt",
|
|
locale: "en_US",
|
|
type: "website",
|
|
},
|
|
twitter: {
|
|
card: "summary",
|
|
title: "0pt — your data",
|
|
description: "Nordic & European data services. Provenance per field. GDPR-native.",
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
icons: {
|
|
icon: [
|
|
{ url: "/icon-light-32x32.png", sizes: "32x32", type: "image/png", media: "(prefers-color-scheme: light)" },
|
|
{ url: "/icon-dark-32x32.png", sizes: "32x32", type: "image/png", media: "(prefers-color-scheme: dark)" },
|
|
{ url: "/icon.svg", type: "image/svg+xml" },
|
|
],
|
|
apple: "/apple-icon.png",
|
|
},
|
|
};
|
|
|
|
const structuredData = {
|
|
"@context": "https://schema.org",
|
|
"@graph": [
|
|
{
|
|
"@type": "Organization",
|
|
"@id": "https://siax.io/#organization",
|
|
name: "SIAX Technology AB",
|
|
url: "https://siax.io",
|
|
},
|
|
{
|
|
"@type": "WebSite",
|
|
"@id": "https://0pt.app/#website",
|
|
url: "https://0pt.app",
|
|
name: "0pt — your data",
|
|
inLanguage: "en",
|
|
publisher: { "@id": "https://siax.io/#organization" },
|
|
},
|
|
],
|
|
};
|
|
|
|
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
|
|
/>
|
|
</head>
|
|
<body className="font-sans antialiased">
|
|
<a
|
|
href="#main-content"
|
|
className="sr-only focus:not-sr-only focus:fixed focus:left-4 focus:top-4 focus:z-[100] focus:bg-foreground focus:px-4 focus:py-2 focus:font-mono focus:text-[11px] focus:uppercase focus:tracking-[0.12em] focus:text-background"
|
|
>
|
|
Skip to content
|
|
</a>
|
|
<ThemeProvider attribute="class" defaultTheme="light" enableSystem={false}>
|
|
<LocaleProvider>
|
|
<RouteReveal />
|
|
{children}
|
|
</LocaleProvider>
|
|
</ThemeProvider>
|
|
<Toaster position="bottom-right" toastOptions={{ classNames: { toast: "font-mono text-xs tracking-[0.06em] rounded-none border border-border bg-background text-foreground", title: "font-mono", description: "font-mono text-muted-foreground" } }} />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|