mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 09:58:30 +02:00
* initial content draft * updated button links * switch to accordion --------- Co-authored-by: generall <andrey@vasnetsov.com>
18 lines
625 B
HTML
18 lines
625 B
HTML
{{ $title := .Get "title" }}
|
|
{{ $isWideList := .Get "isWideList" }}
|
|
{{ $image := default "/icons/outline/training-white.svg" (.Get "image") }}
|
|
{{ $link := .Get "link" }}
|
|
{{ $button := default "Get Started" (.Get "button") }}
|
|
<div class="course-card">
|
|
<h6 class="course-card__title">
|
|
<img src="{{ $image }}" alt="Icon">
|
|
{{ $title }}
|
|
</h6>
|
|
<div class="course-card__content list{{ if eq $isWideList "true" }} list-wide{{ end }}">
|
|
{{ .Inner | markdownify }}
|
|
</div>
|
|
{{ with $link }}
|
|
<a href="{{ $link }}" class="course-card__button button button_contained button_sm">{{ $button }}</a>
|
|
{{ end }}
|
|
</div>
|