Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ind.ie Projects
Set
Commits
866788b1
Verified
Commit
866788b1
authored
Dec 02, 2017
by
Aral Balkan
Browse files
Refactor header components
parent
d5d20e6a
Changes
4
Hide whitespace changes
Inline
Side-by-side
coffee/views/client-side-tests.html
View file @
866788b1
...
...
@@ -2,7 +2,7 @@
<html
lang=
'en'
>
<head>
<!--
*****
-->
<!--
Note: Do not render this via a Set route
-->
<!-- Labs common -->
<meta
charset=
"utf-8"
>
...
...
coffee/views/components/
common-
head
er
.html
→
coffee/views/components/head.html
View file @
866788b1
...
...
@@ -354,45 +354,6 @@
}
}
</style>
</head>
<!-- Labs common -->
<body
class=
"labs labs-projects"
>
<nav
class=
"site-navigation"
>
<ul
class=
"site-navigation--list"
>
<li
class=
"home-link"
>
<a
href=
"https://ind.ie/"
>
Home
</a>
</li>
<li
class=
"about-link"
>
<a
href=
"https://ind.ie/about"
>
About
</a>
</li>
<li
class=
"labs-link"
>
<a
href=
"https://ind.ie/labs"
>
Labs
</a>
</li>
<li
class=
"forum-link"
>
<a
href=
"https://forum.ind.ie"
>
Forum
</a>
</li>
<li
class=
"videos-link"
>
<a
href=
"https://ind.ie/videos"
>
Videos
</a>
</li>
<li
class=
"news-link"
>
<a
href=
"https://ind.ie/blog"
>
News
</a>
</li>
<li
class=
"fund-link"
>
<a
href=
"https://ind.ie/fund"
>
Fund
</a>
</li>
</ul>
</nav>
<nav
class=
"sub-navigation labs-navigation"
>
<ul
class=
"sub-navigation--list"
>
<li
class=
"projects-link"
><a
href=
""
>
Projects
</a></li>
<li
class=
"blog-link"
><a
href=
"blog/"
>
Blog
</a></li>
</ul>
</nav>
<!-- Page specific -->
<div
class=
'main'
role=
'main'
>
<header
class=
'set-header'
>
<h1><a
href=
'./'
><img
id=
'set-logo'
src=
'images/set-logo.svg'
alt=
'Set logo'
></a></h1>
</header>
\ No newline at end of file
<!-- Custom head content, if any, can go on the specific page template itself. -->
\ No newline at end of file
coffee/views/components/labs-header.html
0 → 100644
View file @
866788b1
</head>
<!-- Labs common -->
<body
class=
"labs labs-projects"
>
<nav
class=
"site-navigation"
>
<ul
class=
"site-navigation--list"
>
<li
class=
"home-link"
>
<a
href=
"https://ind.ie/"
>
Home
</a>
</li>
<li
class=
"about-link"
>
<a
href=
"https://ind.ie/about"
>
About
</a>
</li>
<li
class=
"labs-link"
>
<a
href=
"https://ind.ie/labs"
>
Labs
</a>
</li>
<li
class=
"forum-link"
>
<a
href=
"https://forum.ind.ie"
>
Forum
</a>
</li>
<li
class=
"videos-link"
>
<a
href=
"https://ind.ie/videos"
>
Videos
</a>
</li>
<li
class=
"news-link"
>
<a
href=
"https://ind.ie/blog"
>
News
</a>
</li>
<li
class=
"fund-link"
>
<a
href=
"https://ind.ie/fund"
>
Fund
</a>
</li>
</ul>
</nav>
<nav
class=
"sub-navigation labs-navigation"
>
<ul
class=
"sub-navigation--list"
>
<li
class=
"projects-link"
><a
href=
""
>
Projects
</a></li>
<li
class=
"blog-link"
><a
href=
"blog/"
>
Blog
</a></li>
</ul>
</nav>
<!-- Page specific -->
<div
class=
'main'
role=
'main'
>
<header
class=
'set-header'
>
<h1><a
href=
'./'
><img
id=
'set-logo'
src=
'images/set-logo.svg'
alt=
'Set logo'
></a></h1>
</header>
coffee/views/partials.html
View file @
866788b1
<!-- include components/common-header.html -->
<div
class=
'main'
role=
'main'
>
<!-- include components/head.html -->
<!-- include components/labs-header.html -->
<!-- include components/simple-header.html -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment