Commit graph

5 commits

Author SHA1 Message Date
Vincent Ambo
b5c50f4699 refactor(web): Let //web/ derivations build static pages only
Removes nginx configuration built by the web targets (with the
exception of the includable block used to set up redirects for old
blog URLs).
2020-02-11 19:31:20 +00:00
Vincent Ambo
ac2c9b7e87 style(web/homepage): Wrap links around the entire entry
This makes it much easier to click on them. Required some style
reshuffling to satisfy CSS.
2020-02-09 02:20:41 +00:00
Vincent Ambo
75969d886d feat(web/homepage): Add templating for entries on the homepage
Adds the actual insertion of entries into the homepage, subtly
colour-coding different types of entries.
2020-02-09 00:02:10 +00:00
Vincent Ambo
cce872e397 feat(web/homepage): Add Nix code to assemble the index page
This is not yet fully functional, but going in the right direction.

Some concepts are introduced:

* There is a light theme (used for blog entry pages) and a dark
  theme (used for the homepage itself)
* Entries can be either blog posts, projects or miscellaneous things
  that I want to link people to (possibly with a comment)

It might be interesting to add pages that filter to specific types, or
some such, which should be relatively easy to do.

Note that the layouts of entries are not actually done yet.
2020-02-08 22:21:06 +00:00
Vincent Ambo
7935957938 refactor(web): Move nginx setup to //web/homepage
The homepage is going to be the landing page for all content, whether
it be blog posts or other stuff.
2020-02-08 14:06:57 +00:00