Skip to content

Commit

Permalink
Merge pull request #779 from vorth/59-icosahedra
Browse files Browse the repository at this point in the history
WIP 59 Icosahedra app
  • Loading branch information
vorth authored Nov 1, 2023
2 parents a251eca + a352dae commit b1030cf
Show file tree
Hide file tree
Showing 11 changed files with 3,927 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
"/": "${workspaceFolder}/online/src"
}
},
{
"name": "59icosahedra",

"type": "chrome",
"request": "launch",
"url": "http://localhost:8532/59icosahedra",
"pathMapping": {
"/": "${workspaceFolder}/online/src"
}
},
{
"name": "browser",

Expand Down
30 changes: 30 additions & 0 deletions online/public/59icosahedra/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="../../favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="The 59 stellations of the icosahedron"
/>
<title>The 59 Icosahedra</title>
<link rel="stylesheet" href="../../App.css">
<link rel="manifest" href="./manifest.json">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/modules/59icosahedra.js"></script>
<script>
// Check that service workers are supported
if ('serviceWorker' in navigator) {
// Use the window load event to keep the page load performant
window.addEventListener('load', () => {
navigator.serviceWorker.register( '../service-worker.js' );
});
}
</script>
</body>
</html>
Loading

0 comments on commit b1030cf

Please sign in to comment.