Skip to content

Commit

Permalink
Fixed deployment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanAuyeung authored and Kevin Cai committed Oct 12, 2023
1 parent e6d06ae commit 429406b
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions src/app/login/page.tsx
Original file line number Diff line number Diff line change
@@ -1,46 +1,14 @@
'use client';

import { useState } from 'react';
import Link from 'next/link';
import LoginForm from '../../components/LoginForm';

import {
GlobalStyle,
Fullscreen,
Img,
LoginBox,
LoginContent,
WelcomeSign,
Button,
} from './styles';

import {
handleSignUp,
signInWithEmail,
signOut,
} from '../../api/supabase/auth/auth';

export default function App() {
return (
<main>
<GlobalStyle />
<Fullscreen>
<Img />
<LoginBox>
<LoginContent>
<WelcomeSign>Welcome</WelcomeSign>
<LoginForm />
<Button>
<Link href="/storefront">Log In</Link>
</Button>
</LoginContent>
</LoginBox>
</Fullscreen>
</main>
);
}

export function Login() {
export default function Login() {
const [email, setEmail] = useState('');
const [password, setPassword] = useState('');

Expand Down

0 comments on commit 429406b

Please sign in to comment.