blob: ee29aaed299bcf132f771a41fb28b2a0c3454027 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
---
// SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
// SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.0
import "../styles/global.css";
import "../styles/registry.css";
interface Props {
title: string;
description: string;
theme?: "visual-xsharp" | "progmasoft";
}
const { title, description, theme = "visual-xsharp" } = Astro.props;
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content={description} />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content={theme === "progmasoft" ? "#ffffff" : "#0c111b"} />
<link rel="icon" type={theme === "progmasoft" ? "image/svg+xml" : "image/png"} href={theme === "progmasoft" ? "/progmasoft-mark.svg" : "/xsharp-logo.png"} />
<link rel="preload" href="/fonts/AlfaSlabOne-Regular.woff2" as="font" type="font/woff2" crossorigin />
<link rel="preload" href="/fonts/FiraSans-Regular.woff2" as="font" type="font/woff2" crossorigin />
<title>{title}</title>
</head>
<body class:list={{ "registry-theme": theme === "progmasoft" }}>
<slot />
</body>
</html>
|