Skip to content

Commit 6bb1aeb

Browse files
feat: test sample page
1 parent 21070e0 commit 6bb1aeb

38 files changed

Lines changed: 5248 additions & 12411 deletions

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: '20'
28+
cache: 'npm'
29+
30+
- name: Install dependencies
31+
run: npm ci
32+
33+
- name: Build
34+
run: npm run build
35+
36+
- name: Setup Pages
37+
uses: actions/configure-pages@v4
38+
39+
- name: Upload artifact
40+
uses: actions/upload-pages-artifact@v3
41+
with:
42+
path: './dist'
43+
44+
deploy:
45+
environment:
46+
name: github-pages
47+
url: ${{ steps.deployment.outputs.page_url }}
48+
runs-on: ubuntu-latest
49+
needs: build
50+
steps:
51+
- name: Deploy to GitHub Pages
52+
id: deployment
53+
uses: actions/deploy-pages@v4
54+

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
26+
.cursor

README.md

Lines changed: 73 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,73 @@
1-
# Random Utility Page
2-
Reader: Manga CDN reader
1+
# Frostpixel Portfolio
2+
3+
Personal portfolio website built with React, TypeScript, and Tailwind CSS. Deployed on GitHub Pages.
4+
5+
## Tech Stack
6+
7+
- React 18
8+
- TypeScript
9+
- Tailwind CSS
10+
- Vite
11+
- React Router v6
12+
13+
## Development
14+
15+
```bash
16+
# Install dependencies
17+
npm install
18+
19+
# Start development server
20+
npm run dev
21+
22+
# Build for production
23+
npm run build
24+
25+
# Preview production build
26+
npm run preview
27+
```
28+
29+
## Deployment
30+
31+
This site is automatically deployed to GitHub Pages via GitHub Actions when pushing to the `main` branch.
32+
33+
### Setup GitHub Pages
34+
35+
1. Go to repository Settings > Pages
36+
2. Under "Build and deployment", select "GitHub Actions"
37+
3. Push to `main` branch to trigger deployment
38+
39+
## Project Structure
40+
41+
```
42+
src/
43+
components/
44+
layout/ # Layout, Navbar
45+
ui/ # Reusable UI components
46+
data/ # Static data (projects, experience)
47+
pages/ # Page components
48+
index.css # Global styles + Tailwind
49+
App.tsx # Router setup
50+
main.tsx # Entry point
51+
```
52+
53+
## Customization
54+
55+
### Update Personal Info
56+
57+
1. **Hero text**: Edit `src/pages/HomePage.tsx`
58+
2. **About**: Edit `src/pages/AboutPage.tsx`
59+
3. **Projects**: Edit `src/data/projects.ts`
60+
4. **Experience**: Edit `src/data/experience.ts`
61+
5. **Social links**: Edit `src/data/social.ts`
62+
6. **Contact info**: Edit `src/pages/ContactPage.tsx`
63+
64+
### Add Images
65+
66+
- Hero background: `public/images/hero-bg.jpg`
67+
- Profile photo: `public/images/profile.jpg`
68+
- Project images: `public/images/projects/`
69+
- Resume: `public/resume.pdf`
70+
71+
## License
72+
73+
MIT

common/navbar.html

Lines changed: 0 additions & 21 deletions
This file was deleted.

crown.ico

-34.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)