aboutsummaryrefslogtreecommitdiff
path: root/views/errors
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-06-25 18:27:00 +0530
committerBobby <[email protected]>2022-06-25 18:27:00 +0530
commit3ee390500beb3495ca25fe67a357e2ae38475569 (patch)
treeaba3f3900cd936883a70e235fe323abb1e54dda1 /views/errors
parent806e6d2d78ef90f48727b86870bc75077b2474fe (diff)
downloadthatcomputerscientist-3ee390500beb3495ca25fe67a357e2ae38475569.tar.xz
thatcomputerscientist-3ee390500beb3495ca25fe67a357e2ae38475569.zip
setup dynamic subdomains and organize error pages
Diffstat (limited to 'views/errors')
-rw-r--r--views/errors/page_error.ejs26
1 files changed, 26 insertions, 0 deletions
diff --git a/views/errors/page_error.ejs b/views/errors/page_error.ejs
new file mode 100644
index 00000000..baa97f98
--- /dev/null
+++ b/views/errors/page_error.ejs
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta
+ name="description"
+ content="Welcome to the home of That Computer Scientist. I am Kumar Priyansh. This is my personal website where I share all of my thoughts, ideas, and experiences."
+ />
+ <title>That Computer Scientist - <%= title %></title>
+ <!-- <link rel="stylesheet" href="css/fonts.css"> -->
+ <link preload rel="stylesheet" href="../css/main.css" />
+ </head>
+ <body>
+ <div class="main">
+ <div class="errorbox">
+ <h1 class="error">Whoops! Encountered an error!</h1>
+ <p><%= error %></p>
+ <p>Please click <a href="/">here</a> to go back to the home page.</p>
+ </div>
+ </div>
+
+ <%- include('../partials/footer.ejs') %>
+ </body>
+</html>