|
22 | 22 | <script src="resources/js/app.js"></script>
|
23 | 23 | <script src="resources/js/analytics.js"></script>
|
24 | 24 | <link rel="stylesheet" href="resources/vendors/materialize/css/materialize.css">
|
25 |
| - <link rel="stylesheet" href="resources/css/style.css"> |
26 | 25 | <link rel="stylesheet" href="https://rawgit.com/coala/coalaCSS/master/coala.css">
|
| 26 | + <link rel="stylesheet" href="resources/css/style.css"> |
27 | 27 | <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,300i,400,400i,700,700i|Roboto:100,200,300,400,500,600,700,800,900|Ubuntu+Mono|Overpass+Mono|Inconsolata" rel="stylesheet">
|
28 | 28 | <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
29 | 29 | <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
30 | 30 | <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
|
31 | 31 | </head>
|
32 | 32 |
|
33 | 33 | <body>
|
34 |
| - <a href="{{ site.githuburl }}" class="for-non-mobile"> <img class="ribbon" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"> </a> |
35 | 34 | <main ng-app="coala">
|
36 |
| - <div ng-controller="TabController as tc"> |
37 |
| - <div> |
38 |
| - <div class="row"> |
39 |
| - <div class="col s12"> |
40 |
| - <ul class="tabs uppercase"> |
41 |
| - <li class="tab col m4"><a ng-click="tc.setTab('/projects')" onmousedown="keyPressed(event, '#/projects')" ng-class="{active:tc.isSet('/projects')}">Projects</a> |
42 |
| - </li> |
43 |
| - <li class="tab col m4"><a ng-click="tc.setTab('/mentors')" onmousedown="keyPressed(event, '#/mentors')" ng-class="{active:tc.isSet('/mentors')}">Mentors</a> |
44 |
| - </li> |
45 |
| - <li class="tab col m4"><a ng-click="tc.setTab('/faq')" onmousedown="keyPressed(event, '#/faq')" onerror="" ng-class="{active:tc.isSet('/faq')}">Faq</a> |
46 |
| - </li> |
47 |
| - </ul> |
48 |
| - </div> |
49 |
| - </div> |
| 35 | + <nav ng-controller="NavController as nc"> |
| 36 | + <div class="nav-wrapper"> |
| 37 | + <a href="/" class="brand-logo"><img class="nav-logo" src="screenshots/logo.png" alt="logo"></a> |
| 38 | + <a data-activates="mobile-nav" class="button-collapse"><i class="material-icons">menu</i></a> |
| 39 | + <ul id="nav-mobile" class="right hide-on-med-and-down"> |
| 40 | + <li ng-class="{active:nc.isSet('/projects')}"> |
| 41 | + <a class="uppercase" ng-click="nc.setView('/projects')" onmousedown="keyPressed(event, '#/projects')"> |
| 42 | + Projects |
| 43 | + </a> |
| 44 | + </li> |
| 45 | + <li ng-class="{active:nc.isSet('/mentors')}"> |
| 46 | + <a class="uppercase" ng-click="nc.setView('/mentors')" onmousedown="keyPressed(event, '#/mentors')"> |
| 47 | + Mentors |
| 48 | + </a> |
| 49 | + </li> |
| 50 | + <li ng-class="{active:nc.isSet('/faq')}"> |
| 51 | + <a ng-click="nc.setView('/faq')" onmousedown="keyPressed(event, '#/faq')" onerror=""> |
| 52 | + FAQs |
| 53 | + </a> |
| 54 | + </li> |
| 55 | + <li><a href="{{ site.githuburl }}" target="_blank" title="Fork us on GitHub"><i class="fa fa-github fa-2x" aria-hidden="true"></i></a></li> |
| 56 | + </ul> |
50 | 57 | </div>
|
51 |
| - <div ng-view=""></div> |
52 |
| - </div> |
| 58 | + </nav> |
| 59 | + <ul class="side-nav" id="mobile-nav" ng-controller="NavController as nc"> |
| 60 | + <li ng-class="{active:nc.isSet('/projects')}"><a class="uppercase" ng-click="nc.setView('/projects')" onmousedown="keyPressed(event, '#/projects')">Projects</a></li> |
| 61 | + <li ng-class="{active:nc.isSet('/mentors')}"><a class="uppercase" ng-click="nc.setView('/mentors')" onmousedown="keyPressed(event, '#/mentors')">Mentors</a></li> |
| 62 | + <li ng-class="{active:nc.isSet('/faq')}"><a ng-click="nc.setView('/faq')" onmousedown="keyPressed(event, '#/faq')" onerror="">FAQs</a></li> |
| 63 | + <li><a href="{{ site.githuburl }}" target="_blank" title="Fork us on GitHub"><i class="fa fa-github fa-2x" aria-hidden="true"></i></a></li> |
| 64 | + </ul> |
| 65 | + <div ng-view=""></div> |
53 | 66 | <div ng-controller="LanguageController as langCtrl" style="position: relative; margin: auto; width: 100px;">
|
54 |
| - <select ng-init="language = init_language" ng-options="l as l.name for l in langs" ng-model="language" ng-change="update()"> |
55 |
| - </select> |
56 |
| - </div> |
| 67 | + <select ng-init="language = init_language" ng-options="l as l.name for l in langs" ng-model="language" ng-change="update()"> |
| 68 | + </select> |
| 69 | + </div> |
57 | 70 | </main>
|
58 | 71 | <footer class="page-footer footer-light transparent">
|
59 |
| - <div class="row center for-mobile"> <a class="github-button" href="{{ site.githuburl }}" data-size="large">Fork</a> </div> |
60 | 72 | <div class="row">
|
61 | 73 | <div class="col m6 offset-m3 center"> <img class="footer-logo" src="https://api.coala.io/en/latest/_static/images/coala_logo.svg" alt="coala"> <span class="footer-title">{{ site.organization }}</span> </div>
|
62 | 74 | </div>
|
|
70 | 82 | <script>
|
71 | 83 | $(document).ready(function () {
|
72 | 84 | $('select').material_select();
|
73 |
| - //$('ul.tabs').tabs(); |
| 85 | + $(".button-collapse").sideNav(); |
74 | 86 | $('.github-card').html('<img src="http://placehold.it/100x100" />')
|
75 | 87 | })
|
76 | 88 | </script>
|
|
0 commit comments