Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trean committed Nov 27, 2024
1 parent eef4cd1 commit 5ab1b75
Showing 1 changed file with 16 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,26 @@ <h4 class="use-cases-vector-integrations__title">{{ .context.Params.title }}</h4
<div class="row g-4 g-lg-5 {{ if eq $class "ai-agents-integrations" }}justify-content-center{{ end }}">
{{ range .context.Params.integrations }}
<div class="col-12 col-md-6 {{ if eq $class "ai-agents-integrations" }}col-xl-5{{ else }}col-xl-4{{ end }}">
{{ if .url }}
<a class="use-cases-vector-integrations__card" href="{{ .url }}">
<img
class="use-cases-vector-integrations__card-icon"
src="{{ .icon.src }}"
alt="{{ .icon.alt }}"
/>
<div class="use-cases-vector-integrations__card-info">
<h6 class="use-cases-vector-integrations__card-title">{{ .title }}</h6>
<p class="use-cases-vector-integrations__card-description">{{ .description }}</p>
</div>
</a>
{{ else }}
<div class="use-cases-vector-integrations__card">
<img
class="use-cases-vector-integrations__card-icon"
src="{{ .icon.src }}"
alt="{{ .icon.alt }}"
/>
<div class="use-cases-vector-integrations__card-info">
<h6 class="use-cases-vector-integrations__card-title">{{ .title }}</h6>
<p class="use-cases-vector-integrations__card-description">{{ .description }}</p>
{{ if .url }}
<a class="use-cases-vector-integrations__card" href="{{ .url }}">
<img class="use-cases-vector-integrations__card-icon" src="{{ .icon.src }}" alt="{{ .icon.alt }}" />
<div class="use-cases-vector-integrations__card-info">
<h6 class="use-cases-vector-integrations__card-title">{{ .title }}</h6>
<p class="use-cases-vector-integrations__card-description">{{ .description }}</p>
</div>
</a>
{{ else }}
<div class="use-cases-vector-integrations__card">
<img class="use-cases-vector-integrations__card-icon" src="{{ .icon.src }}" alt="{{ .icon.alt }}" />
<div class="use-cases-vector-integrations__card-info">
<h6 class="use-cases-vector-integrations__card-title">{{ .title }}</h6>
<p class="use-cases-vector-integrations__card-description">{{ .description }}</p>
</div>
</div>
</div>
{{ end }}
</div>
{{ end }}
</div>
{{ end }}
</div>
{{ partial "top-and-bottom-overlay" (dict "context" . "class" "use-cases-vector-integrations") }}
</section>

0 comments on commit 5ab1b75

Please sign in to comment.