Files
lumina/app/page.tsx
mroxso 4bb91a7959 Feature: Geyser Fund Box (#102)
* feat: Add GeyserFundAlertOverlay component for donation initiative

* feat: Add GeyserFundDonation component and update Home page layout

* feat: Add environment variable support for Geyser Fund feature visibility

---------

Co-authored-by: highperfocused <highperfocused@pm.me>
2025-04-26 10:38:06 +02:00

29 lines
799 B
TypeScript

"use client";
import { Search } from "@/components/Search";
import { TrendingImagesNew } from "@/components/TrendingImagesNew";
import { GeyserFundDonation } from "@/components/GeyserFundDonation";
import { useEffect } from "react";
export default function Home() {
useEffect(() => {
document.title = `LUMINA`;
}, []);
// Check for environment variable - Next.js exposes public env vars with NEXT_PUBLIC_ prefix
const showGeyserFund = process.env.NEXT_PUBLIC_SHOW_GEYSER_FUND === 'true';
return (
<>
{showGeyserFund && (
<div className="flex flex-col items-center px-6">
<GeyserFundDonation />
</div>
)}
<div className="flex flex-col items-center py-4 px-6">
<Search />
</div>
<TrendingImagesNew />
</>
);
}