gcg-website/layouts/partials/tile-modals.html
Denys Konovalov dd347459ab
All checks were successful
Website Dev / Entwicklungsumgebung (push) Successful in 11s
FB Deutsch (#285)
- [x] Einführung
- [x] Fachliche Schwerpunkte
- [x] Außerunterrichtliche Aktivitäten
- [x] Fotos
- [ ] Titelbild

Reviewed-on: #285
2024-09-12 10:13:49 +02:00

25 lines
1014 B
HTML

<section class="section superhaufen">
<div class="container">
<div class="content text-justify">
{{ .Content }}
</div>
</div>
<div class="container">
<div class="row justify-content-center">
{{ range .Params.tiles }}
{{ partial "modal" . }}
<div class="col-lg-4 col-sm-6">
<div class="card border-primary rounded-0 hover-shadow mb-2">
<div class="container fb-tile-color" style="background-color:{{ .bg_color }};">
<span class="fb-tile-icon" style="color: {{ .font_color }}">{{ partial "mdi" .icon }}</span>
</div>
<div class="card-body d-flex flex-column">
<h4 class="card-title text-truncate">{{ .title }}</h4>
<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>
</div>
</div>
</div>
{{ end }}
</div>
</div>
</section>