Files
fotospiel-app/resources/js/guest-v2/components/StandaloneShell.tsx
Codex Agent 6062b4201b
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled
Update guest v2 home and tasks experience
2026-02-03 18:59:30 +01:00

26 lines
625 B
TypeScript

import React from 'react';
import { YStack } from '@tamagui/stacks';
import AmbientBackground from './AmbientBackground';
type StandaloneShellProps = {
children: React.ReactNode;
compact?: boolean;
};
export default function StandaloneShell({ children, compact = false }: StandaloneShellProps) {
return (
<AmbientBackground>
<YStack
minHeight="100vh"
padding="$4"
paddingTop={compact ? '$4' : '$6'}
paddingBottom="$6"
gap="$4"
style={{ paddingBottom: 'calc(var(--space-6) + 30px)' }}
>
{children}
</YStack>
</AmbientBackground>
);
}