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,25 @@
import React from 'react';
import { createRoot } from 'react-dom/client';
import '@tamagui/core/reset.css';
import '../../css/app.css';
import { initializeTheme } from '@/hooks/use-appearance';
import App from './App';
const rootElement = document.getElementById('root');
if (!rootElement) {
throw new Error('Guest v2 root element not found.');
}
initializeTheme();
if (typeof window !== 'undefined' && !window.localStorage.getItem('theme')) {
window.localStorage.setItem('theme', 'light');
initializeTheme();
}
createRoot(rootElement).render(
<React.StrictMode>
<App />
</React.StrictMode>
);