I've recently taken some time to clean up the backbone of the website a bit, instead of just writing blogposts. This mainly included a new frontpage, fully backed by the database. Before, the front page was just hardcoded HTML which I updated if I wanted to add a new corner / entry on the home page.
I now updated this by incorporating the entries into a corners
table of the database. This holds the name, url and an order of the entry. I then query this on the front page. I also added a "last 5 blog items" view to the homepage, as I've started to create a blogpost entry for every new post I make in every corner. This queries the database just like the blog corner, but filters it to only the first 5 results.
With the new table for the 5 latest blogs posts, I also wanted to update the layout of the front page, to not have that much empty space on the sides of the tables. I fixed this with a flexbox layout, where the two columns reside in a container. The lef one currently only holds the corners table. The right column then holds the two tables for the blog and library.
And last but not least, I added a new cars corner after getting inspired by the website of Keith W Bell, which my girlfriend came across when she was researching the material of the seats of my new DS3 Racing. He also has a DS3 and has some quality posts about it. I plan to (semi-)regularly post updates about my new car, be it maintenance, upgrades, trips or anything in between.
ㄟ(≧◇≦)ㄏ