Compare commits

..

3 commits

Author SHA1 Message Date
ld3zian
719f0cd5ef bump deps 2025-04-05 12:07:47 -07:00
ld3zian
eb50bfef41 fix cards on mobile 2025-04-05 12:07:22 -07:00
ld3zian
78479c26b8 mobile fixes 2025-04-05 12:05:10 -07:00
6 changed files with 23 additions and 23 deletions

32
package-lock.json generated
View file

@ -12,9 +12,9 @@
"@astrojs/tailwind": "^6.0.2",
"@astrojs/vercel": "^8.1.3",
"@floating-ui/dom": "^1.6.13",
"@types/node": "^22.13.14",
"@types/node": "^22.14.0",
"@vercel/analytics": "^1.5.0",
"astro": "^5.5.6",
"astro": "^5.6.1",
"feed": "^4.2.2",
"ioredis": "^5.6.0",
"p-throttle": "^7.0.0",
@ -1459,11 +1459,11 @@
}
},
"node_modules/@types/node": {
"version": "22.13.14",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.14.tgz",
"integrity": "sha512-Zs/Ollc1SJ8nKUAgc7ivOEdIBM8JAKgrqqUYi2J997JuKO7/tpQC+WCetQ1sypiKCQWHdvdg9wBNpUPEWZae7w==",
"version": "22.14.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.0.tgz",
"integrity": "sha512-Kmpl+z84ILoG+3T/zQFyAJsU6EPTmOCj8/2+83fSN6djd6I4o7uOuGIH6vq3PrjY5BGitSbFuMN18j3iknubbA==",
"dependencies": {
"undici-types": "~6.20.0"
"undici-types": "~6.21.0"
}
},
"node_modules/@types/unist": {
@ -1739,9 +1739,9 @@
}
},
"node_modules/astro": {
"version": "5.5.6",
"resolved": "https://registry.npmjs.org/astro/-/astro-5.5.6.tgz",
"integrity": "sha512-SjU6zAlRe/gQrZ558Qhm211Yl8XOZBfjMpZig3XtQpG6zlyHJkElbWQIWXAVPzMg17cFVdv/qZPVHfcP2YOGGw==",
"version": "5.6.1",
"resolved": "https://registry.npmjs.org/astro/-/astro-5.6.1.tgz",
"integrity": "sha512-aQ2TV7wIf+q2Oi6gGWMINHWEAZqoP0eH6/mihodfTJYATPWyd03JIGVfjtYUJlkNdNSKxDXwEe/r/Zx4CZ1FPg==",
"dependencies": {
"@astrojs/compiler": "^2.11.0",
"@astrojs/internal-helpers": "0.6.1",
@ -1788,7 +1788,7 @@
"tinyexec": "^0.3.2",
"tinyglobby": "^0.2.12",
"tsconfck": "^3.1.5",
"ultrahtml": "^1.5.3",
"ultrahtml": "^1.6.0",
"unist-util-visit": "^5.0.0",
"unstorage": "^1.15.0",
"vfile": "^6.0.3",
@ -5593,9 +5593,9 @@
"integrity": "sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ=="
},
"node_modules/ultrahtml": {
"version": "1.5.3",
"resolved": "https://registry.npmjs.org/ultrahtml/-/ultrahtml-1.5.3.tgz",
"integrity": "sha512-GykOvZwgDWZlTQMtp5jrD4BVL+gNn2NVlVafjcFUJ7taY20tqYdwdoWBFy6GBJsNTZe1GkGPkSl5knQAjtgceg=="
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/ultrahtml/-/ultrahtml-1.6.0.tgz",
"integrity": "sha512-R9fBn90VTJrqqLDwyMph+HGne8eqY1iPfYhPzZrvKpIfwkWZbcYlfpsb8B9dTvBfpy1/hqAD7Wi8EKfP9e8zdw=="
},
"node_modules/uncrypto": {
"version": "0.1.3",
@ -5603,9 +5603,9 @@
"integrity": "sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q=="
},
"node_modules/undici-types": {
"version": "6.20.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="
"version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="
},
"node_modules/unified": {
"version": "11.0.5",

View file

@ -15,9 +15,9 @@
"@astrojs/tailwind": "^6.0.2",
"@astrojs/vercel": "^8.1.3",
"@floating-ui/dom": "^1.6.13",
"@types/node": "^22.13.14",
"@types/node": "^22.14.0",
"@vercel/analytics": "^1.5.0",
"astro": "^5.5.6",
"astro": "^5.6.1",
"feed": "^4.2.2",
"ioredis": "^5.6.0",
"p-throttle": "^7.0.0",

View file

@ -18,7 +18,7 @@ const isNSFW = comic.md_comics.content_rating === 'erotica';
---
<div
class="bg-secondary rounded-xl overflow-hidden shadow-lg h-full flex flex-col max-w-[280px] mx-auto border border-hover/30 hover:border-accent/50 transition-all duration-300"
class="bg-secondary rounded-xl overflow-hidden shadow-lg h-full flex flex-col border border-hover/30 hover:border-accent/50 transition-all duration-300"
data-genres={JSON.stringify(comic.md_comics.genres)}
role="article"
aria-labelledby={`comic-title-${comic.id}`}

View file

@ -15,7 +15,7 @@ const types = [
];
---
<div class="flex gap-2 mb-6">
<div class="flex flex-wrap gap-2 mb-6">
{types.map(type => (
<a
href={`/${lang}/${contentType}/${type.id}`}

View file

@ -34,7 +34,7 @@ const announcement = {
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="canonical" href={canonicalURL} />

View file

@ -37,8 +37,8 @@ const title = `ComicK - ${getLanguageName(lang!)} ${contentType?.toUpperCase()}
<main class="container mx-auto px-4 py-8">
<div class="flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4 mb-8">
<h1 class="text-3xl font-bold text-primary">Latest Updates</h1>
<div class="flex flex-col sm:flex-row gap-4">
<div class="flex items-center gap-4">
<div class="flex flex-col sm:flex-row flex-wrap items-start gap-4">
<div class="flex items-center flex-wrap gap-4">
<LanguageSelector currentLang={lang!} currentType={type!} contentType={contentType!} />
<GenreFilter />
<div class="flex gap-2">