-
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
1 parent
4220f87
commit 35902d1
Showing
11 changed files
with
838 additions
and
207 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,33 +0,0 @@ | |||
.App { | |||
text-align: center; | |||
} | |||
|
|||
.App-logo { | |||
animation: App-logo-spin infinite 20s linear; | |||
height: 40vmin; | |||
pointer-events: none; | |||
} | |||
|
|||
.App-header { | |||
background-color: #282c34; | |||
min-height: 100vh; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
font-size: calc(10px + 2vmin); | |||
color: white; | |||
} | |||
|
|||
.App-link { | |||
color: #61dafb; | |||
} | |||
|
|||
@keyframes App-logo-spin { | |||
from { | |||
transform: rotate(0deg); | |||
} | |||
to { | |||
transform: rotate(360deg); | |||
} | |||
} | |||
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,41 @@ | |||
import React from "react"; | |||
import "./homepage.styles.scss"; | |||
|
|||
const HomePage = () => ( | |||
<div className="homepage"> | |||
<div className="directory-menu"> | |||
<div className="menu-item"> | |||
<div className="content"> | |||
<h1 className="title">HATS</h1> | |||
<span className="subtitle">SHOP NOW</span> | |||
</div> | |||
</div> | |||
<div className="menu-item"> | |||
<div className="content"> | |||
<h1 className="title">JACKETS</h1> | |||
<span className="subtitle">SHOP NOW</span> | |||
</div> | |||
</div> | |||
<div className="menu-item"> | |||
<div className="content"> | |||
<h1 className="title">SNEAKERS </h1> | |||
<span className="subtitle">SHOP NOW</span> | |||
</div> | |||
</div> | |||
<div className="menu-item"> | |||
<div className="content"> | |||
<h1 className="title">WOMENS</h1> | |||
<span className="subtitle">SHOP NOW</span> | |||
</div> | |||
</div> | |||
<div className="menu-item"> | |||
<div className="content"> | |||
<h1 className="title">MENS</h1> | |||
<span className="subtitle">SHOP NOW</span> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
); | |||
|
|||
export default HomePage; |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,54 @@ | |||
.homepage { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
padding: 20px 80px; | |||
} | |||
|
|||
.directory-menu { | |||
width: 100%; | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: space-between; | |||
} | |||
|
|||
.menu-item { | |||
min-width: 30%; | |||
height: 240px; | |||
flex: 1 1 auto; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
border: 1px solid black; | |||
margin: 0 7.5px 15px; | |||
|
|||
&:first-child { | |||
margin-right: 7.5px; | |||
} | |||
|
|||
&:last-child { | |||
margin-left: 7.5px; | |||
} | |||
|
|||
.content { | |||
height: 90px; | |||
padding: 0 25px; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
border: 1px solid black; | |||
|
|||
.title { | |||
font-weight: bold; | |||
margin-bottom: 6px; | |||
font-size: 22px; | |||
color: #4a4a4a; | |||
} | |||
|
|||
.subtitle { | |||
font-weight: lighter; | |||
font-size: 16px; | |||
} | |||
} | |||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.