Updated packages
Some checks failed
Upload via SSH / build (push) Failing after 26s
Upload via SSH / deploy (push) Has been skipped

This commit is contained in:
Bethlenfalvi, Lorinc (ext)
2026-01-05 22:59:15 +01:00
parent 15aa4575bc
commit 01db7a8bb1
4 changed files with 1804 additions and 1868 deletions

3640
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,20 +9,20 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^4.0.8",
"@astrojs/react": "^4.2.0",
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/svelte": "^7.0.4",
"@js-temporal/polyfill": "^0.4.4",
"@tailwindcss/vite": "^4.0.1",
"astro": "^5.2.1",
"@astrojs/mdx": "^4.3.13",
"@astrojs/react": "^4.4.2",
"@astrojs/rss": "^4.0.14",
"@astrojs/sitemap": "^3.6.0",
"@astrojs/svelte": "^7.2.4",
"@js-temporal/polyfill": "^0.5.1",
"@tailwindcss/vite": "^4.1.18",
"astro": "^5.16.6",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"remark-toc": "^9.0.0",
"shiki": "^2.2.0",
"svelte": "^5.19.6",
"tailwindcss": "^4.0.0",
"typescript": "^5.7.3"
"shiki": "^3.20.0",
"svelte": "^5.46.1",
"tailwindcss": "^4.1.18",
"typescript": "^5.9.3"
}
}

View File

@@ -71,7 +71,7 @@ function break_lines(input: string, width: number): string {
.join("\n")
}
export default function Fortune(): React.ReactElement {
export default function FortuneComponent(): React.ReactElement {
const id = Math.floor(Math.random() * messages.length);
window.localStorage.setItem("martinRefShown", id === 6 ? "yes" : "no");
const text = break_lines(messages[id], 60);

View File

@@ -1,8 +1,8 @@
---
import Main from "../layouts/Main.astro";
import Fortune from "../components/Fortune";
import FortuneComponent from "../components/Fortune";
---
<Main title="Fortune" description="Wisdom from Tux">
<Fortune client:only="react" />
</Main>
<FortuneComponent client:only="react" />
</Main>