From c16243df76b2ab1627c91ef95ed23fe9c00dbd9e Mon Sep 17 00:00:00 2001 From: Jorge Vargas Date: Thu, 20 Feb 2025 20:02:44 -0600 Subject: [PATCH] General fixes --- .vscode/extensions.json | 6 ++++-- src/components/header/Dropdown.astro | 2 +- src/components/header/NavButton.astro | 10 +++++----- src/components/sidebar/CommentCarousel.astro | 11 ++--------- src/components/sidebar/CommentCarousel/Looper.tsx | 5 +---- src/pages/index.astro | 15 +++------------ src/styles/global.css | 15 +++++++++++++++ 7 files changed, 31 insertions(+), 33 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 3a53a84..294da63 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -4,6 +4,8 @@ "inlang.vs-code-extension", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", - "bradlc.vscode-tailwindcss" + "bradlc.vscode-tailwindcss", + "prisma.prisma", + "csstools.postcss" ] -} \ No newline at end of file +} diff --git a/src/components/header/Dropdown.astro b/src/components/header/Dropdown.astro index 935e219..a08c7f2 100644 --- a/src/components/header/Dropdown.astro +++ b/src/components/header/Dropdown.astro @@ -6,7 +6,7 @@ import NavButton from './NavButton.astro'
diff --git a/src/components/header/NavButton.astro b/src/components/header/NavButton.astro index 6572750..ede444c 100644 --- a/src/components/header/NavButton.astro +++ b/src/components/header/NavButton.astro @@ -5,11 +5,11 @@ import clsx from 'clsx' const { class: className } = Astro.props --- - + diff --git a/src/components/sidebar/CommentCarousel.astro b/src/components/sidebar/CommentCarousel.astro index d638047..7ffb15f 100644 --- a/src/components/sidebar/CommentCarousel.astro +++ b/src/components/sidebar/CommentCarousel.astro @@ -14,14 +14,7 @@ const comments = await prismaClient.comments.findMany({ - - + + diff --git a/src/components/sidebar/CommentCarousel/Looper.tsx b/src/components/sidebar/CommentCarousel/Looper.tsx index 66ae6f2..e94102a 100644 --- a/src/components/sidebar/CommentCarousel/Looper.tsx +++ b/src/components/sidebar/CommentCarousel/Looper.tsx @@ -37,10 +37,7 @@ export default function Looper(props: Props) {
{comment.text}
- -{' '} - - {comment.albums?.title} - + - {comment.albums?.title}
{isMultiple ? (
diff --git a/src/pages/index.astro b/src/pages/index.astro index 2581b7f..7d00b9a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -32,14 +32,8 @@ const lastAlbums = await prismaClient.albums.findMany({ }
- - + {m.moreGameReleases} + {m.moreAnimReleases}

@@ -53,10 +47,7 @@ const lastAlbums = await prismaClient.albums.findMany({ }

- + {m.moreLastAdded}
diff --git a/src/styles/global.css b/src/styles/global.css index 2c3a3c9..cae017e 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -27,4 +27,19 @@ margin-top: 1rem; margin-bottom: 1rem; } + + button, + a { + cursor: pointer; + text-align: center; + + :disabled { + cursor: none; + } + } + + a:hover { + color: var(--color-hover-link); + text-decoration-line: underline; + } }