From c27bbe16c611e7ba46b7ac8946044c0ce9556e52 Mon Sep 17 00:00:00 2001 From: v0 Date: Sun, 2 Nov 2025 03:06:07 +0000 Subject: [PATCH] feat: enable smooth scroll for "Learn More" button Add smooth scroll to "Learn More" button linking to MycoFi section. #VERCEL_SKIP Co-authored-by: Jeff Emmett <46964190+Jeff-Emmett@users.noreply.github.com> --- app/globals.css | 4 + components/hero-section.tsx | 7 +- components/image-gallery.tsx | 16 +- components/mycofi-intro.tsx | 3 +- package.json | 10 +- pnpm-lock.yaml | 1653 +++++++++++++++++----------------- styles/globals.css | 4 +- 7 files changed, 841 insertions(+), 856 deletions(-) diff --git a/app/globals.css b/app/globals.css index 8dfe6d8..ed5c9ae 100644 --- a/app/globals.css +++ b/app/globals.css @@ -126,4 +126,8 @@ body { @apply bg-background text-foreground; } + /* Added smooth scroll behavior for anchor links */ + html { + scroll-behavior: smooth; + } } diff --git a/components/hero-section.tsx b/components/hero-section.tsx index e12999a..e05305e 100644 --- a/components/hero-section.tsx +++ b/components/hero-section.tsx @@ -37,12 +37,7 @@ export function HeroSection() { diff --git a/components/image-gallery.tsx b/components/image-gallery.tsx index 6330e4c..15a3f79 100644 --- a/components/image-gallery.tsx +++ b/components/image-gallery.tsx @@ -18,9 +18,12 @@ export function ImageGallery() {

- Just as mycelium breaks down dead matter to create fertile soil, we can transform dying economic structures into nourishment for new regenerative systems. Composting capitalism invokes the cycles of decay and renewal inherent in natural ecosystems, recognizing that institutional senescence and the end of extractive systems creates the conditions for regenerative abundance. + Just as mycelium breaks down dead matter to create fertile soil, we can transform dying economic + structures into nourishment for new regenerative systems. Composting capitalism invokes the cycles of + decay and renewal inherent in natural ecosystems, recognizing that institutional senescence and the end + of extractive systems creates the conditions for regenerative abundance.

- +