-
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
12 changed files
with
123 additions
and
41 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
Binary file not shown.
Binary file removed
BIN
-53.1 KB
src/assets/group-happy-friends-having-breakfast-600w-1201677928.webp
Binary file not shown.
Binary file not shown.
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,20 +1,21 @@ | ||
import React, { Fragment } from "react"; | ||
import Banner from "../../assets/top-view-green-leaf-dolma-with-seasonings-dark-surface.jpg"; | ||
import classes from "./Header.module.css"; | ||
import { Fragment } from "react"; | ||
|
||
import HeaderCartButton from "./HeaderCartButton"; | ||
import mealsImage from "../../assets/top-view-green-leaf-dolma-with-seasonings-dark-surface.jpg"; | ||
import classes from "./Header.module.css"; | ||
|
||
const Header = (props) => { | ||
return ( | ||
<Fragment> | ||
<header className={classes.header}> | ||
<h1>Bison</h1> | ||
<h1>ReactMeals</h1> | ||
<HeaderCartButton onClick={props.onShowCart} /> | ||
|
||
</header> | ||
<div className={classes["main-image"]}> | ||
<img src={Banner} alt="cover img" /> | ||
<img src={mealsImage} alt="A table full of delicious food!" /> | ||
</div> | ||
</Fragment> | ||
); | ||
}; | ||
|
||
export default Header; |
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 |
---|---|---|
|
@@ -45,4 +45,4 @@ const MealItemForm = (props) => { | |
); | ||
}; | ||
|
||
export default MealItemForm; | ||
export default MealItemForm; |
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