Files
lumina/app/page.tsx
Copilot ae9c9a8eff Replace non-working Trending Images with educational content about LUMINA and Nostr (#134)
* Initial plan

* Initial setup: fix build issues and document current state

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Implement new start page with static content explaining LUMINA and Nostr

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Remove call-to-action buttons that require user login

Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>

* Fix punctuation in LUMINA description for clarity

* Bump version to 0.1.28 in README, package.json, and package-lock.json

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>
Co-authored-by: highperfocused <highperfocused@pm.me>
2025-08-10 10:59:32 +02:00

29 lines
790 B
TypeScript

"use client";
import { Search } from "@/components/Search";
import { WelcomeContent } from "@/components/WelcomeContent";
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>
<WelcomeContent />
</>
);
}