Skip to content

Commit 25e195a

Browse files
committed
💯
0 parents  commit 25e195a

31 files changed

Lines changed: 2971 additions & 0 deletions

.github/workflows/deploy.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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: true
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+
- uses: actions/upload-pages-artifact@v3
29+
with:
30+
path: dist
31+
32+
deploy:
33+
needs: build
34+
runs-on: ubuntu-latest
35+
environment:
36+
name: github-pages
37+
url: ${{ steps.deployment.outputs.page_url }}
38+
steps:
39+
- id: deployment
40+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
dist/
3+
.astro/
4+
.DS_Store
5+
*.log

.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Commit 451
2+
3+
Modern rebuild of [commit451.com](https://commit451.com) — the website for Commit 451 LLC.
4+
5+
## Stack
6+
7+
- [Astro](https://astro.build) — Static site generator
8+
- [React](https://react.dev) — UI components
9+
- [Tailwind CSS v4](https://tailwindcss.com) — Utility-first CSS
10+
- [TypeScript](https://www.typescriptlang.org) — Type safety
11+
12+
## Development
13+
14+
```bash
15+
npm install
16+
npm run dev
17+
```
18+
19+
## Build
20+
21+
```bash
22+
npm run build
23+
npm run preview
24+
```
25+
26+
## Deploy
27+
28+
Deploys automatically to GitHub Pages on push to `main` via the included Actions workflow.
29+
30+
Custom domain: `commit451.com` (configured via `CNAME`).

index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/png" href="/favicon.png" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<meta name="description" content="451 times more committed to creating apps with clean code and modern design for a true experience inspired by user instinct." />
8+
<title>Commit 451</title>
9+
</head>
10+
<body class="min-h-screen bg-gray-950 text-gray-100 font-sans antialiased">
11+
<div id="root"></div>
12+
<script type="module" src="/src/main.tsx"></script>
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)