Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Parameterise menus
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Chinchilla committed Nov 18, 2020
1 parent 353bdc2 commit f5bc1f4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 30 deletions.
21 changes: 13 additions & 8 deletions layouts/partials/flex/body-beforecontent.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,26 @@
</script>
<script type="text/javascript" src="{{"js/search.js" | relURL}}"></script>
{{- end}}

<a target="_self" rel="noopener" href="/docs/quickstart/docker"
{{ with .Site.Params.gettingStartedLink }}
<a target="_self" rel="noopener" href="{{ . }}"
class="navbar-hugo__cta crunch-button crunch-button__full-background crunch-button__full-background--gradient-color
crunch-button__full-background--arrow-right crunch-button__full-background--large text-white ml-auto c-mr-4">
Getting Started
</a>
{{/* TODO: Parameterise */}}
{{ end }}
{{- with .Site.Menus.socials}}

<div class="navbar-socials order-2 order-lg-3">
<a href="https://bit.ly/m3slack" class="navbar-socials__logo-box bg-primary c-mr-2">
<img src="../images/slack_logo-light.svg" class="navbar-socials__logo">
</a>
<a href="https://github.com/m3db/m3" class="navbar-socials__logo-box bg-primary c-ml-2">
<img src="../images/github_logo-light.svg" class="navbar-socials__logo">
{{- range sort . "Weight"}}

<a href="{{.URL}}" class="navbar-socials__logo-box bg-primary c-ml-2">
<img src="{{.Name}}" class="navbar-socials__logo">
</a>
{{- end}}

</div>
{{- end}}

</div>
</div>
</div>
Expand Down
3 changes: 0 additions & 3 deletions static/images/github_logo-color.svg

This file was deleted.

3 changes: 0 additions & 3 deletions static/images/github_logo-light.svg

This file was deleted.

6 changes: 0 additions & 6 deletions static/images/slack_logo-color.svg

This file was deleted.

10 changes: 0 additions & 10 deletions static/images/slack_logo-light.svg

This file was deleted.

0 comments on commit f5bc1f4

Please sign in to comment.