-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
de70b65
commit 57fedd8
Showing
7 changed files
with
299 additions
and
142 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,21 @@ | ||
import React from 'react'; | ||
import Header from './Header'; | ||
import style from './Home.module.css'; | ||
import Navbar from './Navbar'; | ||
import CreateRecipe from '../recipe/CreateRecipe'; | ||
|
||
const Explore: React.FC = () => { | ||
return ( | ||
<> | ||
<div className={style.homePage}> | ||
<Header /> | ||
<div className={style.homeContent}> | ||
<CreateRecipe /> | ||
</div> | ||
<Navbar /> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default Explore; |
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 |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
display: block; | ||
overflow-y: scroll; | ||
overflow-x: hidden; | ||
height: 80vh; | ||
height: 79vh; | ||
} |
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,36 +1,51 @@ | ||
.container{ | ||
display: grid; | ||
grid-auto-columns: 1fr; | ||
max-width: 500px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
margin-top: 5rem; | ||
gap: 1rem; | ||
} | ||
|
||
li{ | ||
display: flex; | ||
flex-flow: row nowrap; | ||
gap: 1rem; | ||
} | ||
|
||
label{ | ||
.container { | ||
grid-auto-columns: 1fr; | ||
max-width: 500px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
.container h2, h4 { | ||
text-align: center; | ||
color: #333333; | ||
} | ||
|
||
li { | ||
display: flex; | ||
flex-flow: row nowrap; | ||
gap: 1rem; | ||
} | ||
|
||
label { | ||
margin-right: 0.5rem; | ||
} | ||
|
||
input{ | ||
.formChild { | ||
margin: 1rem 0; | ||
} | ||
|
||
input { | ||
width: 100%; | ||
border: 2px; | ||
border-style: solid; | ||
border-color: #F0F0F0; | ||
border-radius: 20px; | ||
border-width: .1em; | ||
border-radius: 5px; | ||
height: 1.4rem; | ||
} | ||
|
||
input:valid{ | ||
border-color: green; | ||
} | ||
input:valid { | ||
background-color: #EFF7ED; | ||
} | ||
|
||
input:invalid{ | ||
border-color: red; | ||
} | ||
input:invalid { | ||
background-color: #F7EEF8; | ||
} | ||
|
||
button{ | ||
padding: 0.3rem; | ||
margin: 0.5rem; | ||
} | ||
.btnAddContainer { | ||
width: 50vw; | ||
display: flex; | ||
justify-content: center; | ||
padding: 2rem; | ||
} |
Oops, something went wrong.