-
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.
Merge pull request #23 from codefordenver/dh-header-nav
Dh header nav
- Loading branch information
Showing
17 changed files
with
92,955 additions
and
3,474 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44,056 changes: 44,056 additions & 0 deletions
44,056
frontend/public/assets/Exit_Plan-SecondaryLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,13 @@ | ||
import React from 'react'; | ||
import './App.scss'; | ||
import Header from '../Header/Header.js'; | ||
|
||
const App = () => { | ||
return ( | ||
<main className="app-wrapper"> | ||
<Header /> | ||
</main> | ||
) | ||
}; | ||
|
||
export default App; |
File renamed without changes.
File renamed without changes.
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 React from 'react'; | ||
import Nav from '../Nav/Nav.js'; | ||
import './Header.scss'; | ||
|
||
const Header = () => { | ||
return ( | ||
<header> | ||
<div role="logo-container" className="header-logo-container"> | ||
<img className="header-logo" src="./assets/Exit_Plan-SecondaryLogo.svg" alt="exit plan logo"/> | ||
</div> | ||
<Nav/> | ||
</header> | ||
) | ||
}; | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@import '../index.scss'; | ||
|
||
header { | ||
background-color: $dark-blue; | ||
height: 100px; | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
|
||
.header-logo { | ||
height: 80px; | ||
width: 200px; | ||
margin-top: 10px; | ||
padding: 10px; | ||
} | ||
|
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,17 @@ | ||
import React from 'react'; | ||
import './Nav.scss'; | ||
|
||
const navFilters = ['HOME', 'ABOUT', 'RESOURCES', 'ARTICLES', 'CONTACT']; | ||
|
||
const Nav = () => { | ||
const filterList = navFilters.map(filter => (<li>{filter}</li>)) | ||
return( | ||
<nav> | ||
<ul> | ||
{ filterList } | ||
</ul> | ||
</nav> | ||
) | ||
}; | ||
|
||
export default Nav; |
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,20 @@ | ||
@import '../index.scss'; | ||
|
||
nav { | ||
margin-right: 30px; | ||
padding: 20px; | ||
} | ||
|
||
ul { | ||
display: flex; | ||
} | ||
|
||
li { | ||
list-style: none; | ||
cursor: pointer; | ||
color: $off-white; | ||
font-family: Helvetica, sans-serif; | ||
font-size: 2rem; | ||
font-weight: 400; | ||
padding: 15px; | ||
} |
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,8 @@ | ||
// Colors | ||
$dark-blue: #1B1464; | ||
$light-blue: #AFC3E0; | ||
$off-white: #F5F5F5; | ||
|
||
// Fonts | ||
@import url('https://fonts.googleapis.com/css?family=Gothic+A1'); | ||
$font-family: 'Gothic A1', sans-serif; |
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,7 @@ | ||
@import 'variables'; | ||
|
||
* { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} |
Oops, something went wrong.