Skip to content

Commit 439925c

Browse files
committed
Rewrite!
1 parent 77b420b commit 439925c

33 files changed

+1649
-3792
lines changed

.eslintrc.json

-3
This file was deleted.

.github/workflows/export.yml

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches: [ "main" ]
5+
paths:
6+
- "src/**/*"
7+
- "*.{js,json,ts}"
8+
- ".github/workflows/export.yml"
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: build-and-deploy
18+
cancel-in-progress: true
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v4
26+
27+
- name: Setup Node.js
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: '22.14'
31+
32+
- name: Setup Bun
33+
uses: oven-sh/setup-bun@v2
34+
with:
35+
bun-version: "1.2.5"
36+
37+
- name: Cache dependencies
38+
uses: actions/cache@v4
39+
with:
40+
path: ~/.bun/install/cache
41+
key: "${{ runner.os }}-bun-${{ hashFiles('**/bun.lock', '**/package.json') }}"
42+
restore-keys: |
43+
${{ runner.os }}-bun-
44+
45+
- name: Install dependencies
46+
run: bun install --frozen-lockfile
47+
48+
- name: Build project
49+
run: bun run build
50+
51+
- name: Setup Pages
52+
uses: actions/configure-pages@v5
53+
54+
- name: Upload artifact
55+
uses: actions/upload-pages-artifact@v3
56+
with:
57+
path: ./out
58+
59+
deploy:
60+
needs: build
61+
runs-on: ubuntu-latest
62+
environment:
63+
name: github-pages
64+
url: ${{ steps.deployment.outputs.page_url }}
65+
steps:
66+
- name: Deploy to GitHub Pages
67+
id: deployment
68+
uses: actions/deploy-pages@v4

.vscode/extensions.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"yoavbls.pretty-ts-errors",
4+
"bradlc.vscode-tailwindcss"
5+
]
6+
}

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.associations": {
3+
"*.css": "tailwindcss"
4+
}
5+
}

bun.lock

+456
Large diffs are not rendered by default.

next.config.ts

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
4-
/* config options here */
4+
output: "export",
5+
experimental: {
6+
reactCompiler: true,
7+
optimizeCss: true,
8+
optimizeServerReact: true,
9+
webpackMemoryOptimizations: true,
10+
optimizePackageImports: ["three"]
11+
},
12+
images: {
13+
unoptimized: true,
14+
remotePatterns: [
15+
{
16+
hostname: "github.com",
17+
pathname: "/kvba5.png",
18+
search: "?size=300"
19+
}
20+
]
21+
}
522
};
623

724
export default nextConfig;

package.json

+19-14
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,28 @@
66
"dev": "next dev --turbopack",
77
"build": "next build",
88
"start": "next start",
9-
"lint": "next lint"
9+
"lint": "next lint",
10+
"serve": "serve out"
1011
},
1112
"dependencies": {
12-
"figlet": "^1.8.0",
13-
"next": "15.0.3",
14-
"react": "18.3.1",
15-
"react-dom": "18.3.1"
13+
"lucide-react": "^0.487.0",
14+
"next": "15.2.4",
15+
"react": "19.1.0",
16+
"react-dom": "19.1.0",
17+
"three": "^0.175.0"
1618
},
1719
"devDependencies": {
18-
"@types/figlet": "^1.7.0",
19-
"@types/node": "^22.8.4",
20-
"@types/react": "^18.3.12",
21-
"@types/react-dom": "^18.3.1",
22-
"eslint": "^9.13.0",
23-
"eslint-config-next": "15.0.2",
24-
"postcss": "^8.4.47",
25-
"tailwindcss": "^3.4.14",
26-
"typescript": "^5.6.3"
20+
"@tailwindcss/postcss": "^4.1.3",
21+
"@types/node": "^22.14.0",
22+
"@types/react": "^19.1.0",
23+
"@types/react-dom": "^19.1.1",
24+
"@types/three": "^0.175.0",
25+
"autoprefixer": "^10.4.21",
26+
"babel-plugin-react-compiler": "^19.0.0-beta-e993439-20250328",
27+
"critters": "^0.0.25",
28+
"postcss": "^8.5.3",
29+
"serve": "^14.2.4",
30+
"tailwindcss": "^4.1.3",
31+
"typescript": "^5.8.3"
2732
}
2833
}

0 commit comments

Comments
 (0)