brand: feed empty-state hero says Eranos, not leftover Agora
Deploy to GitHub Pages / deploy (push) Has been cancelled
Test / test (push) Has been cancelled

LandingHero (shown as the splash above the feed) hardcoded the
fork-original 'ÁGORA' brand name instead of config.appName like
TopNav does.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2ro
2026-07-02 23:27:58 -04:00
parent 7c173af097
commit d19cdace19
+5 -2
View File
@@ -2,12 +2,15 @@ import { Link } from 'react-router-dom';
import { AgoraBoltIcon } from '@/components/icons/AgoraBoltIcon'; import { AgoraBoltIcon } from '@/components/icons/AgoraBoltIcon';
import { Button } from '@/components/ui/button'; import { Button } from '@/components/ui/button';
import { useAppContext } from '@/hooks/useAppContext';
interface LandingHeroProps { interface LandingHeroProps {
onJoinClick: () => void; onJoinClick: () => void;
} }
export function LandingHero({ onJoinClick }: LandingHeroProps) { export function LandingHero({ onJoinClick }: LandingHeroProps) {
const { config } = useAppContext();
return ( return (
<div className="landing-hero"> <div className="landing-hero">
{/* ── Hero Header ── */} {/* ── Hero Header ── */}
@@ -17,8 +20,8 @@ export function LandingHero({ onJoinClick }: LandingHeroProps) {
</div> </div>
<div className="space-y-1 landing-hero-fade" style={{ animationDelay: '80ms' }}> <div className="space-y-1 landing-hero-fade" style={{ animationDelay: '80ms' }}>
<h1 className="text-2xl sidebar:text-3xl font-black tracking-tight leading-none"> <h1 className="text-2xl sidebar:text-3xl font-black tracking-tight leading-none uppercase">
ÁGORA {config.appName}
</h1> </h1>
<p className="text-[11px] sidebar:text-xs uppercase tracking-wider text-muted-foreground font-semibold"> <p className="text-[11px] sidebar:text-xs uppercase tracking-wider text-muted-foreground font-semibold">
Power to the people Power to the people