"use client"; import Link from "next/link"; import { Compass, LogIn, MessageSquare, Sparkles } from "lucide-react"; import { useAuth } from "@/components/auth/auth-provider"; /** * / — the Home (Feed) gate. * * The Instagram-inspired infinite-scroll feed of posts from people you * follow will live here. Until that ships we show two paths: * * • Sign in — for visitors who don't have an account yet; the eventual * feed is personalised, so an account is the prerequisite. * • Explore the Knowledgebase — Śrīla Prabhupāda's full library is * ready today, regardless of feed status. * * The "Sign in" CTA hides once the user is authenticated — at that point * there's nothing to gate, just a "feed coming soon" note above the * always-on Knowledgebase entry. */ export default function HomePage() { const { user, loading } = useAuth(); const authed = !loading && !!user; return (

{authed ? "Your feed is coming soon" : "Welcome to Prabhupāda Says"}

{authed ? "We're building a feed of quotes shared by the community. Until it lands, dive into the Knowledgebase — Śrīla Prabhupāda's books, letters, lectures, and teachings." : "Sign in to follow seekers and see their quotes here once the feed launches, or jump straight into the Knowledgebase — the original, unedited writings of His Divine Grace A.C. Bhaktivedanta Swami Prabhupāda."}

{!authed ? ( Sign in to view feed ) : null} Explore Knowledgebase
{!authed ? (

No account?{" "} Create one {" "} — it's free.

) : null} Send feedback
); }