mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-02 01:18:30 +02:00
Banner with an announcment (#811)
* banner with announcment * banner text and link upd, banner only on the main page
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{{ $classes := .classes }}
|
||||
{{ with (.context.Site.GetPage "/headless/top-banner") }}
|
||||
<section class="top-banner{{if $classes}} {{ $classes }}{{end}}">
|
||||
<div class="d-flex flex-wrap align-items-center justify-content-between">
|
||||
<span class="top-banner__icon"> {{ .Params.icon | safeHTML }} </span>
|
||||
<span class="top-banner__text"> {{ .Params.text }}
|
||||
</span>
|
||||
<a href="{{ .Params.link.url }}">{{ .Params.link.text }}</a>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user