feat: add Supabase email auth with signup/login gate

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Christian Vidal Wolf
2026-06-12 12:44:12 +02:00
co-authored by Claude Sonnet 4.6
parent 76d901fcde
commit 47e2513b79
3 changed files with 211 additions and 1 deletions
+4 -1
View File
@@ -2,6 +2,7 @@ import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import ErrorBoundary from './components/ErrorBoundary';
import { AuthGate } from './components/AuthGate';
const rootElement = document.getElementById('root');
if (!rootElement) {
@@ -11,6 +12,8 @@ if (!rootElement) {
const root = ReactDOM.createRoot(rootElement);
root.render(
<ErrorBoundary>
<App />
<AuthGate>
<App />
</AuthGate>
</ErrorBoundary>
);