From fd9b6b183f6fede637b06de290ea81b714e6bff2 Mon Sep 17 00:00:00 2001 From: highperfocused Date: Sat, 27 Dec 2025 21:47:41 +0100 Subject: [PATCH] Add SEO metadata and manifest file; clean up placeholder comments --- index.html | 5 +++++ public/manifest.webmanifest | 21 +++++++++++++++++++++ src/main.tsx | 3 --- src/pages/Index.tsx | 2 -- 4 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 public/manifest.webmanifest diff --git a/index.html b/index.html index cd5ada1..4e8a365 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,11 @@ + LAYER.systems + + + + diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest new file mode 100644 index 0000000..441185e --- /dev/null +++ b/public/manifest.webmanifest @@ -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" + } + ] +} diff --git a/src/main.tsx b/src/main.tsx index e263904..730e0ee 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -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/'; - createRoot(document.getElementById("root")!).render( diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 4427de5..92425e6 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -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',