File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 22// This file defines the main HTML structure and integrates the Auth0 provider.
33
44import './globals.css' ; // Importing global styles.
5- import AuthProvider from './auth-provider' ; // Import our custom Auth0 Provider component.
5+ // import AuthProvider from './auth-provider'; // Temporarily disabled for demo
66import { Inter , JetBrains_Mono } from "next/font/google" ; // For typography.
77import { Metadata , Viewport } from 'next' ;
88import { Toaster } from 'sonner' ;
@@ -118,8 +118,8 @@ export default function RootLayout({
118118 < body className = "antialiased font-sans" >
119119 < StructuredData />
120120 < ErrorBoundary >
121- { /* AuthProvider makes user authentication state available throughout the app. */ }
122- < AuthProvider > { children } </ AuthProvider >
121+ { /* AuthProvider temporarily disabled for demo */ }
122+ { children }
123123 </ ErrorBoundary >
124124 < Toaster
125125 position = "top-right"
Original file line number Diff line number Diff line change 44// This is the heart of our app, designed to be simple but powerful
55
66import { useState , useCallback , useEffect } from 'react' ;
7- import { useUser } from '@auth0/nextjs-auth0/client' ;
7+ // import { useUser } from '@auth0/nextjs-auth0/client'; // Temporarily disabled for demo
88import dynamic from 'next/dynamic' ;
99import { motion , AnimatePresence } from 'framer-motion' ;
1010import { toast } from 'sonner' ;
@@ -454,8 +454,11 @@ const OutputFormatSelector: React.FC<{
454454} ;
455455
456456export default function HomePage ( ) {
457- // Auth state
458- const { user, error : userError , isLoading : userLoading } = useUser ( ) ;
457+ // Auth state - temporarily disabled for demo
458+ // const { user, error: userError, isLoading: userLoading } = useUser();
459+ const user = null ; // Mock user for demo
460+ const userError = null ;
461+ const userLoading = false ;
459462
460463 // Form state
461464 const [ selectedFile , setSelectedFile ] = useState < File | null > ( null ) ;
You can’t perform that action at this time.
0 commit comments