// Phone mockup renderer — shows different app screens based on `screen` prop. // Content is designed to mirror the actual MeuCraque app (home, detail, profile, add game). function PhoneFrame({ children, className = "" }) { return (
{children}
); } function StatusBar() { return (
9:41
); } function BottomNav({ active = "home" }) { const items = [ { id: "home", label: "Home", icon: "home" }, { id: "games", label: "Jogos", icon: "sports_soccer" }, { id: "add", label: "Add", icon: "add_circle" }, { id: "profile", label: "Perfil", icon: "person" }, ]; return (
{items.map((it) => { const isActive = it.id === active; return (
{it.label}
); })}
); } // --- Screen: Home Dashboard --- function HomeScreen() { return (
{/* Top bar */}
MeuCraque
{/* Greeting */}

Olá, Glauber!

Confira as estatísticas da temporada.

{/* KPIs */}
{[ { label: "GOLS DO TIME", value: "42", acc: "+12%", accClass: "text-tertiary" }, { label: "GOLS DO ARTHUR", value: "18", acc: "Top Scorer", accClass: "text-primary", valClass: "text-primary" }, { label: "MÉDIA GOLS/JOGO", value: "1.4", acc: "estável", accClass: "text-on-surface-variant" }, { label: "MINUTOS", value: "840", acc: "MIN", accClass: "text-on-surface-variant" }, ].map((k, i) => (

{k.label}

{k.value} {k.acc}
))}
{/* Aproveitamento */}

Aproveitamento

82%
{[ { c: "bg-tertiary", l: "V", v: "12" }, { c: "bg-warning", l: "E", v: "4" }, { c: "bg-error", l: "D", v: "3" }, ].map((x, i) => (
{x.l} {x.v}
))}
{/* Gols por campeonato */}

Gols por campeonato

{[ { l: "Copa Escolar", g: 8, w: "80%" }, { l: "Torneio Regional", g: 6, w: "60%" }, { l: "Amistosos", g: 4, w: "40%" }, ].map((b, i) => (
{b.l} {b.g} Gols
))}
{/* FAB */}
); } // --- Screen: Match detail --- function MatchDetailScreen() { return (
Detalhe do Jogo
{/* Victory card */}
VITÓRIA

CAAS Futmax 3 x 1 Lobos AC

24/05/2024 • Copa Regional

{[ { i: "sports_soccer", v: "1", l: "GOLS" }, { i: "handshake", v: "1", l: "ASSIST." }, { i: "shield", v: "0", l: "DEFESAS" }, { i: "schedule", v: "40", l: "MINUTOS" }, ].map((s, i) => (
{s.v} {s.l}
))}

Time

CAAS Futmax

Adversário

Lobos AC

Local

Arena Central, Av. Principal 123

); } // --- Screen: Profile --- function ProfileScreen() { return (
Perfil

Glauber

glauber@email.com

Membro desde Mar 2026

Meus Atletas

1 ATLETA

Arthur Silva

Sub-10 Ala

Meus Times

CAAS Futmax

Meus Campeonatos

Copa Interior
); } // --- Screen: New game (form) --- function NovoJogoScreen() { return (
Novo Jogo Salvar
{[ { l: "Time", v: "CAAS Futmax", i: "groups" }, { l: "Adversário", v: "Lobos AC", i: "flag" }, { l: "Data", v: "24/05/2024", i: "event" }, { l: "Campeonato", v: "Copa Regional", i: "emoji_events" }, { l: "Local", v: "Arena Central", i: "location_on" }, ].map((f, i) => (

{f.l}

{f.v}

))}

Placar

CAAS

3
x

Lobos

1
); } function PhoneMock({ screen = "home", className = "" }) { const screens = { home: , match: , profile: , novo: , }; return {screens[screen] || screens.home}; } window.PhoneMock = PhoneMock; window.PhoneFrame = PhoneFrame;