Add SEO metadata and manifest file; clean up placeholder comments

This commit is contained in:
2025-12-27 21:47:41 +01:00
parent a833997770
commit fd9b6b183f
4 changed files with 26 additions and 5 deletions

View File

@@ -3,6 +3,11 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LAYER.systems</title>
<meta name="description" content="Hosting nostr services" />
<meta property="og:type" content="website" />
<meta property="og:title" content="LAYER.systems" />
<meta property="og:description" content="Hosting nostr services" />
<meta http-equiv="content-security-policy" content="default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self' https:; font-src 'self'; base-uri 'self'; manifest-src 'self'; connect-src 'self' blob: https: wss:; img-src 'self' data: blob: https:; media-src 'self' https:">
<link rel="manifest" href="/manifest.webmanifest">
</head>

View File

@@ -0,0 +1,21 @@
{
"name": "LAYER.systems",
"short_name": "LAYER.systems",
"description": "Hosting nostr services",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#000000",
"icons": [
{
"src": "/icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}

View File

@@ -7,9 +7,6 @@ import { ErrorBoundary } from '@/components/ErrorBoundary';
import App from './App.tsx';
import './index.css';
// FIXME: a custom font should be used. Eg:
// import '@fontsource-variable/<font-name>';
createRoot(document.getElementById("root")!).render(
<ErrorBoundary>
<App />

View File

@@ -1,7 +1,5 @@
import { useSeoMeta } from '@unhead/react';
// FIXME: Update this page (the content is just a fallback if you fail to update the page)
const Index = () => {
useSeoMeta({
title: 'Welcome to Your Blank App',