Commit graph

2 commits

Author SHA1 Message Date
57884d4a25 feat: add "quick links" icon buttons in header (#73)
In this PR we add icon buttons in the header to quickly access the my contact page, Forgejo-, and Codeberg profile. I drew a Forgejo and Codeberg logo that I'm not 100% satisfied with. The buttons have a `title` attribute now which explains what the buttons represent. However, I would like to reuse the tooltip hover effect from the contact and about page. These effects are now repeating themselves on both pages, so we should merge them into a partial that can be included on each page, or just load it with the shell element.

<video src="/attachments/12429d26-cbfa-4e63-8ecd-fb1d1d270932" title="Inspelning 2026-04-05 140702" controls></video>
_The `title` tooltip is not visible in the recording, but they're there._

![Skärmbild 2026-04-05 141509](/attachments/688338bd-538e-48b2-be6c-b0903386a7e7)

Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/73
2026-04-05 14:20:30 +02:00
55a8234800 refactor: move CSS and JS assets to directory in project root (#72)
In this PR we move all of the CSS and JavaScript assets from the public assets directory to a new directory in the project root. The main reason for this is that I would like to believe this makes them easier to find. Since all CSS and JS is bundled with each page anyways there is no need to access these directly from a public directory. The main argument against this I think would be "transparency". We already run this site with `display_php_source=true` in Vegvisir (so page source code can be inspected by appending `.php` to the end of a url. But there is of course no reason to trust that it's the actual source code.

Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/72
2026-04-05 12:18:10 +02:00
Renamed from public/assets/css/shell.css (Browse further)