Skip to content

Commit 3c870c5

Browse files
committed
initial
0 parents  commit 3c870c5

17 files changed

Lines changed: 1523 additions & 0 deletions

.github/workflows/deploy.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy to GitHub Pages
2+
on:
3+
push:
4+
branches: [ main ]
5+
workflow_dispatch:
6+
permissions:
7+
contents: read
8+
pages: write
9+
id-token: write
10+
concurrency:
11+
group: "pages"
12+
cancel-in-progress: true
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with: { node-version: 20 }
20+
- run: npm ci
21+
- run: npm run build
22+
- uses: actions/upload-pages-artifact@v3
23+
with: { path: ./dist }
24+
deploy:
25+
needs: build
26+
runs-on: ubuntu-latest
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
steps:
31+
- id: deployment
32+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Dependencies
2+
node_modules/
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
7+
# Build outputs
8+
dist/
9+
build/
10+
11+
# Vite
12+
.vite/
13+
14+
# TypeScript
15+
*.tsbuildinfo
16+
17+
# Environment variables
18+
.env
19+
.env.local
20+
.env.development.local
21+
.env.test.local
22+
.env.production.local
23+
24+
# Logs
25+
logs/
26+
log/
27+
28+
# Runtime data
29+
pids/
30+
*.pid
31+
*.seed
32+
*.pid.lock
33+
34+
# Coverage directory used by tools like istanbul
35+
coverage/
36+
37+
# Editor directories and files
38+
.vscode/
39+
.idea/
40+
*.swp
41+
*.swo
42+
43+
# OS generated files
44+
.DS_Store
45+
.DS_Store?
46+
._*
47+
.Spotlight-V100
48+
.Trashes
49+
ehthumbs.db
50+
Thumbs.db
51+
52+
# Temp files
53+
*.tmp
54+
*.temp

index.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<title>Winterboard</title>
7+
<style>
8+
html,
9+
body {
10+
width: 100%;
11+
height: 100%;
12+
margin: 0;
13+
overflow: hidden;
14+
}
15+
16+
canvas {
17+
width: 100%;
18+
height: 100%;
19+
touch-action: none;
20+
display: block;
21+
}
22+
</style>
23+
</head>
24+
25+
<body>
26+
<canvas id="renderCanvas"></canvas>
27+
<script type="module" src="./src/main.ts"></script>
28+
</body>
29+
30+
</html>

0 commit comments

Comments
 (0)