-
Notifications
You must be signed in to change notification settings - Fork 896
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactored both layouts into one layout * fixed error in yarn.lock file caused by branch merge updated about text * refactored scss file directory
- Loading branch information
Michael
authored
Feb 19, 2017
1 parent
8817f0f
commit fe11bb8
Showing
15 changed files
with
64 additions
and
80 deletions.
There are no files selected for viewing
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
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,29 +1,31 @@ | ||
import React, { PropTypes } from 'react'; | ||
import Helmet from 'react-helmet'; | ||
|
||
import Header from './components/Template/Header'; | ||
import Nav from './components/Template/Nav'; | ||
import Header from '../components/Template/Header'; | ||
import Nav from '../components/Template/Nav'; | ||
|
||
const App = ({ children }) => ( | ||
const Main = props => ( | ||
<div id="wrapper"> | ||
<Helmet titleTemplate="%s | Michael D'Angelo" defaultTitle="Michael D'Angelo" /> | ||
<Header /> | ||
<div id="main"> | ||
{children} | ||
{props.children} | ||
</div> | ||
<Nav /> | ||
{props.fullPage ? '' : <Nav />} | ||
</div> | ||
); | ||
|
||
App.propTypes = { | ||
Main.propTypes = { | ||
children: PropTypes.oneOfType([ | ||
PropTypes.arrayOf(PropTypes.node), | ||
PropTypes.node, | ||
]), | ||
fullPage: PropTypes.boolean, | ||
}; | ||
|
||
App.defaultProps = { | ||
Main.defaultProps = { | ||
children: null, | ||
fullPage: false, | ||
}; | ||
|
||
export default App; | ||
export default Main; |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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 |
---|---|---|
|
@@ -222,13 +222,17 @@ async-foreach@^0.1.3: | |
version "0.1.3" | ||
resolved "https://registry.yarnpkg.com/async-foreach/-/async-foreach-0.1.3.tgz#36121f845c0578172de419a97dbeb1d16ec34542" | ||
|
||
[email protected], [email protected], async@~0.2.6, async@~0.2.9: | ||
[email protected]: | ||
version "0.2.9" | ||
resolved "https://registry.yarnpkg.com/async/-/async-0.2.9.tgz#df63060fbf3d33286a76aaf6d55a2986d9ff8619" | ||
|
||
[email protected], async@~0.2.6, async@~0.2.9: | ||
version "0.2.10" | ||
resolved "https://registry.yarnpkg.com/async/-/async-0.2.10.tgz#b6bbe0b0674b9d719708ca38de8c237cb526c3d1" | ||
|
||
async@^2.0.1, async@^2.1.2: | ||
version "2.1.4" | ||
resolved "https://registry.yarnpkg.com/async/-/async-2.1.4.tgz#2d2160c7788032e4dd6cbe2502f1f9a2c8f6cde4" | ||
version "2.1.5" | ||
resolved "https://registry.yarnpkg.com/async/-/async-2.1.5.tgz#e587c68580994ac67fc56ff86d3ac56bdbe810bc" | ||
dependencies: | ||
lodash "^4.14.0" | ||
|
||
|
@@ -1058,10 +1062,10 @@ browserify-zlib@^0.1.4: | |
pako "~0.2.0" | ||
|
||
browserslist@^1.0.1, browserslist@^1.5.2, browserslist@^1.7.2: | ||
version "1.7.3" | ||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.7.3.tgz#25ead9c917b278ad668b83f39c8025697797b2ab" | ||
version "1.7.4" | ||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.7.4.tgz#56a12da876f787223743a866224ccd8f97014628" | ||
dependencies: | ||
caniuse-db "^1.0.30000623" | ||
caniuse-db "^1.0.30000624" | ||
electron-to-chromium "^1.2.2" | ||
|
||
buffer-shims@^1.0.0: | ||
|
@@ -1147,9 +1151,9 @@ caniuse-api@^1.5.2: | |
lodash.memoize "^4.1.0" | ||
lodash.uniq "^4.3.0" | ||
|
||
caniuse-db@^1.0.30000346, caniuse-db@^1.0.30000623: | ||
version "1.0.30000623" | ||
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000623.tgz#6e9dc4385d00a8f587efbb23fcbed7916f186e5d" | ||
caniuse-db@^1.0.30000346, caniuse-db@^1.0.30000623, caniuse-db@^1.0.30000624: | ||
version "1.0.30000624" | ||
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000624.tgz#554b87547895e36f5fe128f4b7448a2ea5bf2213" | ||
|
||
caseless@~0.11.0: | ||
version "0.11.0" | ||
|
@@ -1663,13 +1667,13 @@ date-now@^0.1.4: | |
version "0.1.4" | ||
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b" | ||
|
||
debug@2, [email protected], debug@^2.1.1, debug@^2.2.0: | ||
debug@2, [email protected], debug@^2.2.0: | ||
version "2.6.1" | ||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.1.tgz#79855090ba2c4e3115cc7d8769491d58f0491351" | ||
dependencies: | ||
ms "0.7.2" | ||
|
||
[email protected], debug@~2.2.0: | ||
[email protected], debug@^2.1.1, debug@~2.2.0: | ||
version "2.2.0" | ||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da" | ||
dependencies: | ||
|
@@ -2751,8 +2755,8 @@ html-entities@^1.2.0: | |
resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.0.tgz#41948caf85ce82fed36e4e6a0ed371a6664379e2" | ||
|
||
html-minifier@^3.2.3: | ||
version "3.3.1" | ||
resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.3.1.tgz#dd38e60571537bf34a8171889c64fce73c45edad" | ||
version "3.3.3" | ||
resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.3.3.tgz#5e85516b2aff3c3fb9bda351879375868386d6f6" | ||
dependencies: | ||
camel-case "3.0.x" | ||
clean-css "4.0.x" | ||
|
@@ -3063,7 +3067,7 @@ is-plain-obj@^1.0.0: | |
|
||
is-posix-bracket@^0.1.0: | ||
version "0.1.1" | ||
resolved "http://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" | ||
resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" | ||
|
||
is-primitive@^2.0.0: | ||
version "2.0.0" | ||
|
@@ -3078,8 +3082,10 @@ is-redirect@^1.0.0: | |
resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" | ||
|
||
is-regex@^1.0.3: | ||
version "1.0.3" | ||
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.3.tgz#0d55182bddf9f2fde278220aec3a75642c908637" | ||
version "1.0.4" | ||
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" | ||
dependencies: | ||
has "^1.0.1" | ||
|
||
is-resolvable@^1.0.0: | ||
version "1.0.0" | ||
|
@@ -4339,8 +4345,8 @@ postcss-zindex@^2.0.1: | |
uniqs "^2.0.0" | ||
|
||
postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0.14, postcss@^5.0.16, postcss@^5.0.2, postcss@^5.0.4, postcss@^5.0.5, postcss@^5.0.6, postcss@^5.0.8, postcss@^5.2.13: | ||
version "5.2.13" | ||
resolved "https://registry.yarnpkg.com/postcss/-/postcss-5.2.13.tgz#1be52a32cf2ef58c0d75f1aedb3beabcf257cef3" | ||
version "5.2.14" | ||
resolved "https://registry.yarnpkg.com/postcss/-/postcss-5.2.14.tgz#47b4fbde363fd4f81e547f7e0e43d6d300267330" | ||
dependencies: | ||
chalk "^1.1.3" | ||
js-base64 "^2.1.9" | ||
|
@@ -4518,13 +4524,13 @@ raw-loader@^0.5.1: | |
resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-0.5.1.tgz#0c3d0beaed8a01c966d9787bf778281252a979aa" | ||
|
||
rc@^1.0.1, rc@~1.1.6: | ||
version "1.1.6" | ||
resolved "https://registry.yarnpkg.com/rc/-/rc-1.1.6.tgz#43651b76b6ae53b5c802f1151fa3fc3b059969c9" | ||
version "1.1.7" | ||
resolved "https://registry.yarnpkg.com/rc/-/rc-1.1.7.tgz#c5ea564bb07aff9fd3a5b32e906c1d3a65940fea" | ||
dependencies: | ||
deep-extend "~0.4.0" | ||
ini "~1.3.0" | ||
minimist "^1.2.0" | ||
strip-json-comments "~1.0.4" | ||
strip-json-comments "~2.0.1" | ||
|
||
react-burger-menu@^1.10.12: | ||
version "1.10.12" | ||
|
@@ -4701,8 +4707,8 @@ regenerate@^1.2.1: | |
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.2.tgz#d1941c67bad437e1be76433add5b385f95b19260" | ||
|
||
regenerator-runtime@^0.10.0: | ||
version "0.10.1" | ||
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.1.tgz#257f41961ce44558b18f7814af48c17559f9faeb" | ||
version "0.10.3" | ||
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.3.tgz#8c4367a904b51ea62a908ac310bf99ff90a82a3e" | ||
|
||
[email protected]: | ||
version "0.9.8" | ||
|
@@ -4714,7 +4720,7 @@ [email protected]: | |
|
||
regex-cache@^0.4.2: | ||
version "0.4.3" | ||
resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" | ||
resolved "http://registry.npmjs.org/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" | ||
dependencies: | ||
is-equal-shallow "^0.1.3" | ||
is-primitive "^2.0.0" | ||
|
@@ -4860,7 +4866,13 @@ right-align@^0.1.1: | |
dependencies: | ||
align-text "^0.1.1" | ||
|
||
rimraf@2, [email protected], rimraf@^2.2.8, rimraf@^2.4.0, rimraf@^2.5.4, rimraf@~2.5.1, rimraf@~2.5.4: | ||
rimraf@2, [email protected], rimraf@^2.2.8, rimraf@^2.4.0, rimraf@^2.5.4: | ||
version "2.6.0" | ||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.0.tgz#89b8a0fe432b9ff9ec9a925a00b6cdb3a91bbada" | ||
dependencies: | ||
glob "^7.0.5" | ||
|
||
rimraf@~2.5.1, rimraf@~2.5.4: | ||
version "2.5.4" | ||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.5.4.tgz#96800093cbf1a0c86bd95b4625467535c29dfa04" | ||
dependencies: | ||
|
@@ -5200,10 +5212,6 @@ strip-json-comments@~0.1.1: | |
version "0.1.3" | ||
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-0.1.3.tgz#164c64e370a8a3cc00c9e01b539e569823f0ee54" | ||
|
||
strip-json-comments@~1.0.4: | ||
version "1.0.4" | ||
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-1.0.4.tgz#1e15fbcac97d3ee99bf2d73b4c656b082bbafb91" | ||
|
||
strip-json-comments@~2.0.1: | ||
version "2.0.1" | ||
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" | ||
|
@@ -5563,8 +5571,8 @@ watchpack@^1.2.0: | |
graceful-fs "^4.1.2" | ||
|
||
webpack-dev-middleware@^1.10.0: | ||
version "1.10.0" | ||
resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-1.10.0.tgz#7d5be2651e692fddfafd8aaed177c16ff51f0eb8" | ||
version "1.10.1" | ||
resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-1.10.1.tgz#c6b4cf428139cf1aefbe06a0c00fdb4f8da2f893" | ||
dependencies: | ||
memory-fs "~0.4.1" | ||
mime "^1.3.4" | ||
|