diff --git a/apps/www/public/favicon.ico b/apps/www/public/favicon.ico
new file mode 100644
index 00000000..a907041f
Binary files /dev/null and b/apps/www/public/favicon.ico differ
diff --git a/apps/www/public/favicon.svg b/apps/www/public/favicon.svg
index 0ded7c13..736b34cb 100644
--- a/apps/www/public/favicon.svg
+++ b/apps/www/public/favicon.svg
@@ -1 +1,14 @@
-
\ No newline at end of file
+
+
diff --git a/apps/www/public/manifest.json b/apps/www/public/manifest.json
index c18e75f7..931df68f 100644
--- a/apps/www/public/manifest.json
+++ b/apps/www/public/manifest.json
@@ -1,9 +1,22 @@
{
"$schema": "https://json.schemastore.org/web-manifest-combined.json",
- "name": "qwik-project-name",
- "short_name": "Welcome to Qwik",
+ "name": "Nestri",
+ "short_name": "Nestri - Your games. Your rules.",
"start_url": ".",
"display": "standalone",
- "background_color": "#fff",
- "description": "A Qwik project app."
-}
+ "background_color": "#fafafa",
+ "description": "Nestri - Your games. Your rules.",
+ "icons": [
+ {
+ "src": "/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#fafafa"
+}
\ No newline at end of file
diff --git a/apps/www/public/seo/android-chrome-192x192.png b/apps/www/public/seo/android-chrome-192x192.png
new file mode 100644
index 00000000..28422101
Binary files /dev/null and b/apps/www/public/seo/android-chrome-192x192.png differ
diff --git a/apps/www/public/seo/android-chrome-512x512.png b/apps/www/public/seo/android-chrome-512x512.png
new file mode 100644
index 00000000..6b046664
Binary files /dev/null and b/apps/www/public/seo/android-chrome-512x512.png differ
diff --git a/apps/www/public/seo/apple-touch-icon.png b/apps/www/public/seo/apple-touch-icon.png
new file mode 100644
index 00000000..f9de3316
Binary files /dev/null and b/apps/www/public/seo/apple-touch-icon.png differ
diff --git a/apps/www/public/images/next.png b/apps/www/public/seo/banner.png
similarity index 100%
rename from apps/www/public/images/next.png
rename to apps/www/public/seo/banner.png
diff --git a/apps/www/public/seo/browserconfig.xml b/apps/www/public/seo/browserconfig.xml
new file mode 100644
index 00000000..7c714d03
--- /dev/null
+++ b/apps/www/public/seo/browserconfig.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+ #ffede5
+
+
+
diff --git a/apps/www/public/seo/favicon-16x16.png b/apps/www/public/seo/favicon-16x16.png
new file mode 100644
index 00000000..9f22bfef
Binary files /dev/null and b/apps/www/public/seo/favicon-16x16.png differ
diff --git a/apps/www/public/seo/favicon-32x32.png b/apps/www/public/seo/favicon-32x32.png
new file mode 100644
index 00000000..79e1cce5
Binary files /dev/null and b/apps/www/public/seo/favicon-32x32.png differ
diff --git a/apps/www/public/seo/favicon.ico b/apps/www/public/seo/favicon.ico
new file mode 100644
index 00000000..66491241
Binary files /dev/null and b/apps/www/public/seo/favicon.ico differ
diff --git a/apps/www/public/seo/mstile-150x150.png b/apps/www/public/seo/mstile-150x150.png
new file mode 100644
index 00000000..13f0df9d
Binary files /dev/null and b/apps/www/public/seo/mstile-150x150.png differ
diff --git a/apps/www/public/seo/safari-pinned-tab.svg b/apps/www/public/seo/safari-pinned-tab.svg
new file mode 100644
index 00000000..0090cd78
--- /dev/null
+++ b/apps/www/public/seo/safari-pinned-tab.svg
@@ -0,0 +1,19 @@
+
+
+
diff --git a/apps/www/public/seo/site.webmanifest b/apps/www/public/seo/site.webmanifest
new file mode 100644
index 00000000..4853690e
--- /dev/null
+++ b/apps/www/public/seo/site.webmanifest
@@ -0,0 +1,18 @@
+{
+ "name": "Nestri",
+ "short_name": "Nestri",
+ "icons": [
+ {
+ "src": "/icons/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/icons/android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#fafafa",
+ "background_color": "#fafafa",
+ "display": "standalone"}
diff --git a/apps/www/src/components/router-head/index.tsx b/apps/www/src/components/router-head/index.tsx
new file mode 100644
index 00000000..2c32f9c5
--- /dev/null
+++ b/apps/www/src/components/router-head/index.tsx
@@ -0,0 +1,69 @@
+import { component$ } from "@builder.io/qwik";
+import { useDocumentHead, useLocation } from "@builder.io/qwik-city";
+
+/**
+ * The RouterHead component is placed inside of the document `
` element.
+ */
+export const RouterHead = component$(() => {
+ const head = useDocumentHead();
+ const loc = useLocation();
+ const domain = loc.url.origin;
+
+ return (
+ <>
+ {loc.url.pathname === "/" ? "Nestri – Your games. Your rules." : `${loc.url.pathname.split("/")[1].charAt(0).toUpperCase() + loc.url.pathname.split("/")[1].slice(1)} – Nestri`}
+
+
+
+ {/**For SEO optimisation purposes refrain from SVG favicons and use PNG instead */}
+ {/* */}
+ {/*
+
+
+ */}
+
+
+
+
+ {/**@ts-ignore */}
+
+
+
+
+
+
+
+
+
+
+
+ {head.meta.map((m) => (
+
+ ))}
+
+ {head.links.map((l) => (
+
+ ))}
+
+ {head.styles.map((s) => (
+
+ ))}
+
+ {head.scripts.map((s) => (
+
+ ))}
+ >
+ );
+});
diff --git a/apps/www/src/components/router-head/router-head.tsx b/apps/www/src/components/router-head/router-head.tsx
deleted file mode 100644
index da5b68fa..00000000
--- a/apps/www/src/components/router-head/router-head.tsx
+++ /dev/null
@@ -1,48 +0,0 @@
-import { component$ } from "@builder.io/qwik";
-import { useDocumentHead, useLocation } from "@builder.io/qwik-city";
-
-/**
- * The RouterHead component is placed inside of the document `` element.
- */
-export const RouterHead = component$(() => {
- const head = useDocumentHead();
- const loc = useLocation();
-
- return (
- <>
- {head.title}
-
-
-
-
-
- {head.meta.map((m) => (
-
- ))}
-
- {head.links.map((l) => (
-
- ))}
-
- {head.styles.map((s) => (
-
- ))}
-
- {head.scripts.map((s) => (
-
- ))}
- >
- );
-});
diff --git a/apps/www/src/root.tsx b/apps/www/src/root.tsx
index 93409a78..88c7b654 100644
--- a/apps/www/src/root.tsx
+++ b/apps/www/src/root.tsx
@@ -4,7 +4,7 @@ import {
RouterOutlet,
ServiceWorkerRegister,
} from "@builder.io/qwik-city";
-import { RouterHead } from "./components/router-head/router-head";
+import { RouterHead } from "@/components/router-head";
import { isDev } from "@builder.io/qwik/build";
import "@nestri/ui/globals.css";
diff --git a/apps/www/src/routes/index.tsx b/apps/www/src/routes/index.tsx
index 0df099fe..7d4d767d 100644
--- a/apps/www/src/routes/index.tsx
+++ b/apps/www/src/routes/index.tsx
@@ -1,5 +1,4 @@
import { component$ } from "@builder.io/qwik";
-import type { DocumentHead } from "@builder.io/qwik-city";
export default component$(() => {
return (
@@ -7,14 +6,4 @@ export default component$(() => {
);
-});
-
-export const head: DocumentHead = {
- title: "Welcome to Qwik",
- meta: [
- {
- name: "description",
- content: "Qwik site description",
- },
- ],
-};
+});
\ No newline at end of file
diff --git a/apps/www/tsconfig.json b/apps/www/tsconfig.json
index 8ee25804..94dc7506 100644
--- a/apps/www/tsconfig.json
+++ b/apps/www/tsconfig.json
@@ -17,7 +17,7 @@
"outDir": "tmp",
"noEmit": true,
"paths": {
- "~/*": ["./src/*"]
+ "@/*": ["./src/*"]
}
},
"files": ["./.eslintrc.cjs"],