diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..ae2b809 Binary files /dev/null and b/.DS_Store differ diff --git a/web/bun.lockb b/web/bun.lockb index 8eac1c5..aa6e75d 100755 Binary files a/web/bun.lockb and b/web/bun.lockb differ diff --git a/web/package.json b/web/package.json index 3aecf9f..802d2fa 100644 --- a/web/package.json +++ b/web/package.json @@ -28,17 +28,18 @@ "lucide-astro": "^0.399.0", "marked": "^13.0.1", "motion": "^10.18.0", - "postcss": "^8.4.38", - "postcss-custom-media": "^10.0.6", + "pannellum": "^2.5.6", + "postcss": "^8.4.39", + "postcss-custom-media": "^10.0.7", "postcss-import": "^16.1.0", "prettier-plugin-astro": "^0.14.0", "tailwind-merge": "^2.3.0", "tailwindcss": "^3.4.4", "tailwindcss-animate": "^1.0.7", - "three": "^0.165.0", "typescript": "^5.5.2" }, "devDependencies": { - "@types/ical": "^0.8.3" + "@types/ical": "^0.8.3", + "@types/pannellum": "^2.5.0" } } diff --git a/web/src/components/Button.astro b/web/src/components/Button.astro index 786bed9..7e9539e 100644 --- a/web/src/components/Button.astro +++ b/web/src/components/Button.astro @@ -5,11 +5,11 @@ import { cn } from "@/lib/utils"; export const button = cva( cn( - "inline-flex items-center justify-center rounded-md text-sm font-medium", + "inline-flex items-center justify-center rounded-md font-medium", "transition-colors focus-visible:outline-none no-underline", "ring-main focus-visible:ring-2 focus-visible:ring-ring", "focus-visible:ring-offset-2 disabled:opacity-50", - "disabled:pointer-events-none ring-offset-background" + "disabled:pointer-events-none ring-offset-background", ), { variants: { @@ -26,12 +26,12 @@ export const button = cva( link: "underline-offset-4 hocus:underline text-primary", }, size: { - default: "h-10 text-base py-2 px-4", - sm: "h-9 px-3 rounded-md", - lg: "h-14 text-lg px-8 rounded-md", + default: "text-base py-2 px-4", + sm: "py-1 px-3 rounded-md", + lg: "text-lg py-3 px-5 rounded-md", }, }, - } + }, ); export interface Props diff --git a/web/src/components/InfoSlide.astro b/web/src/components/InfoSlide.astro index caf4b47..33a472f 100644 --- a/web/src/components/InfoSlide.astro +++ b/web/src/components/InfoSlide.astro @@ -12,17 +12,22 @@ const { ---
-
-
+
+
{imageAlt}

{title}

{text}

diff --git a/web/src/pages/index.astro b/web/src/pages/index.astro index d0a2b3d..b9e77e9 100644 --- a/web/src/pages/index.astro +++ b/web/src/pages/index.astro @@ -24,7 +24,7 @@ import InfoSlideshow from "@/sections/InfoSlideshow.astro";
-
+
diff --git a/web/src/sections/InfoSlideshow.astro b/web/src/sections/InfoSlideshow.astro index c65e9eb..6a4f974 100644 --- a/web/src/sections/InfoSlideshow.astro +++ b/web/src/sections/InfoSlideshow.astro @@ -3,7 +3,7 @@ import InfoSlide from "@/components/InfoSlide.astro"; import { infoSlides } from "@/content/info-slides"; --- -
+
{infoSlides.map((e) => )}
@@ -13,7 +13,7 @@ import { infoSlides } from "@/content/info-slides"; import KeenSlider, { type KeenSliderOptions } from "keen-slider"; const options: KeenSliderOptions = { - loop: true, + loop: false, slides: { spacing: 12, diff --git a/web/src/sections/LandingHeader.astro b/web/src/sections/LandingHeader.astro index 394e5ea..6fc0f33 100644 --- a/web/src/sections/LandingHeader.astro +++ b/web/src/sections/LandingHeader.astro @@ -1,5 +1,5 @@ --- - +import "pannellum/build/pannellum.css"; ---
@@ -19,25 +19,38 @@

-
- +
+
+
+