homepage highlight icons cliccabili
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 2m0s

This commit is contained in:
Paolo Asperti 2024-09-29 11:07:53 +02:00
parent a0248212e4
commit 0b781b7451
Signed by: paspo
GPG Key ID: 06D46905D19D5182
4 changed files with 30 additions and 0 deletions

View File

@ -205,3 +205,7 @@ article header div.author {
background-repeat: no-repeat;
background-image: url("images/mattermost_logo.svg");
}
.icon.major {
cursor: pointer;
}

View File

@ -26,11 +26,13 @@ items:
items:
- title: Events
icon: fa-calendar-day
url: /en/events/
content: >
Come to our events! You would learn all that there is to know about
free software and *open source*
- title: Schools
icon: fa-graduation-cap
url: /it/tags/scuola/
content: >
Follow our volunteers on their activities by schools in the province
of Bergamo.

View File

@ -26,11 +26,13 @@ items:
items:
- title: Eventi
icon: fa-calendar-day
url: /it/eventi/
content: >
Accorri agli eventi che organizziamo! Avrai modo di imparare tutto
quello che c'è da sapere sul software libero o *open source*
- title: Scuole
icon: fa-graduation-cap
url: /it/tags/scuola/
content: >
Segui i nostri volontari nelle loro attività presso le scuole della
provincia di Bergamo

View File

@ -0,0 +1,22 @@
<section class="wrapper style1">
<div class="container">
<div class="row gtr-200">
{{- $item_cols := (div 12 (.item.items_per_row | default 3)) }}
{{- range .item.items }}
<section class="col-{{ $item_cols }} col-12-narrower">
<div class="box highlight">
{{- if .url -}}
<a href="{{ .url }}">
{{- end -}}
<i class="icon solid major {{ .icon }}"></i>
<h3>{{ .title }}</h3>
{{- if .url -}}
</a>
{{- end -}}
<p>{{ .content | markdownify }}</p>
</div>
</section>
{{- end }}
</div>
</div>
</section>