Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Casey/nav login store #9

Merged
merged 4 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions src/app/checkout/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
export default function Checkout() {
return (
<main>
<div>Checkout</div>
</main>
);
}

return (
<main>
<div>Checkout</div>
</main>
);
}
7 changes: 5 additions & 2 deletions src/app/login/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use client';

import LoginForm from '../../../components/LoginForm';
import Link from 'next/link';
import LoginForm from '../../components/LoginForm';

import {
GlobalStyle,
Expand All @@ -22,7 +23,9 @@ export default function App() {
<LoginContent>
<WelcomeSign>Welcome</WelcomeSign>
<LoginForm />
<Button>Log In</Button>
<Button>
<Link href="/storefront">Log In</Link>
</Button>
</LoginContent>
</LoginBox>
</Fullscreen>
Expand Down
15 changes: 8 additions & 7 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import Link from 'next/link';

export default function Checkout() {
return (
<main>
<div>Landing Page</div>
</main>
);
}

return (
<main>
<Link href="/login">Login</Link>
</main>
);
}
2 changes: 1 addition & 1 deletion src/components/InputFields.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import { FormHeaders, Input } from '../app/screens/login/styles';
import { FormHeaders, Input } from '../app/login/styles';

export default function InputFields(props: {
text: string;
Expand Down