diff --git a/src/components/HomeScreen.tsx b/src/components/HomeScreen.tsx index 11fe9b7..25fc88a 100644 --- a/src/components/HomeScreen.tsx +++ b/src/components/HomeScreen.tsx @@ -84,16 +84,23 @@ export function HomeScreen() { -
- + {/* logo + title on one row (no overflow); subtitle beneath the title */} +
+
+ +
+
+

+ {t("app.title")} +

+

{t("app.subtitle")}

+
+
+
+
-

- {t("app.title")} -

-

{t("app.subtitle")}

- {/* HERO: play online */} diff --git a/src/components/screens/ProfileScreen.tsx b/src/components/screens/ProfileScreen.tsx index 80e5c68..140b1af 100644 --- a/src/components/screens/ProfileScreen.tsx +++ b/src/components/screens/ProfileScreen.tsx @@ -1,7 +1,7 @@ "use client"; import { motion } from "framer-motion"; -import { Check, ChevronLeft, Crown, Eye, EyeOff, Lock, Music, Pencil, Star, Upload, Users, Volume2 } from "lucide-react"; +import { Check, ChevronLeft, Crown, Eye, EyeOff, Lock, LogOut, Music, Pencil, Star, Upload, Users, Volume2 } from "lucide-react"; import { useRef, useState } from "react"; import { ScreenHeader, ScreenShell } from "@/components/online/ScreenHeader"; import { RankBadge } from "@/components/online/RankBadge"; @@ -35,6 +35,8 @@ export function ProfileScreen() { const profile = useSessionStore((s) => s.profile); const updateProfile = useSessionStore((s) => s.updateProfile); const upgradePlan = useSessionStore((s) => s.upgradePlan); + const signOut = useSessionStore((s) => s.signOut); + const isAuthed = useSessionStore((s) => s.isAuthed); const go = useUIStore((st) => st.go); const fileRef = useRef(null); const [editing, setEditing] = useState(false); @@ -346,6 +348,20 @@ export function ProfileScreen() { })}
+ + {/* Sign out */} + {isAuthed && ( + + )} ); }