aboutsummaryrefslogtreecommitdiffstats
path: root/views/partials
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-08-05 21:11:48 +0100
committerLeonardo Bishop <me@leonardobishop.com>2023-08-05 21:11:48 +0100
commit18cc5f69129615850e48a995f7c3406b74d8d2f4 (patch)
tree1fdc6eadae4b0a6da69319f9b6733379ced2e4c2 /views/partials
parent64c36dcef8ab1c0b985d79da627cecd30fd50336 (diff)
Redesign website
Diffstat (limited to 'views/partials')
-rw-r--r--views/partials/head.ejs14
-rw-r--r--views/partials/header.ejs12
-rw-r--r--views/partials/navbar.ejs7
3 files changed, 20 insertions, 13 deletions
diff --git a/views/partials/head.ejs b/views/partials/head.ejs
new file mode 100644
index 0000000..d66fe97
--- /dev/null
+++ b/views/partials/head.ejs
@@ -0,0 +1,14 @@
+<title>Leonardo Bishop</title>
+<link rel="stylesheet" href="/css/globalstyles.css">
+
+<% if (typeof stylesheets == 'object') { %>
+ <% for (const sheet of stylesheets) { %>
+<link rel="stylesheet" href="<%= sheet %>">
+ <% } %>
+<% } %>
+
+<% if (typeof scripts == 'object') { %>
+ <% for (const script of scripts) { %>
+<script src="<%= script %>"></script>
+ <% } %>
+<% } %>
diff --git a/views/partials/header.ejs b/views/partials/header.ejs
deleted file mode 100644
index bd11ce0..0000000
--- a/views/partials/header.ejs
+++ /dev/null
@@ -1,12 +0,0 @@
-<pre class="website-name">
-
-<!--
-██╗ ███╗ ███╗██████╗ ██╗███████╗██╗ ██╗ ██████╗ ██████╗
-██║ ████╗ ████║██╔══██╗██║██╔════╝██║ ██║██╔═══██╗██╔══██╗
-██║ ██╔████╔██║██████╔╝██║███████╗███████║██║ ██║██████╔╝
-██║ ██║╚██╔╝██║██╔══██╗██║╚════██║██╔══██║██║ ██║██╔═══╝
-███████╗██║ ╚═╝ ██║██████╔╝██║███████║██║ ██║╚██████╔╝██║
-╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝
-
- -->
-</pre>
diff --git a/views/partials/navbar.ejs b/views/partials/navbar.ejs
index ff0c84d..3dbeb6a 100644
--- a/views/partials/navbar.ejs
+++ b/views/partials/navbar.ejs
@@ -1,3 +1,8 @@
<div id="navbar">
- <%- navbar %>
+ <h2>Leonardo Bishop</h2>
+ <a href="/">home</a>
+ <a href="/now">now</a>
+ <a href="/blog">blog</a>
+ <!-- <a href="/spotify">spotify</a> -->
+ <a href="/contact">contact</a>
</div>