Compare commits

...

4 Commits

Author SHA1 Message Date
Max Richter
e0543f2a58 chore: pnpm up
Some checks failed
Deploy to SFTP Server / build (push) Failing after 4m48s
2025-05-14 19:00:59 +02:00
Max Richter
3d78b9e56c chore: pnpm up 2025-05-14 19:00:59 +02:00
Max Richter
84e56f2668 fix(ci): increase ulimit in ci 2025-05-14 19:00:59 +02:00
Max Richter
8af8db0714 fix: dont try to use icons as img src 2025-05-14 19:00:58 +02:00
4 changed files with 30 additions and 5 deletions

View File

@ -51,10 +51,21 @@ jobs:
- name: 🔄 Pull Git LFS files
run: git lfs pull
- name: 🔧 Increase file descriptor limits
run: |
echo "Current file descriptor limits:"
ulimit -n
echo "Increasing file descriptor limits..."
ulimit -n 65536
echo "New file descriptor limits:"
ulimit -n
- name: 🏗️ Build site
run: |
# Install dependencies, build, and generate site output
pnpm i && pnpm build
# Build with NODE_OPTIONS to increase memory limits and avoid watching files
export NODE_OPTIONS="--max-old-space-size=4096 --no-warnings"
# Astro-specific optimizations to avoid file watching
pnpm i && NODE_ENV=production ASTRO_DISABLE_HMR=true pnpm build
- name: 🔑 Configure rclone
run: |

View File

@ -38,6 +38,13 @@ export default defineConfig({
compiler: 'svelte',
}),
],
server: {
watch: {
// Customize watch behavior to reduce file watchers
ignored: ['**/node_modules/**', '**/dist/**', '**/.git/**'],
usePolling: process.env.NODE_ENV === 'production',
},
},
},
markdown: {
remarkPlugins: [setDefaultLayout]

View File

@ -31,7 +31,14 @@ const link = translatePath(`/${collection}/${id.split("/")[0]}`);
classes={`grid gradient border-1 border-neutral overflow-hidden ${cover ? "grid-rows-[200px_1fr] xs:grid-rows-none xs:grid-cols-[1fr_200px]" : ""}`}>
<Card.Content classes="px-8 py-7 order-last xs:order-first">
<Card.Title classes="text-4xl flex items-center gap-2">
{icon && <img src={icon} class="h-6 w-6" />}
{
icon &&
(
icon?.length > 5
? <img class="h-6 w-6" src={icon} />
: <span class="p-r-4 text-md">{icon}</span>
)
}
{title}
</Card.Title>
<Card.Description>

View File

@ -1,10 +1,10 @@
// uno.config.ts
import { defineConfig, presetUno } from 'unocss'
import { defineConfig, presetWind3 } from 'unocss'
import presetIcons from '@unocss/preset-icons'
export default defineConfig({
presets: [
presetUno(),
presetWind3(),
presetIcons(),
],
shortcuts: {