brand: feed empty-state hero says Eranos, not leftover Agora
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user