Robots, Trusted Types, and various other bits...
This commit is contained in:
12
static/assets/js/bootstrap.js
vendored
Normal file
12
static/assets/js/bootstrap.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
(function () {
|
||||
// Default Trusted Type policy so Svelte hydration can assign to innerHTML under CSP require-trusted-types-for 'script'.
|
||||
if (typeof window.trustedTypes !== 'undefined' && window.trustedTypes.createPolicy) {
|
||||
try {
|
||||
window.trustedTypes.createPolicy('default', { createHTML: function (input) { return input; } });
|
||||
} catch { /* policy already exists */ }
|
||||
}
|
||||
|
||||
var t = localStorage.getItem('mifi-theme');
|
||||
if (t === 'light' || t === 'dark') document.documentElement.setAttribute('data-theme', t);
|
||||
else document.documentElement.removeAttribute('data-theme');
|
||||
})();
|
||||
@@ -1,5 +0,0 @@
|
||||
(function () {
|
||||
var t = localStorage.getItem('mifi-theme');
|
||||
if (t === 'light' || t === 'dark') document.documentElement.setAttribute('data-theme', t);
|
||||
else document.documentElement.removeAttribute('data-theme');
|
||||
})();
|
||||
@@ -50,7 +50,7 @@
|
||||
--color-border: hsl(220 14% 20%);
|
||||
--color-border-subtle: hsl(220 12% 16%);
|
||||
--color-primary: hsl(220 55% 62%);
|
||||
--color-primary-muted: hsl(220 45% 55%);
|
||||
--color-primary-muted: hsl(220 45% 62%);
|
||||
--color-secondary: hsl(330 50% 65%);
|
||||
--color-secondary-muted: hsl(330 42% 58%);
|
||||
--color-accent: hsl(220 55% 62%);
|
||||
@@ -93,7 +93,7 @@
|
||||
--color-border: hsl(220 14% 20%);
|
||||
--color-border-subtle: hsl(220 12% 16%);
|
||||
--color-primary: hsl(220 55% 62%);
|
||||
--color-primary-muted: hsl(220 45% 55%);
|
||||
--color-primary-muted: hsl(220 45% 62%);
|
||||
--color-secondary: hsl(330 50% 65%);
|
||||
--color-secondary-muted: hsl(330 42% 58%);
|
||||
--color-accent: hsl(220 55% 62%);
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
--color-border: hsl(260 15% 22%);
|
||||
--color-border-subtle: hsl(260 12% 18%);
|
||||
--color-primary: hsl(262 70% 65%);
|
||||
--color-primary-muted: hsl(262 50% 58%);
|
||||
--color-primary-muted: hsl(262 50% 65%);
|
||||
--color-secondary: hsl(220 25% 68%);
|
||||
--color-secondary-muted: hsl(220 20% 58%);
|
||||
--color-accent: hsl(262 70% 65%);
|
||||
@@ -85,7 +85,7 @@
|
||||
--color-border: hsl(260 15% 22%);
|
||||
--color-border-subtle: hsl(260 12% 18%);
|
||||
--color-primary: hsl(262 70% 65%);
|
||||
--color-primary-muted: hsl(262 50% 58%);
|
||||
--color-primary-muted: hsl(262 50% 65%);
|
||||
--color-secondary: hsl(220 25% 68%);
|
||||
--color-secondary-muted: hsl(220 20% 58%);
|
||||
--color-accent: hsl(262 70% 65%);
|
||||
|
||||
4
static/robots-bio.txt
Normal file
4
static/robots-bio.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://mifi.bio/sitemap.xml
|
||||
4
static/robots-dev.txt
Normal file
4
static/robots-dev.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://mifi.dev/sitemap.xml
|
||||
9
static/sitemap-bio.xml
Normal file
9
static/sitemap-bio.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://mifi.bio/</loc>
|
||||
<lastmod>2026-02-06</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
9
static/sitemap-dev.xml
Normal file
9
static/sitemap-dev.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://mifi.dev/</loc>
|
||||
<lastmod>2026-02-06</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user