mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-04-17 19:06:55 +02:00
* 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>
29 lines
790 B
TypeScript
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 />
|
|
</>
|
|
);
|
|
} |