From b2d7cc7231f3051cdcac32e8fbe0935a6b0a60ec Mon Sep 17 00:00:00 2001 From: Angel Wang Date: Sun, 2 Aug 2026 11:42:26 -0600 Subject: [PATCH] feat: reset for redesign --- .github/workflows/deploy.yml | 41 ------------ src/components/entry.astro | 10 --- src/components/footer.astro | 17 ----- src/components/header.astro | 17 ----- src/layouts/layout.astro | 16 ----- src/layouts/meta.astro | 4 +- src/layouts/post.astro | 40 ++++++++++++ src/pages/404.astro | 19 ------ src/pages/about.astro | 42 ------------ src/pages/index.astro | 22 ++----- src/pages/journal/index.astro | 13 ++++ src/pages/projects.astro | 36 ----------- src/scripts/LocalTime.tsx | 25 -------- src/scripts/NowPlaying.tsx | 116 ---------------------------------- src/styles/404.scss | 58 ----------------- src/styles/_font.scss | 8 +++ src/styles/_var.scss | 103 +++++++++++++++--------------- src/styles/about.scss | 74 ---------------------- src/styles/footer.scss | 44 ------------- src/styles/header.scss | 54 ---------------- src/styles/index.scss | 94 ++------------------------- src/styles/journal.scss | 11 ++++ src/styles/post.scss | 92 +++++++++++++++++++++++++++ src/styles/projects.scss | 50 --------------- 24 files changed, 229 insertions(+), 777 deletions(-) delete mode 100644 .github/workflows/deploy.yml delete mode 100644 src/components/entry.astro delete mode 100644 src/components/footer.astro delete mode 100644 src/components/header.astro delete mode 100644 src/layouts/layout.astro create mode 100644 src/layouts/post.astro delete mode 100644 src/pages/404.astro delete mode 100644 src/pages/about.astro create mode 100644 src/pages/journal/index.astro delete mode 100644 src/pages/projects.astro delete mode 100644 src/scripts/LocalTime.tsx delete mode 100644 src/scripts/NowPlaying.tsx delete mode 100644 src/styles/404.scss delete mode 100644 src/styles/about.scss delete mode 100644 src/styles/footer.scss delete mode 100644 src/styles/header.scss create mode 100644 src/styles/journal.scss create mode 100644 src/styles/post.scss delete mode 100644 src/styles/projects.scss diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 1a1bb8a..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: deploy - -on: - # Trigger the workflow every time you push to the `main` branch - # Using a different branch name? Replace `main` with your branch’s name - push: - branches: [ main ] - # Allows you to run this workflow manually from the Actions tab on GitHub. - workflow_dispatch: - -# Allow this job to clone the repo and create a page deployment -permissions: - contents: read - pages: write - id-token: write - -jobs: - build: - runs-on: ubuntu-latest - env: - LASTFM_KEY: ${{ secrets.LASTFM_KEY }} - steps: - - name: checkout - uses: actions/checkout@v6 - - name: build astro - uses: withastro/action@v6 - # with: - # path: . # The root location of your Astro project inside the repository. (optional) - # node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional) - # package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) - - deploy: - needs: build - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - name: deploy - id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/src/components/entry.astro b/src/components/entry.astro deleted file mode 100644 index 5858686..0000000 --- a/src/components/entry.astro +++ /dev/null @@ -1,10 +0,0 @@ ---- -const { title, description, href } = Astro.props ---- - -
- -

{title}

-
-

{description}

-
\ No newline at end of file diff --git a/src/components/footer.astro b/src/components/footer.astro deleted file mode 100644 index 1412da0..0000000 --- a/src/components/footer.astro +++ /dev/null @@ -1,17 +0,0 @@ ---- -import "../styles/footer.scss" -import {SparkleFillIcon} from '@primer/octicons-react' -import {Temporal} from 'temporal-polyfill' - ---- - - diff --git a/src/components/header.astro b/src/components/header.astro deleted file mode 100644 index 344ebd9..0000000 --- a/src/components/header.astro +++ /dev/null @@ -1,17 +0,0 @@ ---- -import "../styles/header.scss" -import {SparkleFillIcon} from '@primer/octicons-react' -const { title } = Astro.props ---- -
-
-

{title}

-
- -
diff --git a/src/layouts/layout.astro b/src/layouts/layout.astro deleted file mode 100644 index 452cd48..0000000 --- a/src/layouts/layout.astro +++ /dev/null @@ -1,16 +0,0 @@ ---- -import Meta from '../layouts/meta.astro' -import Header from '../components/header.astro' -import Footer from "../components/footer.astro" -const { title } = Astro.props ---- - - - -
-
- -
-