UNO refactor: panel-ize Auth card + Room friend-picker modal
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ export function AuthScreen() {
|
|||||||
return (
|
return (
|
||||||
<ScreenShell hideNav>
|
<ScreenShell hideNav>
|
||||||
<ScreenHeader title={t("auth.title")} />
|
<ScreenHeader title={t("auth.title")} />
|
||||||
<div className="glass rounded-3xl p-6 max-w-md mx-auto">
|
<div className="panel rounded-3xl p-6 max-w-md mx-auto mt-6">
|
||||||
<p className="text-center text-cream/60 text-sm mb-5">{t("auth.subtitle")}</p>
|
<p className="text-center text-cream/60 text-sm mb-5">{t("auth.subtitle")}</p>
|
||||||
|
|
||||||
{/* Active method: phone OTP */}
|
{/* Active method: phone OTP */}
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ export function RoomScreen() {
|
|||||||
animate={{ y: 0, opacity: 1 }}
|
animate={{ y: 0, opacity: 1 }}
|
||||||
exit={{ y: 40, opacity: 0 }}
|
exit={{ y: 40, opacity: 0 }}
|
||||||
onClick={(e) => e.stopPropagation()}
|
onClick={(e) => e.stopPropagation()}
|
||||||
className="glass rounded-3xl p-5 w-full max-w-sm max-h-[70vh] overflow-y-auto"
|
className="panel rounded-3xl p-5 w-full max-w-sm max-h-[70vh] overflow-y-auto"
|
||||||
>
|
>
|
||||||
<h3 className="text-lg font-black gold-text mb-3">{t("room.pickFriend")}</h3>
|
<h3 className="text-lg font-black gold-text mb-3">{t("room.pickFriend")}</h3>
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user