summaryrefslogtreecommitdiff
path: root/src/_includes/components
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-16 03:53:24 -0400
committerseth <[email protected]>2023-05-16 04:08:37 -0400
commit681cd8c1cc2904c562f9a58db3cbb657d58fb552 (patch)
tree9255f71e577fc82f079c16ff493f432ca5557284 /src/_includes/components
parentbf4df962be338c08ae41bed94b1d60b2930fca9f (diff)
feat: rewrite with astro
Diffstat (limited to 'src/_includes/components')
-rw-r--r--src/_includes/components/footer.njk6
-rw-r--r--src/_includes/components/headerbar.njk9
-rw-r--r--src/_includes/components/postlist.njk17
3 files changed, 0 insertions, 32 deletions
diff --git a/src/_includes/components/footer.njk b/src/_includes/components/footer.njk
deleted file mode 100644
index 2d88e70..0000000
--- a/src/_includes/components/footer.njk
+++ /dev/null
@@ -1,6 +0,0 @@
-<footer>
- <div id="commitText">
- <a href="https://github.com/getchoo/getchoo.github.io">source</a>
- commit: {{ gitRevision }}
- </div>
-</footer>
diff --git a/src/_includes/components/headerbar.njk b/src/_includes/components/headerbar.njk
deleted file mode 100644
index 0edc922..0000000
--- a/src/_includes/components/headerbar.njk
+++ /dev/null
@@ -1,9 +0,0 @@
-<div class="headerbar">
- <div id="links" class="flex gap-3">
- <button onclick="window.location.href='/'">home</button>
- <button onclick="window.location.href='/blog'">blog</button>
- <button onclick="window.location.href='https://github.com/getchoo'">
- github
- </button>
- </div>
-</div>
diff --git a/src/_includes/components/postlist.njk b/src/_includes/components/postlist.njk
deleted file mode 100644
index f7d2b95..0000000
--- a/src/_includes/components/postlist.njk
+++ /dev/null
@@ -1,17 +0,0 @@
-<div>
- <ul class="postList">
- {% for post in postList %}
- <li>
- <a href="{{ post.data.url }}">{{ post.data.title }}</a>
- <time
- class="post-date"
- datetime="{{ post.data.date | date('DATETIME') }}"
- >
- {{ post.data.date | date('HUMAN_DATE') }}
- </time>
- </li>
- {% else %}
- <p>no posts yet! 🥸</p>
- {% endfor %}
- </ul>
-</div>