upgrade to tamagui v2 and guest pwa overhaul

This commit is contained in:
Codex Agent
2026-02-02 13:01:20 +01:00
parent 2e78f3ab8d
commit 7c6e14ffe2
168 changed files with 47462 additions and 8914 deletions

View File

@@ -0,0 +1,58 @@
import React from 'react';
import { YStack, XStack } from '@tamagui/stacks';
import { SizableText as Text } from '@tamagui/text';
import { Sun, CloudSun, MoonStar } from 'lucide-react';
import MockupFrame from './MockupFrame';
import { MockupCard, MockupLabel, MockupTile } from './MockupPrimitives';
const sections = [
{
key: 'morning',
title: 'Morning glow',
icon: <Sun size={18} color="#F97316" />,
},
{
key: 'afternoon',
title: 'Afternoon energy',
icon: <CloudSun size={18} color="#F59E0B" />,
},
{
key: 'night',
title: 'Night sparkle',
icon: <MoonStar size={18} color="#6366F1" />,
},
];
export default function Mockup08Daybook() {
return (
<MockupFrame
title="Mockup 08 - Daybook"
subtitle="Morning/afternoon/night memory sections"
>
<MockupCard>
<Text fontSize="$5" fontFamily="$display" fontWeight="$8">
Today in moments
</Text>
<MockupLabel>Group memories by vibe, not just time.</MockupLabel>
</MockupCard>
<YStack gap="$4">
{sections.map((section) => (
<YStack key={section.key} gap="$2">
<XStack alignItems="center" gap="$2">
{section.icon}
<Text fontSize="$4" fontWeight="$7">
{section.title}
</Text>
</XStack>
<XStack gap="$2">
{[1, 2, 3].map((tile) => (
<MockupTile key={tile} flex={1} height={110} />
))}
</XStack>
</YStack>
))}
</YStack>
</MockupFrame>
);
}