Skip to content

Commit

Permalink
feat(navigation): adding simplified navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Laszlo Heves committed Apr 27, 2017
1 parent 1280730 commit 4241d61
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 34 deletions.
6 changes: 3 additions & 3 deletions assets/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 12 additions & 8 deletions src/components/App/index.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
import React from 'react';
import Navigation from '../Navigation';
import Portfolio from '../Portfolio';
import '../../styles.scss';


export default class App extends React.Component {
render() {
return (
<div className="container">
<main className="main">
<section className="about">
<h1><span className="emphasis">👋🏻 Hello,</span> my name is Laszlo Heves.</h1>
<blockquote>I'm a Senior Frontend Developer with eight years of experience building medium and large sized websites and web applications with an emphasis on developing user interface related features from UX planning through site-build to deployment.</blockquote>
</section>
<Portfolio/>
</main>
<div>
<Navigation />
<div className="container">
<main className="main">
<section className="about">
<h1><span className="emphasis">👋🏻 Hello,</span> my name is Laszlo Heves.</h1>
<blockquote>I'm a Senior Frontend Developer with eight years of experience building medium and large sized websites and web applications with an emphasis on developing user interface related features from UX planning through site-build to deployment.</blockquote>
</section>
<Portfolio/>
</main>
</div>
</div>);
}
}
17 changes: 17 additions & 0 deletions src/components/Navigation/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 22 additions & 22 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,6 @@ $mobile-up-bottom: 740px;
letter-spacing: 0.5px;
}

@keyframes levitation {
0% {
-webkit-transform: translateY(-6px);
transform: translateY(-6px);
}
50% {
-webkit-transform: translateY(2px);
transform: translateY(2px);
}
100% {
-webkit-transform: translateY(-6px);
transform: translateY(-6px);
}
}

@keyframes hvr-bob-float {
100% {
-webkit-transform: translateY(-6px);
transform: translateY(-6px);
}
}

html,
.root,
.container,
Expand All @@ -56,6 +34,28 @@ body {
flex-direction: column;
}

.navigation {
position: absolute;
top: 0;
right: 0;
display: flex;
height: 50px;
padding-top: 20px;
padding-right: 20px;
justify-content: flex-end;

@media (min-width: $mobile-up-bottom) {
position: fixed;
}

&__navitem {
fill: #fff;
width: 32px;
height: 32px;
margin-left: 20px;
}
}

.about {
min-height: 100vh;
display: flex;
Expand Down

0 comments on commit 4241d61

Please sign in to comment.