Merge branch 'about-page' into master
commit
b9ef05f53d
@ -0,0 +1,44 @@
|
||||
+++
|
||||
title = "About me"
|
||||
description = "Here's where I introduce myself."
|
||||
date = "2022-02-06 00:00:00+01:00"
|
||||
updated = "2023-03-01T23:10:47+01:00"
|
||||
draft = true
|
||||
+++
|
||||
|
||||
Hello visitor,
|
||||
|
||||
I am Jonas (Tobias) Hopusch, usually known online as by my username "jotoho".
|
||||
|
||||
I am male, German, currently <span id="age-display">*javascript failed*</span> years old
|
||||
and a student of computer science at the [South Westphalia University of Applied
|
||||
Sciences](https://fh-swf.de) working towards earning a Bachelor degree.
|
||||
|
||||
### Why I chose to work with computers
|
||||
|
||||
### My Hobbies
|
||||
|
||||
In my free time I usually watch videos on the Internet,
|
||||
read fiction stories online or on my eReader,
|
||||
play some videogames or
|
||||
learn about topics that interest me.
|
||||
|
||||
When I don't need my ears for something else, I usually
|
||||
have music playing or listen to something else.
|
||||
|
||||
I like to listen to multiple kinds of music
|
||||
that are very different to each other, so I have
|
||||
trouble concretely defining the genres I listen to.
|
||||
|
||||
### My Desktop-PC
|
||||
|
||||
|PC Part|Installed Component|
|
||||
|:-|:-:|
|
||||
|CPU|[AMD Ryzen 7 5800X (8 cores, 16 threads)](https://www.amd.com/en/products/cpu/amd-ryzen-7-5800x)|
|
||||
|Motherboard|[ASRock X570M Pro4](https://www.asrock.com/MB/AMD/X570M%20Pro4/)|
|
||||
|Graphics Card|[ASUS Dual Radeon RX 6750XT 12GB OC Edition](https://www.asus.com/motherboards-components/graphics-cards/dual/dual-rx6750xt-o12g/)|
|
||||
|Memory|20GiB (2*8G+4G) DDR4 2133MHz|
|
||||
|Monitors|2 1920x1080 32" 60Hz screens|
|
||||
|Storage|1TB SATA-SSD + 1TB SATA-HDD|
|
||||
|
||||
<script style="display: none;" src="/scripts/calcage.js" defer></script>
|
@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
|
||||
{
|
||||
// Month index must be two because counting begins at 0 (for January)
|
||||
const myBirthDate = new Date(2001, 2, 29);
|
||||
const today = new Date();
|
||||
|
||||
let yearsSinceBirth = today.getFullYear() - myBirthDate.getFullYear();
|
||||
|
||||
// Correct yearsSinceBirth if between New Year and my birthday
|
||||
if (today.getMonth() < myBirthDate.getMonth())
|
||||
yearsSinceBirth--;
|
||||
else if (today.getMonth() == myBirthDate.getMonth()
|
||||
&& today.getDate() < myBirthDate.getDate())
|
||||
yearsSinceBirth--;
|
||||
|
||||
document.getElementById('age-display').innerText = yearsSinceBirth.toString();
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
|
||||
{
|
||||
const copyrightYearElement = document.getElementById("footer-copyrightyear");
|
||||
|
||||
if (copyrightYearElement) {
|
||||
const currentYearAsStr = new Date().getFullYear().toString();
|
||||
|
||||
copyrightYearElement.innerText = currentYearAsStr;
|
||||
copyrightYearElement.dateTime = currentYearAsStr;
|
||||
}
|
||||
else
|
||||
console.error("Could not find the footer entry for the year of the copyright notice.");
|
||||
}
|
Loading…
Reference in New Issue