"use client"; import Link from "next/link"; import { Compass, Loader2, LogIn, Sparkles } from "lucide-react"; import { useAuth } from "@/components/auth/auth-provider"; import { SadhnaStreakCTA } from "@/components/sadhna/streak-cta"; import { VaniOfTheDayCTA } from "@/components/vani/vani-of-the-day-cta"; import { HomeFeed } from "@/components/feed/home-feed"; /** * / — the Home (Feed) gate. * * • Signed in → the daily sādhana streak on top, then the global, * personalised infinite-scroll feed of community posts. * • Anonymous → a welcome screen: sign in (the feed is personalised, so an * account is the prerequisite) or jump into the Knowledgebase. */ export default function HomePage() { const { user, loading } = useAuth(); if (loading) { return (
); } if (user) { return ( // Narrower single-column feed on desktop (≈Instagram width) — the cards // are fluid, so the column width is what sizes the square media. On // mobile this max-width is wider than the viewport, so it's full-bleed // as before.
); } return (

Welcome to Prabhupāda Says

Sign in to follow seekers and see their quotes in your feed, or jump straight into the Knowledgebase — the original, unedited writings of His Divine Grace A.C. Bhaktivedanta Swami Prabhupāda.

Sign in to view feed Explore Knowledgebase

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

{/* Daily sādhana streak — a simple entry point for visitors. */}
); }