From 0e55f9060f3d8f014f6d7715eabbd5c4f8aaea33 Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 29 May 2025 03:25:15 -0400 Subject: [PATCH 1/8] Easter Egg Added --- src/App.svelte | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/App.svelte b/src/App.svelte index 3ce393b..798b8a7 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -9,6 +9,26 @@ let posts: Post[] = []; + let hue: number = 1; + const cycleColors = async () => { + while (true) { + hue += 1; + if (hue > 360) { + hue = 0; + } + document.documentElement.style.setProperty("--primary-h", hue.toString()); + await new Promise((resolve) => setTimeout(resolve, 10)); + } + } + let clickCounter = 0; + const carameldansenfusion = async () => { + clickCounter++; + if (clickCounter >= 10) { + clickCounter = 0; + cycleColors(); + } + }; + onMount(() => { // Fetch initial posts getNextPosts().then((initialPosts) => { @@ -39,7 +59,7 @@

Loading...

{:then accountsData}
-

ATProto PDS

+

ATProto PDS

Home to {accountsData.length} accounts

{#each accountsData as accountObject} From db7424e4738efb23a1fbbccacd6378bb44491aac Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 29 May 2025 03:35:32 -0400 Subject: [PATCH 2/8] Light edit to the express theme --- themes/express/theme.css | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/express/theme.css b/themes/express/theme.css index f442e76..cbc2336 100644 --- a/themes/express/theme.css +++ b/themes/express/theme.css @@ -234,6 +234,7 @@ a:hover { background-color: var(--header-background-color); padding: 0px; margin-bottom: 15px; + margin-right: 4px; border: 4px solid var(--border-color); box-shadow: var(--border-color) 10px 10px; } From 36d286fba85fc6165cbba6de383cbbdb94a29aad Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 29 May 2025 03:43:07 -0400 Subject: [PATCH 3/8] Mild shenanigans --- themes/default/theme.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/default/theme.css b/themes/default/theme.css index 1b1682b..e4061ec 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -2,7 +2,8 @@ :root { /* Modern color palette */ - --link-color: #4f46e5; + --primary-h: 243; + --link-color: hsl(var(--primary-h), 73%, 59%); --link-hover-color: #4338ca; --time-color: #8b5cf6; --background-color: #f8fafc; @@ -342,7 +343,7 @@ h1 { font-size: 1.8em; margin-bottom: 16px; font-weight: 700; - background: linear-gradient(to right, #3b82f6, #8b5cf6); + background: linear-gradient(to right, var(--link-color), #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; From 0c8eb83f5b5ca2e4d36651dbfbead613667d2d81 Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 29 May 2025 04:17:03 -0400 Subject: [PATCH 4/8] CI/CD draft --- .forgejo/workflows/deploy.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index c6a05d0..9eafcfb 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -5,6 +5,7 @@ on: branches: - main - astra/ci + - astra/overrides jobs: deploy: @@ -12,9 +13,25 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repo + - name: Checkout main repo uses: actions/checkout@v4 + - name: Checkout config repo + uses: actions/checkout@v4 + with: + repository: scientific-witchery/pds-dash-overrides + token: ${{ secrets.OVERRIDES_TOKEN }} + + - name: print local filesystem + run: | + echo "Current directory: $(pwd)" + echo "Files in current directory:" + ls -la + + - name: fail (intentionally) + run: | + echo "This is an intentional failure to test the workflow." + exit 1 - name: Setup Node.js uses: actions/setup-node@v3 with: From 58e12b61305e32ad30b58c0c2667c42cbeea84e0 Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 29 May 2025 04:23:13 -0400 Subject: [PATCH 5/8] lets try a different way --- .forgejo/workflows/deploy.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 9eafcfb..9932058 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -16,17 +16,19 @@ jobs: - name: Checkout main repo uses: actions/checkout@v4 - - name: Checkout config repo + - name: Checkout overrides repo uses: actions/checkout@v4 with: repository: scientific-witchery/pds-dash-overrides - token: ${{ secrets.OVERRIDES_TOKEN }} + path: overrides - - name: print local filesystem + - name: Copy config file to root + run: cp overrides/config.ts ./config.ts + + - name: print file structure run: | - echo "Current directory: $(pwd)" - echo "Files in current directory:" - ls -la + echo "Current directory structure:" + ls -R - name: fail (intentionally) run: | From b314bebc6cd5d76e9a7151aa994c6719b4c29fa2 Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 29 May 2025 04:25:33 -0400 Subject: [PATCH 6/8] yaml was non valid --- .forgejo/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 9932058..46523ff 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -23,7 +23,7 @@ jobs: path: overrides - name: Copy config file to root - run: cp overrides/config.ts ./config.ts + run: cp overrides/config.ts ./config.ts - name: print file structure run: | From b9dca99d12b3ce0558664c018c927455f72e41a3 Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 29 May 2025 04:26:50 -0400 Subject: [PATCH 7/8] Forgot the Token --- .forgejo/workflows/deploy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 46523ff..6f34be5 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -20,6 +20,7 @@ jobs: uses: actions/checkout@v4 with: repository: scientific-witchery/pds-dash-overrides + token: ${{ secrets.OVERRIDES_TOKEN}} path: overrides - name: Copy config file to root From 4a3d55634d53c0255af0d2dec723a3f4f2c36471 Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 29 May 2025 04:28:10 -0400 Subject: [PATCH 8/8] CI/CD ready --- .forgejo/workflows/deploy.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 6f34be5..7f20d99 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -5,7 +5,7 @@ on: branches: - main - astra/ci - - astra/overrides + jobs: deploy: @@ -26,15 +26,6 @@ jobs: - name: Copy config file to root run: cp overrides/config.ts ./config.ts - - name: print file structure - run: | - echo "Current directory structure:" - ls -R - - - name: fail (intentionally) - run: | - echo "This is an intentional failure to test the workflow." - exit 1 - name: Setup Node.js uses: actions/setup-node@v3 with: