upgrade to tamagui v2 and guest pwa overhaul
This commit is contained in:
@@ -33,13 +33,13 @@ export function MobileInstallBanner({
|
||||
|
||||
return (
|
||||
<MobileCard
|
||||
space={isCompact ? '$1.5' : '$2'}
|
||||
gap={isCompact ? '$1.5' : '$2'}
|
||||
borderColor={border}
|
||||
backgroundColor={surfaceMuted}
|
||||
padding={isCompact ? '$2' : '$3'}
|
||||
>
|
||||
<XStack alignItems="center" justifyContent="space-between" gap="$2">
|
||||
<XStack alignItems="center" space="$2" flex={1}>
|
||||
<XStack alignItems="center" gap="$2" flex={1}>
|
||||
<XStack
|
||||
width={isCompact ? 32 : 36}
|
||||
height={isCompact ? 32 : 36}
|
||||
@@ -50,7 +50,7 @@ export function MobileInstallBanner({
|
||||
>
|
||||
{isPrompt ? <Download size={16} color={primary} /> : <Share2 size={16} color={primary} />}
|
||||
</XStack>
|
||||
<YStack flex={1} space="$0.5">
|
||||
<YStack flex={1} gap="$0.5">
|
||||
<Text fontSize={isCompact ? '$xs' : '$sm'} fontWeight="800" color={textStrong}>
|
||||
{t('installBanner.title', 'Install Fotospiel Admin')}
|
||||
</Text>
|
||||
@@ -61,7 +61,7 @@ export function MobileInstallBanner({
|
||||
</Text>
|
||||
</YStack>
|
||||
</XStack>
|
||||
<XStack alignItems="center" space="$2">
|
||||
<XStack alignItems="center" gap="$2">
|
||||
{isPrompt && onInstall && isCompact ? (
|
||||
<Pressable onPress={onInstall}>
|
||||
<Text fontSize={10} fontWeight="700" color={primary}>
|
||||
|
||||
Reference in New Issue
Block a user