-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
165 additions
and
217 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
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,16 @@ | ||
import { Outlet } from 'react-router-dom'; | ||
|
||
import Footer from './footer'; | ||
import NavBar from './navbar'; | ||
|
||
const Layout = () => { | ||
return ( | ||
<> | ||
<NavBar /> | ||
|
||
<Outlet /> | ||
<Footer /> | ||
</> | ||
); | ||
}; | ||
export default Layout; |
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 |
---|---|---|
@@ -1,5 +1,36 @@ | ||
const Home = () => { | ||
return <h1>Home</h1>; | ||
}; | ||
import { useState } from 'react'; | ||
|
||
import Burger from '../components/burger'; | ||
import Card from '../components/card'; | ||
import '../style/home.scss'; | ||
|
||
function Home() { | ||
const [input, setInput] = useState(''); | ||
|
||
return ( | ||
<body className='home-page'> | ||
<div> | ||
<div className='burger-home'> | ||
<Burger /> | ||
<img className='glass' src='/pictures/search.png' alt='' /> | ||
<input | ||
className='search' | ||
type='text' | ||
placeholder='Search' | ||
value={input} | ||
onChange={(e) => setInput(e.target.value)} | ||
/> | ||
</div> | ||
|
||
<main className='main'> | ||
<Card /> | ||
</main> | ||
</div> | ||
<nav className='arrow'> | ||
<input type='image' id='arrows' alt='Login' src='/pictures/arrow-left.png' /> | ||
<input type='image' id='arrows' alt='Login' src='/pictures/arrow-right.png' /> | ||
</nav> | ||
</body> | ||
); | ||
} | ||
export default Home; |
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
Oops, something went wrong.