gcg-website/layouts/partials/tile-modals.html

25 lines
991 B
HTML
Raw Normal View History

<section class="section superhaufen">
<div class="container">
<div class="content text-justify">
{{ .Content }}
</div>
</div>
<div class="container">
<div class="row">
{{ range .Params.tiles }}
{{ partial "modal" . }}
<div class="col-lg-4 col-sm-6">
2023-08-04 18:05:35 +02:00
<div class="card border-primary rounded-0 hover-shadow mb-2">
2023-07-29 13:16:25 +02:00
<div class="container fb-tile-color" style="background-color:{{ .bg_color }};">
2024-01-20 20:09:43 +01:00
<span class="fb-tile-icon" style="color: {{ .font_color }}">{{ partial "mdi" .icon }}</span>
2023-07-29 13:16:25 +02:00
</div>
2023-08-04 18:05:35 +02:00
<div class="card-body d-flex flex-column">
2023-07-29 13:16:25 +02:00
<h4 class="card-title text-truncate">{{ .title }}</h4>
2023-08-04 18:05:35 +02:00
<button type="button" class="btn btn-primary btn-sm mt-auto align-self-start" onclick="$('#{{ md5 .title }}').modal('show');" data-pagefind-ignore>Mehr anzeigen</button>
2023-07-29 13:16:25 +02:00
</div>
</div>
</div>
{{ end }}
</div>
</div>
</section>