Skip to content

Commit 953298c

Browse files
committed
Refactor: Cleanup legacy files and extract data
1 parent adc2b51 commit 953298c

File tree

5 files changed

+115
-653
lines changed

5 files changed

+115
-653
lines changed

README.md

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1-
# unchunks official page
1+
# Indie Dev Zero Portfolio
22

3-
https://unchunks.github.io/
3+
This is a portfolio website built with React, Vite, and Tailwind CSS.
4+
5+
## Getting Started
6+
7+
### Prerequisites
8+
- Node.js (v18 or later recommended)
9+
10+
### Installation
11+
1. Clone the repository:
12+
```bash
13+
git clone https://github.com/unchunks/unchunks.github.io.git
14+
cd unchunks.github.io
15+
```
16+
2. Install dependencies:
17+
```bash
18+
npm install
19+
```
20+
21+
### Development
22+
Start the local development server:
23+
```bash
24+
npm run dev
25+
```
26+
Open [http://localhost:5173](http://localhost:5173) in your browser.
27+
28+
### Building
29+
Build the project for production:
30+
```bash
31+
npm run build
32+
```
33+
The output will be in the `dist` directory.
34+
35+
## Customization
36+
37+
You can easily update the site content by editing `src/data.js`.
38+
- **Profile**: Name, role, bio, social links.
39+
- **Projects**: Add or remove projects.
40+
- **Posts**: Add new blog posts.
41+
42+
## Deployment
43+
44+
This project is configured to automatically deploy to GitHub Pages using GitHub Actions.
45+
Any push to the `main` branch will trigger a deployment.
46+
47+
Ensure your repository settings are configured to serve from the `gh-pages` branch (or whichever branch the action deploys to, usually `gh-pages` created by the action).

script.js

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

src/App.jsx

Lines changed: 1 addition & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,7 @@
11
import React, { useState, useEffect } from 'react';
22
import { Gamepad2, Code, Terminal, ExternalLink, Github, Twitter, ChevronRight, Calendar, Tag, Menu, X } from 'lucide-react';
33

4-
/**
5-
* ==============================================
6-
* 設定エリア (SITE_DATA)
7-
* ここを編集するだけでサイトの内容が更新されます
8-
* ==============================================
9-
*/
10-
const SITE_DATA = {
11-
profile: {
12-
name: "Indie Dev Zero",
13-
role: "Game Developer / Technical Artist",
14-
bio: "「コードで世界を描く」をモットーに、UnityとUnreal Engineでアクションゲームを中心に開発しています。シェーダー魔法使いを目指して修行中。",
15-
social: {
16-
github: "https://github.com",
17-
twitter: "https://twitter.com",
18-
}
19-
},
20-
// プロジェクト(ゲーム)リスト
21-
projects: [
22-
{
23-
id: 1,
24-
title: "Neon Dash",
25-
description: "サイバーパンクな世界を駆け抜ける高速パルクールアクション。自作のカスタム物理エンジンを使用。",
26-
tags: ["Unity", "C#", "Action"],
27-
imageColor: "from-purple-500 to-pink-500", // グラデーションカラー
28-
link: "#"
29-
},
30-
{
31-
id: 2,
32-
title: "Forest of Pixels",
33-
description: "失われたピクセルを探す2D探索型RPG。ドット絵はすべて手打ちで制作しました。",
34-
tags: ["Godot", "Pixel Art", "RPG"],
35-
imageColor: "from-emerald-500 to-teal-500",
36-
link: "#"
37-
},
38-
{
39-
id: 3,
40-
title: "Shader Lab",
41-
description: "ゲーム開発で使える汎用シェーダー集。水、炎、ホログラムなどの表現をオープンソースで公開。",
42-
tags: ["HLSL", "Shader Graph", "Tech Art"],
43-
imageColor: "from-blue-500 to-cyan-500",
44-
link: "#"
45-
}
46-
],
47-
// 記事(DevLog)リスト - 新しい記事はここに追加するだけ
48-
posts: [
49-
{
50-
id: 101,
51-
title: "カスタム物理エンジンの苦難と解決策",
52-
date: "2023-10-24",
53-
category: "Engineering",
54-
content: "UnityのPhysXを使わずに独自の物理挙動を実装しようとした際の壁抜け問題について。レイキャストの長さを動的に調整することで解決しました..."
55-
},
56-
{
57-
id: 102,
58-
title: "ピクセルアートにおける色選びのコツ",
59-
date: "2023-11-05",
60-
category: "Art",
61-
content: "色が多すぎると画面が濁って見えます。パレットを4色に制限することで、逆に表現力が上がった事例を紹介します。彩度を統一することが重要です..."
62-
},
63-
{
64-
id: 103,
65-
title: "次回作のプロトタイプ進捗 #01",
66-
date: "2023-11-15",
67-
category: "DevLog",
68-
content: "ローグライク×リズムゲームの融合を目指してプロトタイプを作成中。BPMに合わせて敵が動くロジックまでは完成。次はエフェクトの実装に入ります..."
69-
}
70-
]
71-
};
4+
import { SITE_DATA } from './data';
725

736
/**
747
* ==============================================

src/data.js

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
/**
2+
* ==============================================
3+
* 設定エリア (SITE_DATA)
4+
* ここを編集するだけでサイトの内容が更新されます
5+
* ==============================================
6+
*/
7+
export const SITE_DATA = {
8+
profile: {
9+
name: "Indie Dev Zero",
10+
role: "Game Developer / Technical Artist",
11+
bio: "「コードで世界を描く」をモットーに、UnityとUnreal Engineでアクションゲームを中心に開発しています。シェーダー魔法使いを目指して修行中。",
12+
social: {
13+
github: "https://github.com",
14+
twitter: "https://twitter.com",
15+
}
16+
},
17+
// プロジェクト(ゲーム)リスト
18+
projects: [
19+
{
20+
id: 1,
21+
title: "Neon Dash",
22+
description: "サイバーパンクな世界を駆け抜ける高速パルクールアクション。自作のカスタム物理エンジンを使用。",
23+
tags: ["Unity", "C#", "Action"],
24+
imageColor: "from-purple-500 to-pink-500", // グラデーションカラー
25+
link: "#"
26+
},
27+
{
28+
id: 2,
29+
title: "Forest of Pixels",
30+
description: "失われたピクセルを探す2D探索型RPG。ドット絵はすべて手打ちで制作しました。",
31+
tags: ["Godot", "Pixel Art", "RPG"],
32+
imageColor: "from-emerald-500 to-teal-500",
33+
link: "#"
34+
},
35+
{
36+
id: 3,
37+
title: "Shader Lab",
38+
description: "ゲーム開発で使える汎用シェーダー集。水、炎、ホログラムなどの表現をオープンソースで公開。",
39+
tags: ["HLSL", "Shader Graph", "Tech Art"],
40+
imageColor: "from-blue-500 to-cyan-500",
41+
link: "#"
42+
}
43+
],
44+
// 記事(DevLog)リスト - 新しい記事はここに追加するだけ
45+
posts: [
46+
{
47+
id: 101,
48+
title: "カスタム物理エンジンの苦難と解決策",
49+
date: "2023-10-24",
50+
category: "Engineering",
51+
content: "UnityのPhysXを使わずに独自の物理挙動を実装しようとした際の壁抜け問題について。レイキャストの長さを動的に調整することで解決しました..."
52+
},
53+
{
54+
id: 102,
55+
title: "ピクセルアートにおける色選びのコツ",
56+
date: "2023-11-05",
57+
category: "Art",
58+
content: "色が多すぎると画面が濁って見えます。パレットを4色に制限することで、逆に表現力が上がった事例を紹介します。彩度を統一することが重要です..."
59+
},
60+
{
61+
id: 103,
62+
title: "次回作のプロトタイプ進捗 #01",
63+
date: "2023-11-15",
64+
category: "DevLog",
65+
content: "ローグライク×リズムゲームの融合を目指してプロトタイプを作成中。BPMに合わせて敵が動くロジックまでは完成。次はエフェクトの実装に入ります..."
66+
}
67+
]
68+
};

0 commit comments

Comments
 (0)