Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Enhance HeroSection and LandingPageTemplate components

Bill Yangaa763f4e3ab2
diff --git a/docs/src/components/HeroSection.tsx b/docs/src/components/HeroSection.tsx
index 1b80db04c..93f02ddbe 100644
--- a/docs/src/components/HeroSection.tsx
+++ b/docs/src/components/HeroSection.tsx
@@ -44,7 +44,7 @@ export function HeroSection({
return (
<>
- <div className="flex flex-col items-center justify-center overflow-x-hidden pt-16 md:pt-24">
+ <div className="flex flex-col items-center justify-center overflow-x-hidden pt-16 md:pt-24 relative z-10">
{showGitHubStar && <GitHubStarButton />}
<h1
diff --git a/docs/src/components/LandingPageTemplate.tsx b/docs/src/components/LandingPageTemplate.tsx
index cc496b13c..72b6fd062 100644
--- a/docs/src/components/LandingPageTemplate.tsx
+++ b/docs/src/components/LandingPageTemplate.tsx
@@ -1,3 +1,4 @@
+import { BackgroundGrid } from "@/components/BackgroundGrid";
import { CTASection } from "@/components/CTASection";
import { FAQAccordion } from "@/components/FAQAccordion";
import { HeroSection } from "@/components/HeroSection";
@@ -185,6 +186,7 @@ export function LandingPageTemplate({
return (
<>
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(faqSchema) }} />
+ <BackgroundGrid />
<HeroSection title={title} subtitle={subtitle} showEUFlag={showEUFlag} />
{/* Logo Section */}