From fe50e2c39ca835193e0076fd98bfba63344413ab Mon Sep 17 00:00:00 2001 From: Inex Code Date: Thu, 3 Aug 2023 13:44:47 +0300 Subject: [PATCH 1/2] chroe: deprecations in hugo config --- config.toml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/config.toml b/config.toml index 0d72c16..c8b1422 100644 --- a/config.toml +++ b/config.toml @@ -23,13 +23,13 @@ category = "categories" [params.taxonomy] # set taxonomyCloud = [] to hide taxonomy clouds -taxonomyCloud = ["tags", "categories"] +taxonomyCloud = ["tags", "categories"] # If used, must have same length as taxonomyCloud -taxonomyCloudTitle = ["Tag Cloud", "Categories"] +taxonomyCloudTitle = ["Tag Cloud", "Categories"] # set taxonomyPageHeader = [] to hide taxonomies on the page headers -taxonomyPageHeader = ["tags", "categories"] +taxonomyPageHeader = ["tags", "categories"] # Highlighting config @@ -61,15 +61,17 @@ anchor = "smart" [languages] [languages.en] title = "SelfPrivacy" -description = "SelfPrivacy app allows you to set up self-hosted services and manage them." languageName ="English" # Weight used for sorting. weight = 1 +[languages.en.params] +description = "SelfPrivacy app allows you to set up self-hosted services and manage them." [languages.ru] title = "SelfPrivacy" -description = "Приложение SelfPrivacy поможет настроить селфхост-сервисы и управлять ими" languageName ="Русский" contentDir = "content/ru" +[languages.ru.params] +description = "Приложение SelfPrivacy поможет настроить селфхост-сервисы и управлять ими" time_format_default = "02.01.2006" time_format_blog = "02.01.2006" @@ -100,13 +102,13 @@ privacy_policy = "https://selfprivacy.org/privacy-policy/" # This menu appears only if you have at least one [params.versions] set. version_menu = "Releases" -# Flag used in the "version-banner" partial to decide whether to display a +# Flag used in the "version-banner" partial to decide whether to display a # banner on every page indicating that this is an archived version of the docs. # Set this flag to "true" if you want to display the banner. archived_version = false # The version number for the version of the docs represented in this doc set. -# Used in the "version-banner" partial to display a version number for the +# Used in the "version-banner" partial to display a version number for the # current doc set. version = "0.0" @@ -164,7 +166,7 @@ yes = 'Glad to hear it! Please tell us how we can improve.' # Adds a reading time to the top of each doc. -# If you want this feature, but occasionally need to remove the Reading time from a single page, +# If you want this feature, but occasionally need to remove the Reading time from a single page, # add "hide_readingtime: true" to the page's front matter [params.ui.readingtime] enable = true @@ -216,4 +218,4 @@ enable = true disable = false [[module.imports]] path = "github.com/google/docsy/dependencies" - disable = false \ No newline at end of file + disable = false From 336944a1d9bb57db30ba5cd2d45b21495abd83b6 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Thu, 3 Aug 2023 14:41:34 +0300 Subject: [PATCH 2/2] docs: Add "supported by" block --- assets/scss/_styles_project.scss | 22 +++++++++++- content/en/_index.html | 22 ++++++++++-- content/ru/_index.html | 26 ++++++++++++-- .../images/logos/PrivacyAcceleratorLogo.svg | 2 ++ static/images/logos/nlnet.svg | 34 +++++++++++++++++++ 5 files changed, 100 insertions(+), 6 deletions(-) create mode 100644 static/images/logos/PrivacyAcceleratorLogo.svg create mode 100644 static/images/logos/nlnet.svg diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 4b324d7..0ab247b 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -83,4 +83,24 @@ .tab-content .tab-pane { max-width: 100% !important; -} \ No newline at end of file +} + +.sp-supperted-by-img { + max-height: 5rem; + margin: 1rem; +} + +.sp-supported-by-list { + display: flex; + align-items: center; + justify-content: space-around; + flex-wrap: wrap; +} + +.sp-supported-by-card { + background: #FFFFFF; + box-shadow: 0 8px 8px rgba(0, 0, 0, 0.25); + border-radius: 10px; + border: none; + margin-top: 1rem; +} diff --git a/content/en/_index.html b/content/en/_index.html index d56f5fa..23aa4ff 100644 --- a/content/en/_index.html +++ b/content/en/_index.html @@ -57,7 +57,7 @@ linkTitle = "SelfPrivacy" {{< /blocks/section >}} -{{< blocks/section color="white" type="section" >}} +{{< blocks/section color="100" type="section" >}}

Your personal services

@@ -131,7 +131,7 @@ linkTitle = "SelfPrivacy" {{< /blocks/section >}} -{{< blocks/section color="white" type="section" >}} +{{< blocks/section color="100" type="section" >}}

Advantages

@@ -178,3 +178,21 @@ linkTitle = "SelfPrivacy" {{< /blocks/section >}} +{{< blocks/section color="100" type="section" >}} + +
+

Supported by

+
+ +
+ +
+ +{{< /blocks/section >}} diff --git a/content/ru/_index.html b/content/ru/_index.html index c92ebcb..19b3166 100644 --- a/content/ru/_index.html +++ b/content/ru/_index.html @@ -60,7 +60,7 @@ linkTitle = "SelfPrivacy" {{< /blocks/section>}} - {{< blocks/section color="white" type="section">}} + {{< blocks/section color="100" type="section">}}

Ваши личные сервисы

@@ -142,7 +142,7 @@ linkTitle = "SelfPrivacy" {{< /blocks/section>}} -{{< blocks/section color="white" type="section">}} +{{< blocks/section color="100" type="section">}}

Преимущества

@@ -186,4 +186,24 @@ linkTitle = "SelfPrivacy"

Почему корпорациям так нужны ваши данные? Чтобы больше покупали, чтобы Вы голосовали, как им нужно. В SelfPrivacy ваши данные остаются только у вас.

{{< /landing-feature>}} -{{< /blocks/section>}} \ No newline at end of file +{{< /blocks/section>}} + + +{{< blocks/section color="100" type="section" >}} + +
+

Нас поддерживают

+
+ +
+ +
+ +{{< /blocks/section >}} diff --git a/static/images/logos/PrivacyAcceleratorLogo.svg b/static/images/logos/PrivacyAcceleratorLogo.svg new file mode 100644 index 0000000..9e1b110 --- /dev/null +++ b/static/images/logos/PrivacyAcceleratorLogo.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/static/images/logos/nlnet.svg b/static/images/logos/nlnet.svg new file mode 100644 index 0000000..248e59c --- /dev/null +++ b/static/images/logos/nlnet.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file