From 6bb13140e89c75e80924e526aa93dd21d8037ff6 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 24 Oct 2024 18:22:23 -0700 Subject: [PATCH] index: Remove links and about text and link to about page - Make a separate image for 'FreedomBox Powered'. - Link to the now publicly available about page. Tests: - Clicking on the new 'Powered' image leads to about page which is available to logged in and logged out users. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/templates/index.html | 71 +------- static/themes/default/css/main.css | 10 -- .../default/img/freedombox-logo-powered.svg | 160 ++++++++++++++++++ 3 files changed, 163 insertions(+), 78 deletions(-) create mode 100644 static/themes/default/img/freedombox-logo-powered.svg diff --git a/plinth/templates/index.html b/plinth/templates/index.html index 1e12f6d5e..089805f7f 100644 --- a/plinth/templates/index.html +++ b/plinth/templates/index.html @@ -92,75 +92,10 @@ {% block footer_block %} -

- - + +

- -

- {% blocktrans trimmed %} - {{ box_name }}, a Debian pure blend, is a 100% free software - self-hosting web server to deploy social applications on small - machines. It provides online communication tools respecting your - privacy and data ownership. - {% endblocktrans %} -

- -

- {% blocktrans trimmed %} - This portal is a part of the {{ box_name }} web interface. {{ box_name }} - is free software, distributed under the GNU Affero General Public License, - Version 3 or later. - {% endblocktrans %} -

- - - {% endblock %} diff --git a/static/themes/default/css/main.css b/static/themes/default/css/main.css index a2496b9a4..7ff79b664 100644 --- a/static/themes/default/css/main.css +++ b/static/themes/default/css/main.css @@ -280,12 +280,6 @@ body { text-align: center; } -/* Sticky footer styles --------------------------------------------------- */ -.footer-logo { - width: 8.75rem; -} - html { position: relative; } @@ -351,10 +345,6 @@ html { footer { text-align: center; - position: relative; - bottom: 0; - width: 100%; - height: 9.375rem; padding-top: 9.375rem; } diff --git a/static/themes/default/img/freedombox-logo-powered.svg b/static/themes/default/img/freedombox-logo-powered.svg new file mode 100644 index 000000000..5730029d7 --- /dev/null +++ b/static/themes/default/img/freedombox-logo-powered.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + +