From b10d18d205be22a1367d91bbfff980b1a7941a12 Mon Sep 17 00:00:00 2001 From: nevfy Date: Fri, 21 Jun 2024 03:16:28 +0300 Subject: [PATCH 1/4] fix: remove pageinfo --- content/en/blog/releases/0.9.0.md | 4 ++-- content/en/docs/How To Guides/manual_cleanup.md | 8 +++++--- content/ru/docs/How To Guides/manual_cleanup.md | 5 ++--- content/ru/docs/_index.md | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/content/en/blog/releases/0.9.0.md b/content/en/blog/releases/0.9.0.md index d12376a..a44e0bb 100644 --- a/content/en/blog/releases/0.9.0.md +++ b/content/en/blog/releases/0.9.0.md @@ -9,9 +9,9 @@ description: > ![Release banner showcasing new UI](/images/releases/0.9.0-banner.png) -{{% pageinfo color="primary" %}} +{{% alert color="info" %}} This release is made possible with the support of [NlNet foundation](https://nlnet.nl/project/SelfPrivacy/) -{{% /pageinfo %}} +{{% /alert %}} ## Changelog diff --git a/content/en/docs/How To Guides/manual_cleanup.md b/content/en/docs/How To Guides/manual_cleanup.md index 8b3fd23..bbafab0 100644 --- a/content/en/docs/How To Guides/manual_cleanup.md +++ b/content/en/docs/How To Guides/manual_cleanup.md @@ -8,13 +8,15 @@ description: > --- -{{% pageinfo color="warning" %}} +{{% alert color="info" %}} All commands in this guide are executed as root over SSH. If you do not have root access, see [this guide](/docs/how-to-guides/root_ssh/) for more information. +{{% /alert %}} +{{% alert color="warning" %}} If you have no space left, you will only be able to use the SSH keys you previously added. If you run out of disk space and have not added any SSH keys, contact SelfPrivacy support for further assistance. -{{% /pageinfo %}} +{{% /alert %}} There are several ways to clean up your server's disk space. @@ -107,7 +109,7 @@ This is because Nginx will get confused by the missing log files, and they will ## Deleting old system -{{% alert color="warning" %}} +{{% alert color="danger" %}} This operation can only be performed once during the lifetime of your server. If you have installed SelfPrivacy on your own hardware, this may lead to some data loss. diff --git a/content/ru/docs/How To Guides/manual_cleanup.md b/content/ru/docs/How To Guides/manual_cleanup.md index ffa9d84..9c29df8 100644 --- a/content/ru/docs/How To Guides/manual_cleanup.md +++ b/content/ru/docs/How To Guides/manual_cleanup.md @@ -8,16 +8,15 @@ description: > --- -{{% pageinfo color="warning" %}} +{{% alert color="warning" %}} Все команды в этом руководстве выполняются от имени root через подключение SSH. Если у вас нет прав root, смотрите [это руководство](/docs/how-to-guides/root_ssh/) для получения дополнительной информации. Если у вас не осталось свободного места, вы сможете использовать только те SSH-ключи, которые вы ранее добавили. Если у вас закончилось место на диске и вы не добавили ни одного SSH-ключа, обратитесь в службу поддержки SelfPrivacy за дальнейшей помощью. -{{% /pageinfo %}} +{{% /alert %}} Существует несколько способов очистки дискового пространства вашего сервера. - Чтобы проверить, сколько у вас дискового пространства, выполните следующую команду: ```bash diff --git a/content/ru/docs/_index.md b/content/ru/docs/_index.md index ad7374c..57e2d39 100755 --- a/content/ru/docs/_index.md +++ b/content/ru/docs/_index.md @@ -8,8 +8,8 @@ menu: weight: 20 --- -{{% pageinfo %}} +{{% alert %}} Добро пожаловать в документацию SelfPrivacy! -{{% /pageinfo %}} +{{% /alert %}} From c0b5306b767f15a0be5fe77b6ba469e681218e72 Mon Sep 17 00:00:00 2001 From: nevfy Date: Sun, 23 Jun 2024 05:01:16 +0300 Subject: [PATCH 2/4] fix: logo --- .../google/docsy/assets/scss/_nav.scss | 2 +- assets/icons/logo.svg | 19 ++++--------------- assets/scss/_styles_project.scss | 12 ++++++++++++ 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/_vendor/github.com/google/docsy/assets/scss/_nav.scss b/_vendor/github.com/google/docsy/assets/scss/_nav.scss index 72799a6..8d0e054 100644 --- a/_vendor/github.com/google/docsy/assets/scss/_nav.scss +++ b/_vendor/github.com/google/docsy/assets/scss/_nav.scss @@ -39,7 +39,7 @@ svg { display: inline-block; - margin: 0 10px; + margin: 0 2rem; height: 30px; } } diff --git a/assets/icons/logo.svg b/assets/icons/logo.svg index 4d038ac..0da8ddf 100644 --- a/assets/icons/logo.svg +++ b/assets/icons/logo.svg @@ -1,16 +1,5 @@ - - - - - - - - - - - - - - - + + + + diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 3ed9b29..d3d3437 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -191,4 +191,16 @@ a, a.btn-link { & > i { color: lightgray; } +} + +#sp-logo-text { + fill: $white +} + +#sp-logo-icon { + fill: $gray +} + +#sp-logo-keyhole { + fill: $yellow } \ No newline at end of file From 362c1ac45afbd955045f6ff3f0fe18ae531efad6 Mon Sep 17 00:00:00 2001 From: nevfy Date: Wed, 26 Jun 2024 04:46:34 +0300 Subject: [PATCH 3/4] fix: security img --- content/en/_index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/_index.html b/content/en/_index.html index 3845fe0..e377ad5 100644 --- a/content/en/_index.html +++ b/content/en/_index.html @@ -151,7 +151,7 @@ linkTitle = "SelfPrivacy"

SelfPrivacy is developed on the «zero trust» principle, even in relation to SelfPrivacy developers. That means you're the sole owner of your data.

{{< /image-container >}} - {{< image-container security "Security" "-purple" >}} + {{< image-container security "Security" "sp-feature sp-feature-purple" >}}

Open source. The $2,000 reward for RCE vulnerability significantly increases security compared to conventional self-hosted solutions.

{{< /image-container >}} From 236c3ba70ef00764818fb7e1c8a68955b0d4985a Mon Sep 17 00:00:00 2001 From: nevfy Date: Wed, 26 Jun 2024 04:54:12 +0300 Subject: [PATCH 4/4] fix: remove logo from footer --- layouts/partials/footer.html | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 938d559..c08a279 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,18 +1,6 @@ {{ $links := .Site.Params.links }} -