Skip to content

Commit ecad27d

Browse files
committed
ci: deploy
1 parent 33e58f5 commit ecad27d

4 files changed

Lines changed: 74 additions & 0 deletions

File tree

.github/workflows/deploy.yml

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

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Seat Maps
2+
3+
A Figma-like editor for designing venue seat maps. Pan, zoom, and place elements on an infinite canvas — think Figma but purpose-built for seats, rows, stages, and aisles.
4+
5+
**[Live Demo](https://botonddombi.github.io/seat-maps-threejs/)**
6+
7+
![Screenshot](public/screenshot.png)
8+
9+
## Features
10+
11+
- Infinite canvas with pan, zoom, and grid snapping
12+
- Rulers and live coordinate display
13+
- Multiple room shapes — rectangle, circle, L-shape, polygon
14+
- TBA
15+
16+
## Tech Stack
17+
18+
React 19, Three.js, TypeScript, Vite, Tailwind CSS v4, Radix UI
19+
20+
## Getting Started
21+
22+
```bash
23+
git clone https://github.com/botonddombi/seat-maps-threejs.git
24+
cd seat-maps-threejs
25+
npm install
26+
npm run dev
27+
```
28+
29+
## License
30+
31+
MIT

public/screenshot.png

648 KB
Loading

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react'
44
import tailwindcss from '@tailwindcss/vite'
55

66
export default defineConfig({
7+
base: process.env.BASE_URL ?? '/',
78
plugins: [react(), tailwindcss()],
89
resolve: {
910
alias: {

0 commit comments

Comments
 (0)