about summary refs log tree commit diff
path: root/web/homepage/header.html
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-08T22·21+0000
committerVincent Ambo <tazjin@google.com>2020-02-08T22·21+0000
commitcce872e3977d3f7e2001a76310d98f6fa80d7243 (patch)
tree4b7a4692842ffb6546114e51129dcd9d7c7db444 /web/homepage/header.html
parent7935957938fb4bd73b557e42fa828b1470979777 (diff)
feat(web/homepage): Add Nix code to assemble the index page r/488
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.
Diffstat (limited to '')
-rw-r--r--web/homepage/header.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/web/homepage/header.html b/web/homepage/header.html
new file mode 100644
index 0000000000..832306fae3
--- /dev/null
+++ b/web/homepage/header.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<head><meta charset="utf-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+  <meta name="description" content="tazjin&#39;s blog">
+  <link rel="stylesheet" type="text/css" href="static/tazjin.css" media="all">
+  <link rel="alternate" type="application/rss+xml" title="RSS-Feed" href="/rss.xml">
+  <title>tazjin&#39;s interblag</title>
+</head>
+<body class="dark">
+  <header>
+    <h1>
+      <a class="unstyled-link" href="/">tazjin&#39;s interblag</a>
+    </h1>
+    <hr>
+  </header>
+  <div class="introduction">
+    <p>Hello, illuminated visitor.</p>
+    <p>
+      I'm tazjin. Usually you can find
+      me <a href="https://git.tazj.in/about">programming computers</a>
+      using tools such as <a href="https://nixos.org/nix">Nix</a>
+      and <a href="https://www.gnu.org/software/emacs/">Emacs</a>,
+      cuddling <a href="https://twitter.com/edefic">people I love</a>
+      or posting nonsense <a href="https://twitter.com/tazjin">on the
+      internet</a>.
+    </p>
+    <p>
+      Below you can find a collection of my projects and blog posts.
+      If you'd like to get in touch about anything, send me a mail at
+      mail@[this domain] or ping me on IRC or Twitter.
+    </p>
+  </div>
+  <div class="entry-container">