upgrade to tamagui v2 and guest pwa overhaul
This commit is contained in:
@@ -202,9 +202,9 @@ export default function MobileLoginPage() {
|
||||
paddingVertical="$5"
|
||||
style={{ ...safeAreaStyle, background: ADMIN_GRADIENTS.loginBackground }}
|
||||
>
|
||||
<YStack width="100%" maxWidth={520} space="$4">
|
||||
<YStack width="100%" maxWidth={520} gap="$4">
|
||||
<MobileCard backgroundColor="rgba(15, 23, 42, 0.6)" borderColor="rgba(255,255,255,0.12)">
|
||||
<YStack alignItems="center" space="$3">
|
||||
<YStack alignItems="center" gap="$3">
|
||||
<XStack
|
||||
width={56}
|
||||
height={56}
|
||||
@@ -217,7 +217,7 @@ export default function MobileLoginPage() {
|
||||
>
|
||||
<img src="/logo-transparent-md.png" alt={t('auth.logoAlt', 'Fotospiel')} width={40} height={40} />
|
||||
</XStack>
|
||||
<YStack alignItems="center" space="$1">
|
||||
<YStack alignItems="center" gap="$1">
|
||||
<Text fontSize="$xl" fontWeight="800" color="white" textAlign="center">
|
||||
{t('login.panel_title', 'Fotospiel.App Event Login')}
|
||||
</Text>
|
||||
@@ -230,7 +230,7 @@ export default function MobileLoginPage() {
|
||||
|
||||
<MobileCard backgroundColor={surface} borderColor={border}>
|
||||
<form onSubmit={handleSubmit}>
|
||||
<YStack space="$3">
|
||||
<YStack gap="$3">
|
||||
{oauthMessage ? (
|
||||
<YStack
|
||||
borderRadius={12}
|
||||
@@ -313,7 +313,7 @@ export default function MobileLoginPage() {
|
||||
pressStyle={{ opacity: 0.9 }}
|
||||
style={{ boxShadow: '0 12px 24px rgba(255, 90, 95, 0.25)' }}
|
||||
>
|
||||
<XStack alignItems="center" space="$2">
|
||||
<XStack alignItems="center" gap="$2">
|
||||
<Loader2 size={16} className={isSubmitting ? 'animate-spin' : ''} />
|
||||
<Text fontSize="$sm" color="white" fontWeight="800">
|
||||
{isSubmitting ? t('login.loading', 'Anmeldung …') : t('login.submit', 'Anmelden')}
|
||||
@@ -332,7 +332,7 @@ export default function MobileLoginPage() {
|
||||
borderWidth={1}
|
||||
color={text}
|
||||
>
|
||||
<XStack alignItems="center" space="$2">
|
||||
<XStack alignItems="center" gap="$2">
|
||||
{isRedirectingToGoogle ? (
|
||||
<Loader2 size={16} className="animate-spin" />
|
||||
) : (
|
||||
@@ -355,7 +355,7 @@ export default function MobileLoginPage() {
|
||||
borderWidth={1}
|
||||
color={text}
|
||||
>
|
||||
<XStack alignItems="center" space="$2">
|
||||
<XStack alignItems="center" gap="$2">
|
||||
{isRedirectingToFacebook ? (
|
||||
<Loader2 size={16} className="animate-spin" />
|
||||
) : (
|
||||
@@ -380,7 +380,7 @@ export default function MobileLoginPage() {
|
||||
}}
|
||||
/>
|
||||
|
||||
<YStack alignItems="center" space="$2">
|
||||
<YStack alignItems="center" gap="$2">
|
||||
<Text fontSize="$xs" color={muted} textAlign="center">
|
||||
{t('login.support', 'Fragen? Schreib uns an support@fotospiel.de oder antworte direkt auf deine Einladung.')}
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user