fix(dl): margins too big

This commit is contained in:
nevfy 2024-06-02 03:15:09 +03:00
parent ed910b7427
commit ae2bd408b1
5 changed files with 48 additions and 47 deletions

View File

@ -143,44 +143,44 @@ linkTitle = "SelfPrivacy"
<h2 class="mx-auto text-center">Advantages</h2>
</div>
{{< landing-feature privacy "Privacy" "-green" >}}
{{< image-container privacy "Privacy" "sp-feature sp-feature-green" >}}
<p class="card-text">No registration, cookies or telemetry.</p>
{{< /landing-feature >}}
{{< /image-container >}}
{{< landing-feature zerotrust "Zero trust" "-blue" "right" >}}
{{< image-container zerotrust "Zero trust" "sp-feature sp-feature-blue" "right" >}}
<p class="card-text">SelfPrivacy is developed on the «zero trust» principle, even in relation to SelfPrivacy developers. That means you're the sole owner of your data.</p>
{{< /landing-feature >}}
{{< /image-container >}}
{{< landing-feature security "Security" "-purple" >}}
{{< image-container security "Security" "-purple" >}}
<p class="card-text">Open source. The $2,000 reward for RCE vulnerability significantly increases security compared to conventional self-hosted solutions.</p>
{{< /landing-feature >}}
{{< /image-container >}}
{{< landing-feature simplicity "Simplicity" "-green" "right">}}
{{< image-container simplicity "Simplicity" "sp-feature sp-feature-green" "right">}}
<p class="card-text">It is simple. Without console, complicated instructions, monitoring and involvement of specialists.</p>
{{< /landing-feature >}}
{{< /image-container >}}
{{< landing-feature arrow "No license agreements" "-blue" >}}
{{< image-container arrow "No license agreements" "sp-feature sp-feature-blue" >}}
<p class="card-text">What is written in the license agreements that you accept without reading? It says that you allow companies to do anything with your data. SelfPrivacy has no license agreements.</p>
{{< /landing-feature >}}
{{< /image-container >}}
{{< landing-feature coolhack3r "Save your time and money" "-purple" "right">}}
{{< image-container coolhack3r "Save your time and money" "sp-feature sp-feature-purple" "right">}}
<p class="card-text">How to save $500 or two weeks of your life? Will it take the same time and money for a specialist to set everything up from scratch?</p>
<p class="card-text">SelfPrivacy team works continuously to speed up and simplify this process to a few clicks.</p>
<p class="card-text">Now anyone will be capable to set up their own data center.</p>
{{< /landing-feature >}}
{{< /image-container >}}
{{< landing-feature thisisfine "Functionality" "-green">}}
{{< image-container thisisfine "Functionality" "sp-feature sp-feature-green">}}
<p class="card-text">Your data will not be lost thanks to regular automatic backups to a separate data center. </p>
{{< /landing-feature >}}
{{< /image-container >}}
{{< landing-feature smartphonecomparison "Independence" "-blue" "right">}}
{{< image-container smartphonecomparison "Independence" "sp-feature sp-feature-blue" "right">}}
<p class="card-text">Your communications on the internet no longer depend on Google, Facebook, Amazon and others E-Corps.</p>
<p class="card-text">Your services, your rules! You will not be blocked or disabled, accidentally or for any other reason. Your infrastructure and data will always remain with you.</p>
{{< /landing-feature >}}
{{< /image-container >}}
{{< landing-feature datactrl "Data control" "-purple" >}}
{{< image-container datactrl "Data control" "sp-feature sp-feature-purple" >}}
<p class="card-text">Why do corporations need your data? To make you buy more and vote as they want. With SelfPrivacy, only you have your data.</p>
{{< /landing-feature >}}
{{< /image-container >}}
</section>

View File

@ -79,10 +79,10 @@ title: Downloads
{{< blocks/section type="section" >}}
{{< landing-feature book "What to do next?" "right" >}}
{{< image-container book "What to do next?" "right" >}}
<a class="w-100 btn btn-lg btn-primary mb-4 mt-4 btn-block sp-button-shadow sp-button-big-padding" href="{{< relref "/docs/Getting started/" >}}">
Setup guide
</a>
{{< /landing-feature >}}
{{< /image-container >}}
{{< /blocks/section >}}

View File

@ -151,44 +151,44 @@ linkTitle = "SelfPrivacy"
<h2 class="mx-auto text-center">Преимущества</h2>
</div>
{{< landing-feature privacy "Приватность" "-green">}}
{{< image-container privacy "Приватность" "sp-feature sp-feature-green">}}
<p class="card-text">Без регистрации, куков, телеметрии, логов, гугл аналитики и облаков.</p>
{{< /landing-feature>}}
{{< /image-container>}}
{{< landing-feature zerotrust "Нулевое доверие" "-blue" "right">}}
{{< image-container zerotrust "Нулевое доверие" "sp-feature sp-feature-blue" "right">}}
<p class="card-text">SelfPrivacy разработан по принципу "нулевого доверия", даже к самим разработчикам SelfPrivacy. Это значит, что вы — единственный владелец своих данных.</p>
{{< /landing-feature>}}
{{< /image-container>}}
{{< landing-feature security "Безопасность" "-purple" >}}
{{< image-container security "Безопасность" "sp-feature sp-feature-purple" >}}
<p class="card-text">Открытый код. Вознаграждение $2000 за RCE-уязвимость значительно повышает безопасность в сравнении с обычными self-hosted решениями.</p>
{{< /landing-feature>}}
{{< /image-container>}}
{{< landing-feature simplicity "Простота" "-green" "right">}}
{{< image-container simplicity "Простота" "sp-feature sp-feature-green" "right">}}
<p class="card-text">Это работает просто. Без консоли, сложных инструкций, мониторинга и привлечения специалистов.</p>
{{< /landing-feature>}}
{{< /image-container>}}
{{< landing-feature arrow "Без лицензионных соглашений" "-blue" >}}
{{< image-container arrow "Без лицензионных соглашений" "sp-feature sp-feature-blue" >}}
<p class="card-text">Что написано в лицензионных соглашениях, которые вы принимаете, не читая? Там написано, что с вашими данными можно делать что угодно. В SelfPrivacy нет лицензионных соглашений.</p>
{{< /landing-feature>}}
{{< /image-container>}}
{{< landing-feature coolhack3r "Экономия времени, денег и сил" "-purple" "right">}}
{{< image-container coolhack3r "Экономия времени, денег и сил" "sp-feature sp-feature-purple" "right">}}
<p class="card-text">Как сэкономить $500 или две недели жизни? Столько понадобится времени и денег специалисту, чтобы настроить все самому с нуля?</p>
<p class="card-text">Команда SelfPrivacy непрерывно работает, чтобы ускорить и упростить этот процесс до нескольких кликов.</p>
<p class="card-text">Теперь создание личного дата-центра под силу любому желающему.</p>
{{< /landing-feature>}}
{{< /image-container>}}
{{< landing-feature thisisfine "Функционал" "-green">}}
{{< image-container thisisfine "Функционал" "sp-feature sp-feature-green">}}
<p class="card-text">Ваши данные никуда не пропадут благодаря регулярному автоматическому резервному копированию в отдельный дата-центр.</p>
{{< /landing-feature>}}
{{< /image-container>}}
{{< landing-feature smartphonecomparison "Независимость" "-blue" "right" >}}
{{< image-container smartphonecomparison "Независимость" "sp-feature sp-feature-blue" "right" >}}
<p class="card-text">Ваши коммуникации в интернете не зависят от Google, Facebook, Amazon и прочих мегакорпораций.</p>
<p class="card-text">Ваши сервисы — ваши правила! Вас не заблокируют, не отключат, случайно или по какой-либо другой причине. Ваша инфраструктура и данные всегда останутся с вами.</p>
{{< /landing-feature>}}
{{< /image-container>}}
{{< landing-feature datactrl "Контроль данных" "-purple" >}}
{{< image-container datactrl "Контроль данных" "sp-feature sp-feature-purple" >}}
<p class="card-text">Почему корпорациям так нужны ваши данные? Чтобы больше покупали, чтобы Вы голосовали, как им нужно. В SelfPrivacy ваши данные остаются только у вас.</p>
{{< /landing-feature>}}
{{< /image-container>}}
</section>

View File

@ -87,10 +87,10 @@ title: Скачать
</div>
{{< /blocks/section>}}
{{< blocks/section type="section">}}
{{< landing-feature book "Что делать дальше то?" "right">}}
{{< image-container book "Что делать дальше?" "right">}}
<a class="btn btn-lg btn-primary mb-4 mt-4 btn-block sp-button-shadow sp-button-big-padding"
href="{{< relref "/docs/Getting started/">}}">
Гайд по установке
</a>
{{< /landing-feature>}}
{{< /image-container>}}
{{< /blocks/section>}}

View File

@ -1,30 +1,31 @@
{{ $illustration := .Page.Resources.GetMatch (printf "**%s*" (.Get 0)) }}
{{ $title := .Get 1 }}
{{ $bg := .Get 2 }}
{{ $attr := .Get 2 }}
{{ $side := .Get 3 }}
{{ if eq $side "right" }}
<div class="d-flex flex-column flex-lg-row flex-xl-row justify-content-center align-items-center sp-feature sp-feature{{ $bg }} my-auto">
<div class="d-flex flex-column flex-lg-row flex-xl-row justify-content-center align-items-center my-auto {{$attr}}">
<div class="col-xl-4 col-lg-6 col-md-8 col-xs-12 px-5">
{{ if $title }}
<h2 class="sp-feature-title">{{ $title }}</h2>
<h2 class="image-container-title">{{ $title }}</h2>
{{ end }}
{{ .Inner }}
</div>
{{ if $illustration }}
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-12">
<object role="img" class="my-auto d-flex justify-content-center align-items-center card-img-top" type="image/svg+xml" data="{{ $illustration.RelPermalink }}">
<div class="error sp-feature-img">
<div class="error image-container-img">
<i class="fa-solid fa-triangle-exclamation"></i>
</div>
</object>
</div>
{{ end }}
{{ else }}
<div class="d-flex flex-column-reverse flex-lg-row flex-xl-row justify-content-center align-items-center sp-feature sp-feature{{ $bg }}">
<div class="d-flex flex-column-reverse flex-lg-row flex-xl-row justify-content-center align-items-center {{$attr}}">
{{ if $illustration }}
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-12">
<object role="img" class="col-lg-4 col-md-6 col-sm-8 col-xs-12 my-auto d-flex justify-content-center align-items-center card-img-top" type="image/svg+xml" data="{{ $illustration.RelPermalink }}">
<div class="error sp-feature-img">
<div class="error image-container-img">
<i class="fa-solid fa-triangle-exclamation"></i>
</div>
</object>
@ -32,7 +33,7 @@
{{ end }}
<div class="col-xl-4 col-lg-6 col-md-8 col-xs-12 px-5">
{{ if $title }}
<h2 class="sp-feature-title">{{ $title }}</h2>
<h2 class="image-container-title">{{ $title }}</h2>
{{ end }}
{{ .Inner }}
</div>