Skip to content

Commit

Permalink
feat(public): add manifest.json and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Jan 15, 2024
1 parent 32510e4 commit 65fb929
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
14 changes: 13 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/images/kaboom.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web game created using kaboom-template" />

<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="/manifest.json" />

<!--
GitHub Corners. See https://github.com/remarkablemark/github-corners
-->
Expand All @@ -23,7 +35,7 @@
</style>
<% } %>

<title>kaboom-template | remarkablegames</title>
<title>Kaboom Template | remarkablegames</title>
</head>
<body>
<script type="module" src="src/index.ts"></script>
Expand Down
Binary file added public/images/kaboom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "Kaboom Template",
"name": "Kaboom Template",
"icons": [
{
"src": "images/kaboom.png",
"type": "image/png",
"sizes": "72x72"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

0 comments on commit 65fb929

Please sign in to comment.