-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ch68] Resolve conflicts after rebase
- Loading branch information
Showing
10 changed files
with
60 additions
and
107 deletions.
There are no files selected for viewing
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,26 @@ | ||
import React from 'react' | ||
import { useRouter } from 'next/router' | ||
|
||
const HomeSearchSection = () => { | ||
const router = useRouter() | ||
|
||
const onButtonClick = () => { | ||
router.push('product-list') | ||
} | ||
return ( | ||
<section className="home-section"> | ||
<header className="home-section__header"> | ||
<h2 className="home-section__title">Sample 1</h2> | ||
<p className="home-section__description"> | ||
This is a sample description | ||
</p> | ||
</header> | ||
<div className="home-search"> | ||
<button className="home-search__button" onClick={onButtonClick}> | ||
Search | ||
</button> | ||
</div> | ||
</section> | ||
) | ||
} | ||
export default HomeSearchSection |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
import Footer from '../components/Footer' | ||
import Navbar from '../components/Navbar' | ||
|
||
const ProductList = () => ( | ||
<div className="layout-sign-up"> | ||
<header> | ||
<Navbar /> | ||
</header> | ||
<main> | ||
{/* TODO: Add component here */} | ||
</main> | ||
<footer> | ||
<Footer /> | ||
</footer> | ||
</div> | ||
) | ||
|
||
export default ProductList |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
.home-search { | ||
@include flex-center(); | ||
@include respond-above('md') { | ||
// TODO | ||
} | ||
|
||
&__button { | ||
padding: rem(5px 10px); | ||
border-radius: rem(3px); | ||
text-decoration: none; | ||
} | ||
} |
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