commit d31170af160932c966fe1433b821eed971eb27f1
parent 41f1cc879676851b4b92c9e978533993e6750170
Author: Damian Myrda <damian@prime8.dev>
Date: Wed, 21 Jan 2026 15:53:22 -0600
style: add REST tag, padding to readme, remove unused styles.css
Diffstat:
6 files changed, 7 insertions(+), 112 deletions(-)
diff --git a/web/config/projects.json b/web/config/projects.json
@@ -27,7 +27,7 @@
"id": "computer-science-club",
"name": "computer-science-club",
"subtitle": "CS Club website",
- "tech": ["Python"],
+ "tech": ["Python", "REST"],
"url": "https://git.prime8.dev/moncheeta/computer-science-club",
"apiUrl": "https://git.prime8.dev/api/v4/projects/moncheeta%2Fcomputer-science-club"
}
diff --git a/web/src/components/pages/Projects.astro b/web/src/components/pages/Projects.astro
@@ -182,6 +182,7 @@ const metadata = Object.fromEntries(
color: var(--fg);
margin-top: 16px;
padding-top: 16px;
+ padding-right: 12px;
border-top: 1px solid var(--border);
}
diff --git a/web/src/components/styles.css b/web/src/components/styles.css
@@ -1,111 +0,0 @@
-/* Tag colors */
-.tag {
- border: none;
- padding: 2px 8px;
- font-size: 12px;
- color: var(--bg);
- background: var(--fg-dim);
-}
-
-/* Language tags */
-.tag.lang-zig {
- background: #f7a41d;
-}
-.tag.lang-rust {
- background: #dea584;
-}
-.tag.lang-c {
- background: #a8b1c2;
-}
-.tag.lang-go {
- background: #00add8;
-}
-.tag.lang-ts {
- background: #3178c6;
- color: #fff;
-}
-.tag.lang-python {
- background: #3572a5;
- color: #fff;
-}
-
-/* Tool tags */
-.tag.tool-zed {
- background: #084ccf;
- color: #fff;
-}
-.tag.tool-neovim {
- background: #57a143;
-}
-.tag.tool-opencode {
- background: #af5faf;
- color: #fff;
-}
-.tag.tool-linux {
- background: #f7c94c;
-}
-.tag.tool-fish {
- background: #d78700;
-}
-.tag.tool-ghostty {
- background: #8b5cf6;
- color: #fff;
-}
-
-/* Interest tags */
-.tag.interest-lowlevel {
- background: #d75f5f;
- color: #fff;
-}
-.tag.interest-tui {
- background: #5faf5f;
- color: #0d0d0d;
-}
-.tag.interest-embedded {
- background: #5fafaf;
- color: #0d0d0d;
-}
-.tag.interest-unix {
- background: #d7af5f;
- color: #0d0d0d;
-}
-
-/* Tech tags */
-.tag.tech-temporal {
- background: #4c35c9;
- color: #fff;
-}
-.tag.tech-postgres {
- background: #336791;
- color: #fff;
-}
-.tag.tech-pytorch {
- background: #ee4c2c;
- color: #fff;
-}
-.tag.tech-cuda {
- background: #76b900;
-}
-.tag.tech-docker {
- background: #2496ed;
- color: #fff;
-}
-.tag.tech-kafka {
- background: #4c35c9;
- color: #fff;
-}
-.tag.tech-rn {
- background: #61dafb;
-}
-.tag.tech-supabase {
- background: #3ecf8e;
-}
-
-/* Utility classes */
-.color-dim {
- color: var(--fg-dim);
-}
-
-.hidden {
- display: none;
-}
diff --git a/web/src/constants/tags.ts b/web/src/constants/tags.ts
@@ -26,6 +26,7 @@ export const TAG_CLASS_MAP: Record<string, string> = {
Kafka: "tech-kafka",
"React Native": "tech-rn",
Supabase: "tech-supabase",
+ REST: "tech-rest",
};
export const TECH_ABBREVIATIONS: Record<string, string> = {
diff --git a/web/src/layouts/Layout.astro b/web/src/layouts/Layout.astro
@@ -335,6 +335,9 @@ const ogImage = image
.tag.tech-supabase {
background: #3ecf8e;
}
+ .tag.tech-rest {
+ background: #6b8e23;
+ }
@media (max-width: 768px) {
body {
diff --git a/web/src/pages/projects/[id].astro b/web/src/pages/projects/[id].astro
@@ -173,6 +173,7 @@ const metadata = await fetchGitMetadataForProject(project);
font-size: 14px;
line-height: 1.7;
color: var(--fg);
+ padding-right: 12px;
}
.readme-content :global(p) {