chore(website): fix homepage overflow

This commit is contained in:
Simon
2026-01-14 17:45:49 +08:00
parent 9a66d5205f
commit 338e317be1
2 changed files with 5 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ export default function Header() {
className="hidden sm:block text-xs text-gray-600 dark:text-gray-300 py-0 font-normal overflow-visible" className="hidden sm:block text-xs text-gray-600 dark:text-gray-300 py-0 font-normal overflow-visible"
duration={600} duration={600}
animateOnHover={true} animateOnHover={true}
aria-hidden="true"
> >
{t('header.slogan')} {t('header.slogan')}
</HyperText> </HyperText>

View File

@@ -95,7 +95,10 @@ export default function HomePage() {
{/* Hero Section */} {/* Hero Section */}
<main id="main-content"> <main id="main-content">
<section className="relative px-6 py-22 lg:py-28" aria-labelledby="hero-heading"> <section
className="relative px-6 py-22 lg:py-28 overflow-hidden"
aria-labelledby="hero-heading"
>
<div className="max-w-7xl mx-auto text-center"> <div className="max-w-7xl mx-auto text-center">
{/* Background Pattern + Particles */} {/* Background Pattern + Particles */}
<div className="absolute inset-0 opacity-30" aria-hidden="true"> <div className="absolute inset-0 opacity-30" aria-hidden="true">