From 1260dab2dbb1eaf222c48f89758ede07dbda3b9e Mon Sep 17 00:00:00 2001 From: Ada Date: Sun, 28 Jul 2024 13:06:09 +0200 Subject: [PATCH] Add social network in footer --- docker-compose.yaml | 2 - sass/ui.scss | 16 ++++ static/codeberg.svg | 164 +++++++++++++++++++++++++++++++++++ static/forgejo.svg | 40 +++++++++ static/github-mark-white.svg | 1 + static/github-mark.svg | 1 + static/gitlab.svg | 1 + templates/base.html | 4 +- templates/index.html | 53 ++++++++--- 9 files changed, 267 insertions(+), 15 deletions(-) create mode 100644 static/codeberg.svg create mode 100644 static/forgejo.svg create mode 100644 static/github-mark-white.svg create mode 100644 static/github-mark.svg create mode 100644 static/gitlab.svg diff --git a/docker-compose.yaml b/docker-compose.yaml index 6d48da7..10bd93e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,5 +1,3 @@ -version: "3" - services: website: image: git.gnous.eu/ada/website:latest diff --git a/sass/ui.scss b/sass/ui.scss index 109152c..f07a794 100644 --- a/sass/ui.scss +++ b/sass/ui.scss @@ -87,4 +87,20 @@ header { font-weight: 600px; word-spacing: 3px; } +} + +footer { + ul { + text-align: center; + + list-style-type: none; + } + + li { + display: inline; + } + + source, img { + height: 32px; + } } \ No newline at end of file diff --git a/static/codeberg.svg b/static/codeberg.svg new file mode 100644 index 0000000..028b729 --- /dev/null +++ b/static/codeberg.svg @@ -0,0 +1,164 @@ + + + Codeberg logo + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Codeberg logo + + + + Robert Martinez + + + + + Codeberg and the Codeberg Logo are trademarks of Codeberg e.V. + + + 2020-04-09 + + + Codeberg e.V. + + + codeberg.org + + + + + + + + + + + + + diff --git a/static/forgejo.svg b/static/forgejo.svg new file mode 100644 index 0000000..6b46a4a --- /dev/null +++ b/static/forgejo.svg @@ -0,0 +1,40 @@ + + + + + Forgejo logo + Caesar Schinas + + + + + + + + + + + + + diff --git a/static/github-mark-white.svg b/static/github-mark-white.svg new file mode 100644 index 0000000..d5e6491 --- /dev/null +++ b/static/github-mark-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/github-mark.svg b/static/github-mark.svg new file mode 100644 index 0000000..37fa923 --- /dev/null +++ b/static/github-mark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/gitlab.svg b/static/gitlab.svg new file mode 100644 index 0000000..95a22f1 --- /dev/null +++ b/static/gitlab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 354af31..c9d82cc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -12,13 +12,13 @@
-
+ {% block content %} {% endblock %}
diff --git a/templates/index.html b/templates/index.html index 61a7b9e..6aeeec4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,27 +8,27 @@

$ whoami

-

- I am currently a student in security. I spend my time building useless network and system infrastructure. I love free software. -

+

+ I am currently a student in security. I spend my time building useless network and system infrastructure. I love free software. +

- +
- +

$ ls Project

- +

Homelab

A small lab to learn network and system. I use Proxmox in bare-metal and Ubuntu for my virtual machines. - I automate some tasks with Ansible. + I automate some tasks with Ansible.

- +

Plakken

A web paste (like hastebin) written in Go

- +

Spiegel

A tools written in Go for mirroring a git repository

- +

Contribution

    @@ -39,7 +39,38 @@