chore: some updates
All checks were successful
Deploy to SFTP Server / build (push) Successful in 28m3s

This commit is contained in:
Max Richter
2026-01-04 20:00:18 +01:00
parent 7736032c1a
commit 31e425421c
7 changed files with 1029 additions and 1094 deletions

View File

@@ -10,33 +10,31 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/check": "^0.9.5", "@astrojs/check": "^0.9.6",
"@astrojs/mdx": "^4.3.9", "@astrojs/mdx": "^4.3.13",
"@astrojs/svelte": "^7.2.1", "@astrojs/svelte": "^7.2.4",
"@astrojs/tailwind": "^6.0.2", "astro": "^5.16.6",
"astro": "^5.15.2",
"astro-i18n-aut": "^0.7.3", "astro-i18n-aut": "^0.7.3",
"exifreader": "^4.32.0", "exifreader": "^4.33.1",
"svelte": "^5.42.3", "svelte": "^5.46.1",
"svelte-gestures": "^5.2.2", "svelte-gestures": "^5.2.2",
"tailwindcss": "^4.1.16",
"thumbhash": "^0.1.1", "thumbhash": "^0.1.1",
"typescript": "^5.9.3" "typescript": "^5.9.3"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/sitemap": "^3.6.0", "@astrojs/sitemap": "^3.6.0",
"@iconify-json/tabler": "^1.2.23", "@iconify-json/tabler": "^1.2.26",
"@types/markdown-it": "^14.1.2", "@types/markdown-it": "^14.1.2",
"@unocss/preset-icons": "^66.5.4", "@unocss/preset-icons": "^66.5.12",
"@unocss/reset": "^66.5.4", "@unocss/reset": "^66.5.12",
"astro-font": "^1.1.0", "astro-font": "^1.1.0",
"markdown-it": "^14.1.0", "markdown-it": "^14.1.0",
"ogl": "^1.0.11", "ogl": "^1.0.11",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"prettier-plugin-astro": "^0.14.1", "prettier-plugin-astro": "^0.14.1",
"sharp": "^0.34.4", "sharp": "^0.34.5",
"unocss": "^66.5.4", "unocss": "^66.5.12",
"unplugin-icons": "^22.5.0", "unplugin-icons": "^22.5.0",
"vite-plugin-glsl": "^1.5.4" "vite-plugin-glsl": "^1.5.5"
} }
} }

2082
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -31,7 +31,7 @@
} }
} }
$: search(searchTerm); $: search();
</script> </script>
<div class="search-wrapper my-4 noise relative"> <div class="search-wrapper my-4 noise relative">

View File

@@ -48,6 +48,7 @@ const {
} = Astro.props; } = Astro.props;
const imageOk = await checkImage(image); const imageOk = await checkImage(image);
console.log({ ok: imageOk, image });
const { thumbhash, exif } = imageOk const { thumbhash, exif } = imageOk
? await getProcessedImage(image) ? await getProcessedImage(image)
@@ -96,6 +97,6 @@ const sizes = thumbnail
<slot /> <slot />
</AstroImage> </AstroImage>
) : ( ) : (
<div>{JSON.stringify({ "imageOk":imageOk, image })}</div> <div>{JSON.stringify({ imageOk: imageOk, image })}</div>
) )
} }

View File

@@ -54,7 +54,7 @@ function buildSearchTerm(res: any) {
<h1 class="text-4xl mb-4">{t(resourceType)}</h1> <h1 class="text-4xl mb-4">{t(resourceType)}</h1>
<p>{t(`${resourceType as "articles"}.description`)}</p> <p>{t(`${resourceType as "articles"}.description`)}</p>
<ClientSearch resourceType={resourceType} client:load /> <ClientSearch client:load />
<div id="resource-list-static" class="flex flex-col gap-6"> <div id="resource-list-static" class="flex flex-col gap-6">
{ {

View File

@@ -11,8 +11,7 @@
"baseUrl": ".", "baseUrl": ".",
"types": [ "types": [
"vite-plugin-glsl/ext", "vite-plugin-glsl/ext",
"unplugin-icons/types", "unplugin-icons/types"
"svelte-gestures/globals"
], ],
"paths": { "paths": {
"@components/*": [ "@components/*": [

View File

@@ -1,11 +1,10 @@
// uno.config.ts
import { defineConfig, presetWind3 } from 'unocss' import { defineConfig, presetWind3 } from 'unocss'
import presetIcons from '@unocss/preset-icons' import presetIcons from '@unocss/preset-icons'
export default defineConfig({ export default defineConfig({
presets: [ presets: [
presetWind3(), presetWind3(),
presetIcons(), presetIcons() as any,
], ],
shortcuts: { shortcuts: {
"bg-dark": ['bg-neutral-000', "dark:bg-neutral-800"], "bg-dark": ['bg-neutral-000', "dark:bg-neutral-800"],