You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.8 KiB

{{ define "main" }}
<!--
Omegamma - Hugo theme for ad5001.eu and related websites
Copyright (C) 2021-2022 Ad5001 <mail@ad5001.eu>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
{{ $lang := .Site.Language.Lang }}
<section class="section-header">
<div class="columns-container" style="display: flex" >
<div class="column col1 text-center vertical-center">
<br>
<h1 class="flex flex-center fill-width larger"><img src="/img/logo.svg" class="icon-twice-text" alt="Ad5001's icon"/>Ad5001</h1>
{{ .Params.HeaderDescription | markdownify }}
<div class="grid flex-center">&nbsp;
{{ partial "links.html" .Params.Links }}
</div>
<div class="social-list grid flex-center padding-container-point3">
{{ partial "social-buttons" (dict "Buttons" .Site.Data.menu.social "Lang" $lang) }}
</div>
<br>
<br>
</div>
</div>
</section>
<section class="section-skewed">
<br>
<h1 class="text-center">{{ i18n "softwareCommitments" }}</h1>
<div class="columns-container padding-container-3" >
{{ $cardsCount := len .Params.Cards.List }}
{{ range .Params.Cards.List }}
{{ $card := index $.Params.Cards . }}
<div class="column col{{ $cardsCount }} vertical-center padding-container">
<div class="card {{ $card.Color }} {{ $card.Orientation }} padding-container text-content">
<h2 class="flex flex-center text-center">
<i class="icon-{{ $card.Icon }} icon-larger2-text"></i>
{{ $card.Title }}
</h2>
<p>
{{ $card.Description | markdownify }}
</p>
<br>
<div class="grid flex-center">&nbsp;
{{ partial "links.html" $card.Links }}
</div>
</div>
</div>
{{ end }}
</div>
</section>
<section class="padding-container-3">
<h1>{{ .Params.NewSection.Title }}</h1>
<p>
{{ .Params.NewSection.Description | markdownify }}
</p>
<div class="grid">&nbsp;
{{ partial "links.html" .Params.NewSection.Links }}
</div>
<br>
</section>
{{ end }}