From 19cd6ea66f62a60b921063e1d7e73e45682b7dbc Mon Sep 17 00:00:00 2001 From: chipShot-exe <200449938+chipShot-exe@users.noreply.github.com> Date: Sun, 11 Oct 2026 20:48:33 -0700 Subject: [PATCH 01/10] Improve mobile layout, other small quality of life --- .env.example | 27 ---------------- src/lib/components/ExternalLink.svelte | 5 +-- src/routes/(public)/clubs/ClubList.svelte | 32 +++++++++++++++++-- src/routes/(public)/discord/+page.svelte | 2 +- .../panel/clubs/AutoImportClubsButton.svelte | 3 +- 5 files changed, 36 insertions(+), 33 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index d4ebe6ed..00000000 --- a/.env.example +++ /dev/null @@ -1,27 +0,0 @@ -# Example of .env file -# Keys starting with PUBLIC_ are exposed to the client side. - -# App -PUBLIC_BASE_URL="https://lhsconnect.com" # Use http://localhost:5173 for local development -PUBLIC_BASE_SHORT_URL="https://lhs.cx" # Use https://localhost:5173 for local development - -# Database -MONGO_DB_URI=mongodb://localhost:27017/ - -# S3 Bucket for file transfer uploads -# Suggested to use cloudflare r2 or aws s3 -S3_ACCESS_KEY_ID="ACCESS_KEY" -S3_SECRET_ACCESS_KEY="SECRET_KEY" -S3_ENDPOINT="ENDPOINT" # e.g. https://[BUCKET_NAME].[ACCOUNT_ID].r2.cloudflarestorage.com -S3_BUCKET_NAME="BUCKET_NAME" - -# Auth -# Created by registering a new app at https://console.developers.google.com/ -GOOGLE_CLIENT_ID="ID_HERE" -GOOGLE_CLIENT_SECRET="SECRET_HERE" - -# A link added to the admin panel for anybody to view -PUBLIC_ANALYTICS_URL="" # Umami or google analytics or some other public link to an analytics service (optional) - -# Discord webhook for sending messages to a channel when somebody submits the contact form -DISCORD_WEBHOOK_URL="" diff --git a/src/lib/components/ExternalLink.svelte b/src/lib/components/ExternalLink.svelte index 065c1541..5f0783bf 100644 --- a/src/lib/components/ExternalLink.svelte +++ b/src/lib/components/ExternalLink.svelte @@ -2,16 +2,17 @@ interface Props { href: string; text: string; + AdditionalClasses?: string; } - let { href, text }: Props = $props(); + let { href, text, AdditionalClasses = "" }: Props = $props(); {text} diff --git a/src/routes/(public)/clubs/ClubList.svelte b/src/routes/(public)/clubs/ClubList.svelte index 2eab9b21..95966eb9 100644 --- a/src/routes/(public)/clubs/ClubList.svelte +++ b/src/routes/(public)/clubs/ClubList.svelte @@ -48,7 +48,7 @@ - +
Name Day & Time @@ -80,5 +80,33 @@ {/each} - + +
+
+ {#each searchedClubs as club} +
+
+ + +
+

{club.name}

+ + {club.advisor} | {club.location} + +
+ +
+ {#if club.instagram && club.instagram !== 'N/A'} + + {/if} +
+
+ +
+

{club.dayAndTime}

+
+
+ {/each} +
+
\ No newline at end of file diff --git a/src/routes/(public)/discord/+page.svelte b/src/routes/(public)/discord/+page.svelte index 69b3b614..0991315a 100644 --- a/src/routes/(public)/discord/+page.svelte +++ b/src/routes/(public)/discord/+page.svelte @@ -11,7 +11,7 @@

diff --git a/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte b/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte index 2a6058f3..9739b84f 100644 --- a/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte +++ b/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte @@ -1,6 +1,7 @@ - + Name Day & Time @@ -80,33 +80,41 @@ {/each} - +

-
- {#each searchedClubs as club} -
-
- +
+ {#each searchedClubs as club} +
+
+ -
-

{club.name}

- - {club.advisor} | {club.location} - -
+
+

+ {club.name} +

+ + {club.advisor} | {club.location} + +
-
- {#if club.instagram && club.instagram !== 'N/A'} - - {/if} -
-
+
+ {#if club.instagram && club.instagram !== 'N/A'} + + {/if} +
+
-
-

{club.dayAndTime}

-
-
- {/each} -
-
\ No newline at end of file +
+

{club.dayAndTime}

+
+ + {/each} + + diff --git a/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte b/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte index 9739b84f..710788d9 100644 --- a/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte +++ b/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte @@ -106,10 +106,13 @@ https://lhs.cx/old-clubs

- Instructions: , click on file, export as CSV (without formatting, - utf8 format), then open the CSV in a program such as notepad and copy+paste the content here. - Usually you don't need to input the start and end row, but if you are having issues, you can - specify the start and end row of the data you want to import. + Instructions: , click on file, export as CSV (without formatting, utf8 format), then open the CSV in a + program such as notepad and copy+paste the content here. Usually you don't need to input the + start and end row, but if you are having issues, you can specify the start and end row of the + data you want to import.

From 870ad49e54452e8a7efd52b0cfa23b9505e8e137 Mon Sep 17 00:00:00 2001 From: chipShot-exe <200449938+chipShot-exe@users.noreply.github.com> Date: Mon, 12 Oct 2026 08:26:46 -0700 Subject: [PATCH 05/10] re implement popover bc im stupid --- src/routes/(public)/clubs/ClubList.svelte | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/routes/(public)/clubs/ClubList.svelte b/src/routes/(public)/clubs/ClubList.svelte index 54ce7484..9b2d92fc 100644 --- a/src/routes/(public)/clubs/ClubList.svelte +++ b/src/routes/(public)/clubs/ClubList.svelte @@ -89,8 +89,12 @@ class="flex flex-col bg-white p-4 transition-colors even:bg-gray-50 dark:bg-gray-800 dark:even:bg-gray-700" >
- - +{#if club.desc} + + + {club.desc} + + {/if}

{club.name} From 07f25b5da6b649f519224dfd58f470d98c049ebf Mon Sep 17 00:00:00 2001 From: Unauthorized User Date: Mon, 12 Oct 2026 17:17:34 +0000 Subject: [PATCH 06/10] prettier again --- src/routes/(public)/clubs/ClubList.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(public)/clubs/ClubList.svelte b/src/routes/(public)/clubs/ClubList.svelte index 9b2d92fc..d61840b9 100644 --- a/src/routes/(public)/clubs/ClubList.svelte +++ b/src/routes/(public)/clubs/ClubList.svelte @@ -89,7 +89,7 @@ class="flex flex-col bg-white p-4 transition-colors even:bg-gray-50 dark:bg-gray-800 dark:even:bg-gray-700" >
-{#if club.desc} + {#if club.desc} {club.desc} From 0b1b225af8e8b5a015e5e0a430ca0c6ab2313d93 Mon Sep 17 00:00:00 2001 From: Me here <95828295+hexagonally-mired@users.noreply.github.com> Date: Thu, 15 Oct 2026 19:17:48 -0700 Subject: [PATCH 07/10] trying to get the preview to buidl --- src/routes/admin/panel/clubs/AutoImportClubsButton.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte b/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte index 710788d9..47071d6e 100644 --- a/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte +++ b/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte @@ -12,6 +12,7 @@ /* SAMPLE DATA: https://lhs.cx/current-clubs https://lhs.cx/old-clubs +this is very cool. */ interface Props { From cd361297ed555ca540360639a86645294e181a0c Mon Sep 17 00:00:00 2001 From: Me here <95828295+hexagonally-mired@users.noreply.github.com> Date: Thu, 15 Oct 2026 19:20:10 -0700 Subject: [PATCH 08/10] me being lazy --- src/routes/admin/panel/clubs/AutoImportClubsButton.svelte | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte b/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte index 47071d6e..710788d9 100644 --- a/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte +++ b/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte @@ -12,7 +12,6 @@ /* SAMPLE DATA: https://lhs.cx/current-clubs https://lhs.cx/old-clubs -this is very cool. */ interface Props { From aecebcb87b438d1fadc2b13a0ced263438c966cb Mon Sep 17 00:00:00 2001 From: chipShot-exe <200449938+chipShot-exe@users.noreply.github.com> Date: Fri, 16 Oct 2026 09:50:09 -0700 Subject: [PATCH 09/10] add comment to test approval --- src/routes/admin/panel/clubs/AutoImportClubsButton.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte b/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte index 710788d9..e626c16a 100644 --- a/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte +++ b/src/routes/admin/panel/clubs/AutoImportClubsButton.svelte @@ -12,6 +12,7 @@ /* SAMPLE DATA: https://lhs.cx/current-clubs https://lhs.cx/old-clubs +wow */ interface Props { From e745e7a9efcad94547f39ec421481a41a58a52d4 Mon Sep 17 00:00:00 2001 From: chipShot-exe <200449938+chipShot-exe@users.noreply.github.com> Date: Fri, 23 Oct 2026 17:16:14 +0000 Subject: [PATCH 10/10] convert schooLinksLogo to svg (split up old pr) --- .../assets/images/logos/schooLinksLogo.png | Bin 3275 -> 0 bytes .../assets/images/logos/schooLinksLogo.svg | 24 ++++++++++++++++++ src/routes/(public)/QuickLinks.svelte | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) delete mode 100644 src/lib/assets/images/logos/schooLinksLogo.png create mode 100644 src/lib/assets/images/logos/schooLinksLogo.svg diff --git a/src/lib/assets/images/logos/schooLinksLogo.png b/src/lib/assets/images/logos/schooLinksLogo.png deleted file mode 100644 index b9313673d1dfb2d1fb12e8857d56a36d5e5ca9db..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3275 zcmZ{nhd&gI1IF!nD(7$xmzi;PRw(0a?(CUymo3?fvU4hD(}}WYO1Q{Y9IxYwcBYv$J_+}CI#Bv#;c_cYWxJTv*g5Lz)wTDYbqetW}H(ad;+?VvF;n`YFmfD z+jRDMwkO45qr>znNM-B1bK>f1eYU4M4sCvZkAB;Qd&NX^5^_t9kb9d}8pQX12}RAF z9LW9V05jWLOE)>z1Oqc-FN_|71^buk^2U$X9c#YK4prvNO9{pN0P7FTJgU@%4|KpH zk#OjQ-KNM1yyAv3kK&y}>GWX(B8Cco5%8kUe583<3q;7*82mCm2E)r%pBNg`;>w&x%)-GP$m;RO;3x@I@=$ zwEH=@M2kyD&;#5grh{ZICsPkRdKk~&3Oiu-23~rdf+w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6Ho=W(eOg&Bd6~(gGmw$G(!R+DnbWefBE&peE6YA&4 zs0JtgTVtBXH?93qQ=0f!nIMb#r_B46j7#MI2MTya%Wy&p77}Io@2XH4=^=GL>7e5O E2S0fv$^ZZW diff --git a/src/lib/assets/images/logos/schooLinksLogo.svg b/src/lib/assets/images/logos/schooLinksLogo.svg new file mode 100644 index 00000000..6bbf4592 --- /dev/null +++ b/src/lib/assets/images/logos/schooLinksLogo.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/routes/(public)/QuickLinks.svelte b/src/routes/(public)/QuickLinks.svelte index 03f101ab..fc8904cf 100644 --- a/src/routes/(public)/QuickLinks.svelte +++ b/src/routes/(public)/QuickLinks.svelte @@ -9,7 +9,7 @@ import cleverLogo from '$assets/images/logos/clever.svg'; import collegeBoardLogo from '$assets/images/logos/collegeboard.svg'; import khanAcademyLogo from '$assets/images/logos/khanacademy.svg'; - import schooLinksLogo from '$assets/images/logos/schooLinksLogo.png?enhanced'; + import schooLinksLogo from '$assets/images/logos/schooLinksLogo.svg'; // no matching Naviance svg const links = [