diff --git a/src/components/wallpaper.astro b/src/components/wallpaper.astro new file mode 100644 index 0000000..a8fc07d --- /dev/null +++ b/src/components/wallpaper.astro @@ -0,0 +1,56 @@ +--- + +import wallpapers from "../../public/wallpapers.json"; + +const wallpaper = wallpapers[Math.floor(Math.random() * wallpapers.length)]; + +--- + +
+ + +
+ + +
+
+ + + + {wallpaper.location} +
+
+ + +
+
+ + + + {wallpaper.date} +
+
+
+
diff --git a/tailwind.config.cjs b/tailwind.config.cjs index f5368a7..0689b07 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -2,7 +2,11 @@ module.exports = { content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], theme: { - extend: {}, + extend: { + height: { + almostscreen: '85vh', + } + }, }, plugins: [], }