Skip to content

Commit 2b24be5

Browse files
committed
Resolve modify/delete conflict: finalizing deletion of builder.conf
2 parents 2c0fe63 + ff63890 commit 2b24be5

File tree

330 files changed

+4557
-23717
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

330 files changed

+4557
-23717
lines changed

.github/workflows/actions.yml

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

.github/workflows/deploy.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- deployment # Change to 'home-page-redesign' if deploying from that branch
7+
workflow_dispatch: # Allows manual triggering
8+
9+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
# Allow only one concurrent deployment
16+
concurrency:
17+
group: "pages"
18+
cancel-in-progress: false
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Setup Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: '20'
32+
cache: 'npm'
33+
34+
- name: Install dependencies
35+
run: npm ci
36+
37+
- name: Build
38+
run: npm run build
39+
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v3
42+
with:
43+
path: './dist'
44+
45+
deploy:
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
runs-on: ubuntu-latest
50+
needs: build
51+
52+
steps:
53+
- name: Deploy to GitHub Pages
54+
id: deployment
55+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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?

App.tsx

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
import React from 'react';
2+
import { HashRouter, Routes, Route, useLocation } from 'react-router-dom';
3+
import HomePage from './components/HomePage';
4+
import ThemeGallery from './components/ThemeGallery';
5+
import ThemeDetailView from './components/ThemeDetailView';
6+
import PaletteView from './components/PaletteView';
7+
import AIAssistant from './components/AIAssistant';
8+
9+
const AppContent: React.FC = () => {
10+
const location = useLocation();
11+
const isHomePage = location.pathname === '/';
12+
13+
return (
14+
<div className={`w-screen h-screen flex flex-col relative ${isHomePage ? 'bg-white' : 'bg-black'}`}>
15+
<main className={`flex-grow w-full ${isHomePage ? 'overflow-hidden' : 'overflow-y-auto overflow-x-hidden'}`}>
16+
<Routes>
17+
<Route path="/" element={<HomePage />} />
18+
<Route path="/projects" element={
19+
<div className="w-full px-4 md:px-8 py-8">
20+
<ThemeGallery />
21+
</div>
22+
} />
23+
<Route path="/theme/:software" element={
24+
<div className="w-full px-4 md:px-8 py-8">
25+
<ThemeDetailView />
26+
</div>
27+
} />
28+
<Route path="/palette" element={
29+
<div className="w-full px-4 md:px-8 py-8">
30+
<PaletteView />
31+
</div>
32+
} />
33+
</Routes>
34+
</main>
35+
36+
{isHomePage ? null : (
37+
<footer className="mt-auto py-8 bg-black border-t-4 border-purple-600 w-full">
38+
<div className="container mx-auto px-4 text-center">
39+
<p className="manga-font text-xl text-purple-400">
40+
BLOSSOMTHEME &copy; 2026
41+
</p>
42+
<div className="flex justify-center space-x-4 mt-4">
43+
<a href="https://github.com/BlossomTheme" className="hover:text-pink-500 transition-colors font-bold uppercase tracking-widest text-xs">GITHUB</a>
44+
<a href="https://github.com/BlossomTheme/BlossomTheme" className="hover:text-pink-500 transition-colors font-bold uppercase tracking-widest text-xs">DOCS</a>
45+
</div>
46+
</div>
47+
</footer>
48+
)}
49+
</div>
50+
);
51+
};
52+
53+
const App: React.FC = () => (
54+
<HashRouter>
55+
<AppContent />
56+
</HashRouter>
57+
);
58+
59+
export default App;

0 commit comments

Comments
 (0)