-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:calblueprint/shanti-project into ke…
…vincai/cart_functional
- Loading branch information
Showing
11 changed files
with
81 additions
and
11 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import Image from 'next/image'; | ||
|
||
import Link from 'next/link'; | ||
import React from 'react'; | ||
|
||
import { NavBarComp, ButtonsDiv } from '../styles/components'; | ||
|
||
export default function NavBar() { | ||
return ( | ||
<NavBarComp> | ||
<Link href="../storefront"> | ||
<Image | ||
src="/images/ShantiLogo.png" | ||
alt="logo pic" | ||
width={125} | ||
height={70} | ||
/> | ||
</Link> | ||
|
||
<ButtonsDiv> | ||
<Link href="../profileScreen"> | ||
<Image | ||
src="/images/Profile.png" | ||
alt="logo pic" | ||
width={40} | ||
height={40} | ||
/> | ||
</Link> | ||
|
||
<Link href="../checkout"> | ||
<Image src="/images/Cart.png" alt="logo pic" width={30} height={40} /> | ||
</Link> | ||
</ButtonsDiv> | ||
</NavBarComp> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
import styled, { createGlobalStyle } from 'styled-components'; | ||
|
||
const COMPONENTS = {}; | ||
|
||
export default COMPONENTS; | ||
|
||
export const GlobalStyle = createGlobalStyle` | ||
body { | ||
background:white; | ||
} | ||
`; | ||
|
||
export const NavBarComp = styled.nav` | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
padding-left: 30px; | ||
padding-right: 30px; | ||
height: 200px; | ||
padding-top: 20px; | ||
width: 100%; | ||
background: var(--Light-Periwinkle, #f4f7ff); | ||
box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.1); | ||
`; | ||
|
||
export const ButtonsDiv = styled.div` | ||
width: 200px; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-around; | ||
padding-top: 15px; | ||
`; |