Compare commits

...

2 Commits

Author SHA1 Message Date
Aadil Ayub 27d00987fe update blog nav link
continuous-integration/drone/push Build is passing Details
2021-07-07 05:43:20 +05:00
Aadil Ayub b1193a31b3 add docs and blog links to header 2021-07-07 05:42:02 +05:00
3 changed files with 20 additions and 17 deletions

View File

@ -4,13 +4,12 @@ title = "The Co-op Cloud"
theme = "coopcloud.tech"
[menu]
[[menu.main]]
name = "Home"
pre = "home"
url = "/"
name = "Docs"
url = "https://docs.coopcloud.tech"
weight = 1
[[menu.main]]
name = "Documentation"
url = "https://docs.coopcloud.tech"
name = "Blog"
url = "/blog/"
weight = 2
[params]

View File

@ -163,7 +163,14 @@ hr {
background-color: $coopcloud-pink;
padding: 10px;
margin: 0;
gap: 2rem;
@media (max-width: 1024px) { flex-direction: column; }
.nav-link {
color: $text-color;
margin: 0.5rem;
text-transform: uppercase;
&:hover { text-decoration: underline; }
}
}
footer .content a {

View File

@ -1,16 +1,13 @@
{{/* <div id="nav-border" class="container">
<nav id="nav" class="nav justify-content-center">
{{ range .Site.Menus.main }}
<a class="nav-link" href="{{ .URL }}">
{{ $text := print .Name | safeHTML }}
{{ $text }}
</a>
{{ end }}
</nav>
</div> */}}
<nav id="header" class="level is-mobile">
<a class="level-item has-text-centered" href="{{ .Site.BaseURL }}">
<img src="/svg/coopcloud_logo_grey.svg" alt="CoopCloud Logo" style="height: 100px;">
</a>
<div>
{{ range .Site.Menus.main }}
<a class="nav-link" href="{{ .URL }}">
{{ $text := print .Name | safeHTML }}
{{ $text }}
</a>
{{ end }}
</div>
</nav>