Skip to content

Commit

Permalink
Merge pull request #9 from calblueprint/casey/nav_login_store
Browse files Browse the repository at this point in the history
Casey/nav login store
  • Loading branch information
EthanAuyeung authored Oct 5, 2023
2 parents 352d6ee + c1d1b59 commit d2666ce
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
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

0 comments on commit d2666ce

Please sign in to comment.