Skip to content

Commit

Permalink
fixed up the nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Rogan committed Nov 17, 2016
1 parent b92e869 commit 539d236
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 38 deletions.
7 changes: 4 additions & 3 deletions app/root/_footer.kit
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!-- Footer goes here -->
<footer>
<a href="competitions.html">Competitions</a>
<h4>Flash</h4>
<a href="community.html">Community</a>
<a href="competitions.html">Contact</a>
<h4>F2E</h4>
<a href="community.html">Legal Crap</a>
</footer>
13 changes: 4 additions & 9 deletions app/root/_nav.kit
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="nav-main signedIn">
<div class="nav-main">

<div class="left-nav">
<!-- Logo -->
<i class="material-icons">flash_on</i>
<h4 class="logo">Flash</h4>
<i class="material-icons">local_pizza</i>
<h4 class="logo">F2E</h4>
</div>


Expand All @@ -19,12 +19,7 @@

<!-- Sign in/up Buttons -->
<a class="waves-effect waves-light btn blue">Sign in</a>
<a class="waves-effect waves-light btn">Sign up</a>

<!-- Profile Pic -->
<a data-activates="slide-out" class="profile-btn">
<img class="z-depth-2" src="assets/img/gabe.jpg" width="80"/>
</a>
<a class="waves-effect waves-light btn">Sign out</a>
</div>

</div>
Expand Down
7 changes: 4 additions & 3 deletions app/root/root.styl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Table of Contents:
display: flex
justify-content: space-between
color: white
position: fixed
// position: fixed
top: 0
height: navh = 4.5em
width: 100%
Expand All @@ -28,7 +28,8 @@ Table of Contents:
align-items: center
* {display: inline}
i
font-size: 6rem
font-size: 3.5rem
margin: 0 .15em 0 .1em
h4
font-size: 2.6rem
font-weight: 500
Expand Down Expand Up @@ -57,7 +58,7 @@ Table of Contents:
.tabs
height: auto
.tab
min-width: 80px // temporary
// min-width: 80px // temporary
height: navh
line-height: navh
.indicator
Expand Down
5 changes: 2 additions & 3 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ ul.tabs .tab a:hover {
display: flex;
justify-content: space-between;
color: #fff;
position: fixed;
top: 0;
height: 4.5em;
width: 100%;
Expand All @@ -44,7 +43,8 @@ ul.tabs .tab a:hover {
display: inline;
}
.nav-main .left-nav i {
font-size: 6rem;
font-size: 3.5rem;
margin: 0 0.15em 0 0.1em;
}
.nav-main .left-nav h4 {
font-size: 2.6rem;
Expand Down Expand Up @@ -78,7 +78,6 @@ ul.tabs .tab a:hover {
height: auto;
}
.nav-main .tabs .tab {
min-width: 80px;
height: 4.5em;
line-height: 4.5em;
}
Expand Down
16 changes: 8 additions & 8 deletions assets/js/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,20 @@ app.controller('404Ctrl', ['$scope', function ($scope) {
}]);


app.controller('FoodCtrl', ['$scope', function ($scope) {
$scope.page.title = 'Food';
$scope.page.id = 'food';
app.controller('CategoryCtrl', ['$scope', function ($scope) {
$scope.page.title = 'Categories';
$scope.page.id = 'cat';
$scope.page.yourVar = "globalStuff";

$scope.var2 = "localStuff";
}]);


app.controller('CategoryCtrl', ['$scope', function ($scope) {
$scope.page.title = 'Categories';
$scope.page.id = 'cat';
app.controller('FoodCtrl', ['$scope', function ($scope) {
$scope.page.title = 'Food';
$scope.page.id = 'food';
$scope.page.yourVar = "globalStuff";

$scope.var2 = "localStuff";
}]);

Expand Down
20 changes: 8 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
<body>


<div class="nav-main signedIn">
<div class="nav-main">

<div class="left-nav">
<!-- Logo -->
<i class="material-icons">flash_on</i>
<h4 class="logo">Flash</h4>
<i class="material-icons">local_pizza</i>
<h4 class="logo">F2E</h4>
</div>


Expand All @@ -51,12 +51,7 @@ <h4 class="logo">Flash</h4>

<!-- Sign in/up Buttons -->
<a class="waves-effect waves-light btn blue">Sign in</a>
<a class="waves-effect waves-light btn">Sign up</a>

<!-- Profile Pic -->
<a data-activates="slide-out" class="profile-btn">
<img class="z-depth-2" src="assets/img/gabe.jpg" width="80"/>
</a>
<a class="waves-effect waves-light btn">Sign out</a>
</div>

</div>
Expand Down Expand Up @@ -109,10 +104,11 @@ <h4 class="logo">Flash</h4>
});
</script>
<ng-view></ng-view>
<!-- Footer goes here -->
<footer>
<a href="competitions.html">Competitions</a>
<h4>Flash</h4>
<a href="community.html">Community</a>
<a href="competitions.html">Contact</a>
<h4>F2E</h4>
<a href="community.html">Legal Crap</a>
</footer>


Expand Down

0 comments on commit 539d236

Please sign in to comment.