personalweb

Archived
git clone git://git.wimdupont.com/personalweb.git
Log | Files | Refs | README | LICENSE

commit 00f8740385ada219133f83f172c0f55cc6339053
parent 9515f8567fa7e0febec29f55161a0783446f4f0e
Author: WimDupont <WimDupont@users.noreply.gitlab.com>
Date:   Sat,  6 Nov 2021 12:24:06 +0100

added link page with navigation and credit to animated cover art


Former-commit-id: 87eac1a5ad80442c8a6082aecc3c3e662dcf253c
Diffstat:
Asrc/main/java/com/wimdupont/personalweb/controller/LinkController.java | 18++++++++++++++++++
Msrc/main/resources/static/css/main.css | 5+++++
Msrc/main/resources/templates/article.html | 2+-
Msrc/main/resources/templates/blog.html | 2+-
Msrc/main/resources/templates/books.html | 2+-
Msrc/main/resources/templates/home.html | 7+++++--
Asrc/main/resources/templates/links.html | 48++++++++++++++++++++++++++++++++++++++++++++++++
Msrc/main/resources/templates/navigation.html | 1+
8 files changed, 80 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/wimdupont/personalweb/controller/LinkController.java b/src/main/java/com/wimdupont/personalweb/controller/LinkController.java @@ -0,0 +1,18 @@ +package com.wimdupont.personalweb.controller; + +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; + +@Controller +@RequestMapping("/links") +@SuppressWarnings("unused") +public class LinkController { + + @GetMapping + public String getRss(Model model) { + return "links"; + } + +} diff --git a/src/main/resources/static/css/main.css b/src/main/resources/static/css/main.css @@ -86,3 +86,8 @@ a:hover { .nav-space-left { padding-left: 80px; } + +.source-credit { + text-align: right; + font-size: 60%; +} diff --git a/src/main/resources/templates/article.html b/src/main/resources/templates/article.html @@ -2,7 +2,7 @@ <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> - <title th:text="${title}"></title> + <title th:text="${title} + ' - Wim Dupont'"></title> <link href="/css/main.css" rel="stylesheet"> <link href="/css/adoc.css" rel="stylesheet"> </head> diff --git a/src/main/resources/templates/blog.html b/src/main/resources/templates/blog.html @@ -2,7 +2,7 @@ <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> - <title>Blog</title> + <title>Blog - Wim Dupont</title> <link href="/css/main.css" rel="stylesheet"> <link href="/css/adoc.css" rel="stylesheet"> </head> diff --git a/src/main/resources/templates/books.html b/src/main/resources/templates/books.html @@ -2,7 +2,7 @@ <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> - <title>Book Collection</title> + <title>Book Collection - Wim Dupont</title> <link href="/css/main.css" rel="stylesheet"> </head> <body> diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html @@ -2,7 +2,7 @@ <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> - <title th:text="Homepage"></title> + <title>Home - Wim Dupont</title> <link href="/css/main.css" rel="stylesheet"> </head> <body> @@ -15,9 +15,12 @@ <p class="subheader" th:text="${affirmation.affirmation}"/> </div> <video width="960" autoplay loop> - <source src="/images/WoK-wallpaper-animated.mp4" type="video/mp4"> + <source title="The Way of Kings" src="/images/WoK-wallpaper-animated.mp4" type="video/mp4"> <img title="The Way Of Kings" src="/images/TheWayOfKings.png" width="960"> </video> + <div class="source-credit"> + Source: https://cosmere.es/descargas/ + </div> </div> </body> </html> diff --git a/src/main/resources/templates/links.html b/src/main/resources/templates/links.html @@ -0,0 +1,48 @@ +<!DOCTYPE html> +<html lang="en" xmlns:th="http://www.thymeleaf.org"> +<head> + <meta charset="UTF-8"> + <title>Links - Wim Dupont</title> + <link href="/css/main.css" rel="stylesheet"> +</head> +<body> +<div class="container wrapper"> + <header> + <h1>Links</h1> + <div th:insert="navigation"/> + </header> + <p class="subheader">Links to websites on different topics</p> + <h3>Privacy</h3> + <ul> + <li> + <a target="_blank" href="https://privacyguides.org">Privacy Guides</a> + - general useful information about digital privacy with software recommendations and tips + </li> + </ul> + + <h3>Software</h3> + <ul> + <li> + <a target="_blank" href="https://www.fsf.org/">Free Software Foundation</a> + - FSF homepage, great resource to get to know Free/Libre Software and its importance + </li> + <li> + <a target="_blank" href="https://www.signal.org/">Signal</a> + - my recommended encrypted instant messaging service + </li> + <li> + <a target="_blank" href="https://newsboat.org/">Newsboat</a> + - CLI RSS/Atom feed reader + </li> + <li> + <a target="_blank" href="https://odysee.com/">Odysee</a> + - video-sharing website that uses the decentralized LBRY network + </li> + <li> + <a target="_blank" href="https://invidious.io/">Invidious</a> + - privacy focused open software alternative front-end to YouTube + </li> + </ul> +</div> +</body> +</html> diff --git a/src/main/resources/templates/navigation.html b/src/main/resources/templates/navigation.html @@ -2,6 +2,7 @@ <a href="/">Home</a> <a href="/books">Books</a> <a href="/blog">Blog</a> + <a href="/links">Links</a> <div class="right"> <a class="navimg" target="_blank" href="https://gitlab.com/users/WimDupont/projects"> <img alt="Gitlab" title="Gitlab" src="/images/gitlab.png" width="20" height="20">