Skip to content

Commit

Permalink
some more wip
Browse files Browse the repository at this point in the history
  • Loading branch information
onx2 committed Jan 16, 2024
1 parent bd0ef03 commit 36ecb02
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 9 deletions.
36 changes: 27 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.webp" />

<link rel="icon" type=”image/svg+xml” href="/favicon.webp">
<link rel="alternate icon" type="image/png" href="/favicon.webp">
<link rel="apple-touch-icon" href="/favicon.webp">

<link rel="manifest" href="/site.webmanifest">

<meta name="theme-color" content="#000000">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="An indie game studio developing Endless Dawn"
/>

<title>Big Woof Studios</title>

<link rel="preconnect" href="https://fonts.googleapis.com" />
Expand All @@ -25,16 +37,22 @@
// When the single page app is loaded further down in this file,
// the correct url will be waiting in the browser's history for
// the single page app to route accordingly.
(function(l) {
if (l.search[1] === '/' ) {
var decoded = l.search.slice(1).split('&').map(function(s) {
return s.replace(/~and~/g, '&')
}).join('?');
window.history.replaceState(null, null,
l.pathname.slice(0, -1) + decoded + l.hash
(function (l) {
if (l.search[1] === "/") {
var decoded = l.search
.slice(1)
.split("&")
.map(function (s) {
return s.replace(/~and~/g, "&");
})
.join("?");
window.history.replaceState(
null,
null,
l.pathname.slice(0, -1) + decoded + l.hash,
);
}
}(window.location))
})(window.location);
</script>
</head>
<body>
Expand Down
13 changes: 13 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Big Woof Studios",
"icons": [
{
"src": "/favicon.webp",
"sizes": "64x64",
"type": "image/webp"
}
],
"theme_color": "#000000",
"background_color": "#010409",
"display": "browser"
}

0 comments on commit 36ecb02

Please sign in to comment.