diff --git a/app/auth/page.tsx b/app/auth/page.tsx
deleted file mode 100644
index 183d858..0000000
--- a/app/auth/page.tsx
+++ /dev/null
@@ -1,67 +0,0 @@
-"use client";
-import React, { useState } from 'react';
-import { UserAuthForm } from './components/user-auth-form';
-
-const AuthenticationScreen = () => {
- const [isAuthenticated, setIsAuthenticated] = useState(false);
-
- const handleLogin = async () => {
- try {
- localStorage.setItem('authToken', 'dummy-token');
- setIsAuthenticated(true);
- alert('Login Successful');
- } catch (error) {
- console.error('Login error:', error);
- alert('Login Error');
- }
- };
-
- const handleLogout = async () => {
- try {
- localStorage.removeItem('authToken');
- setIsAuthenticated(false);
- alert('Logout Successful');
- } catch (error) {
- console.error('Logout error:', error);
- alert('Logout Error');
- }
- };
-
- return (
-
-
-
-
-
-
-
Welcome to General Bots Online
-
-
-
"Errar é Humano."
-
General Bots
-
-
-
-
-
-
Create an account
-
Enter your email below to create your account
-
-
-
-
-
- By clicking continue, you agree to our Terms of Service and Privacy Policy.
-
-
-
-
- );
-};
-
-export default AuthenticationScreen;
diff --git a/app/page.tsx b/app/page.tsx
index bf6828d..d3961f6 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,9 +1,67 @@
-// app/page.tsx (your home page)
-export default function Home() {
+"use client";
+import React, { useState } from 'react';
+import { UserAuthForm } from '../components/user-auth-form';
+
+const AuthenticationScreen = () => {
+ const [isAuthenticated, setIsAuthenticated] = useState(false);
+
+ const handleLogin = async () => {
+ try {
+ localStorage.setItem('authToken', 'dummy-token');
+ setIsAuthenticated(true);
+ alert('Login Successful');
+ } catch (error) {
+ console.error('Login error:', error);
+ alert('Login Error');
+ }
+ };
+
+ const handleLogout = async () => {
+ try {
+ localStorage.removeItem('authToken');
+ setIsAuthenticated(false);
+ alert('Logout Successful');
+ } catch (error) {
+ console.error('Logout error:', error);
+ alert('Logout Error');
+ }
+ };
+
return (
-
- Welcome to My Tauri App
- This is your home page
-
- )
-}
\ No newline at end of file
+
+
+
+
+
+
+
Welcome to General Bots Online
+
+
+
"Errar é Humano."
+
General Bots
+
+
+
+
+
+
Create an account
+
Enter your email below to create your account
+
+
+
+
+
+ By clicking continue, you agree to our Terms of Service and Privacy Policy.
+
+
+
+
+ );
+};
+
+export default AuthenticationScreen;
diff --git a/app/auth/components/user-auth-form.tsx b/components/user-auth-form.tsx
similarity index 100%
rename from app/auth/components/user-auth-form.tsx
rename to components/user-auth-form.tsx
diff --git a/tsconfig.json b/tsconfig.json
index b2b2419..801d5cb 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -40,7 +40,7 @@
"src",
".next/types/**/*.ts"
-, "app" ],
+, "app", "components/user-auth-form.tsx" ],
"references": [
{
"path": "./tsconfig.node.json"