mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-05 19:08:32 +02:00
remove events card link; support non-link community feature cards (#2327)
This commit is contained in:
@@ -34,9 +34,6 @@ features:
|
||||
alt: Rocket
|
||||
title: Events
|
||||
description: Meet us at upcoming hackathons, meetups, webinars and conferences.
|
||||
link:
|
||||
text: Learn More
|
||||
url: https://try.qdrant.tech/events
|
||||
- id: 4
|
||||
icon:
|
||||
src: /icons/outline/guide-blue.svg
|
||||
|
||||
@@ -38,12 +38,11 @@
|
||||
&-link {
|
||||
@include mixins.link-color($neutral-20);
|
||||
}
|
||||
&:hover {
|
||||
.community-features__card-title {
|
||||
}
|
||||
|
||||
a.community-features__card:hover .community-features__card-title {
|
||||
color: $primary-50;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
padding-top: $spacer * 6.5;
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<div class="row g-4 gy-lg-3">
|
||||
{{ range $index, $element := .Params.features }}
|
||||
<div class="col-12 col-lg-4">
|
||||
{{ if and .link .link.url }}
|
||||
<a class="card community-features__card" href="{{ .link.url }}">
|
||||
<img class="community-features__card-icon" src="{{ .icon.src }}" alt="{{ .icon.alt }}" />
|
||||
<h6 class="community-features__card-title">{{ .title }}</h6>
|
||||
@@ -13,6 +14,13 @@
|
||||
{{ .link.text }}
|
||||
</span>
|
||||
</a>
|
||||
{{ else }}
|
||||
<div class="card community-features__card">
|
||||
<img class="community-features__card-icon" src="{{ .icon.src }}" alt="{{ .icon.alt }}" />
|
||||
<h6 class="community-features__card-title">{{ .title }}</h6>
|
||||
<p class="community-features__card-description">{{ .description }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user