From d667eae71ee241b0de54e1d81faaa3f717a4cdb3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 16 Sep 2026 04:53:15 +0000 Subject: [PATCH 1/2] Move site files to repository root Co-authored-by: VloStudios <198949883+VloStudios@users.noreply.github.com> --- static/404.html => 404.html | 0 static/CNAME => CNAME | 0 {static/css => css}/style.css | 0 index.html | 63 ++++++++++++++++++++++++++++++--- {static/js => js}/main.js | 0 static/.nojekyll | 0 static/index.html | 65 ----------------------------------- 7 files changed, 58 insertions(+), 70 deletions(-) rename static/404.html => 404.html (100%) rename static/CNAME => CNAME (100%) rename {static/css => css}/style.css (100%) rename {static/js => js}/main.js (100%) delete mode 100644 static/.nojekyll delete mode 100644 static/index.html diff --git a/static/404.html b/404.html similarity index 100% rename from static/404.html rename to 404.html diff --git a/static/CNAME b/CNAME similarity index 100% rename from static/CNAME rename to CNAME diff --git a/static/css/style.css b/css/style.css similarity index 100% rename from static/css/style.css rename to css/style.css diff --git a/index.html b/index.html index 5caf71c..5dd8ef1 100644 --- a/index.html +++ b/index.html @@ -1,12 +1,65 @@ - - - Vlo Studios - + + + VloStudios — Sakura Iced Tea + + + + + -

Redirecting to static/index.html…

+ + +
+

🌸 Sakura x Iced Tea

+

VloStudios

+

Refreshing projects, calm vibes, and a tiny rainstorm of iced tea.

+ +
+ +
+
+

Mini CV

+

Loading profile from GitHub…

+
+
Username
-
+
Location
-
+
Followers
-
+
Public Repos
-
+
Top Languages
-
+
Profile Updated
-
+
+
+ +
+

Sakura Tea Notes

+ +
+ +
+

Recent GitHub Projects

+
+

Loading repositories…

+
+
+
+ + + + diff --git a/static/js/main.js b/js/main.js similarity index 100% rename from static/js/main.js rename to js/main.js diff --git a/static/.nojekyll b/static/.nojekyll deleted file mode 100644 index e69de29..0000000 diff --git a/static/index.html b/static/index.html deleted file mode 100644 index 5dd8ef1..0000000 --- a/static/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - VloStudios — Sakura Iced Tea - - - - - - - - - -
-

🌸 Sakura x Iced Tea

-

VloStudios

-

Refreshing projects, calm vibes, and a tiny rainstorm of iced tea.

- -
- -
-
-

Mini CV

-

Loading profile from GitHub…

-
-
Username
-
-
Location
-
-
Followers
-
-
Public Repos
-
-
Top Languages
-
-
Profile Updated
-
-
-
- -
-

Sakura Tea Notes

- -
- -
-

Recent GitHub Projects

-
-

Loading repositories…

-
-
-
- - - - - - From a1134477c7c36ffd1ea6d9fdbca6e4afdc07c639 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 16 Sep 2026 04:53:33 +0000 Subject: [PATCH 2/2] Update app and deployment for root publish Co-authored-by: VloStudios <198949883+VloStudios@users.noreply.github.com> --- .github/workflows/deploy.yml | 2 +- README.md | 10 +++++----- app.py | 8 ++------ 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6986d17..94d144d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,4 +17,4 @@ jobs: - uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./static \ No newline at end of file + publish_dir: . \ No newline at end of file diff --git a/README.md b/README.md index d720aa3..d22e884 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ This repository now contains a full static-first remake of the site with a brand ## Project layout -- `/static/index.html` — primary GitHub Pages entrypoint -- `/static/css/style.css` — complete redesign styles -- `/static/js/main.js` — animation + GitHub data loading + CV/repo rendering -- `/static/404.html` — custom Sakura iced-tea 404 page +- `/index.html` — primary site entrypoint +- `/css/style.css` — complete redesign styles +- `/js/main.js` — animation + GitHub data loading + CV/repo rendering +- `/404.html` — custom Sakura iced-tea 404 page - `/app.py` — optional local Flask serving ## Run locally @@ -26,4 +26,4 @@ Then open `http://localhost:5001`. ## GitHub Pages compatibility -GitHub Pages deploys from `/static` in this repo's workflow, so all published assets (including `404.html`, `CNAME`, and `.nojekyll`) are kept in `/static`. +GitHub Pages deploys from the repository root in this repo's workflow, so published assets (including `404.html`, `CNAME`, and `.nojekyll`) are kept at the root. diff --git a/app.py b/app.py index 8fc0240..6db891a 100644 --- a/app.py +++ b/app.py @@ -1,18 +1,14 @@ from flask import Flask, send_from_directory, jsonify import requests -import os -app = Flask(__name__) +app = Flask(__name__, static_folder='.', static_url_path='') GITHUB_USERNAME = "VloStudios" GITHUB_API_URL = f"https://api.github.com/users/{GITHUB_USERNAME}/repos" @app.route('/') def index(): - root_index = os.path.join(app.root_path, 'index.html') - if os.path.exists(root_index): - return send_from_directory(app.root_path, 'index.html') - return send_from_directory(app.static_folder, 'index.html') + return send_from_directory(app.root_path, 'index.html') @app.route('/api/repos') def api_repos():