aboutsummaryrefslogtreecommitdiff
path: root/views/error.ejs
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-06-24 21:53:20 +0530
committerBobby <[email protected]>2022-06-24 21:53:20 +0530
commit555d44220b016978cd9cbddf8d1ac6bb84a1f142 (patch)
treee434151c4dea941f91652531d39262bdf6a82341 /views/error.ejs
parent00e99b844c260e0263e5d5403d284ba07450005e (diff)
downloadthatcomputerscientist-555d44220b016978cd9cbddf8d1ac6bb84a1f142.tar.xz
thatcomputerscientist-555d44220b016978cd9cbddf8d1ac6bb84a1f142.zip
basic email validation on account page
Diffstat (limited to 'views/error.ejs')
-rw-r--r--views/error.ejs38
1 files changed, 25 insertions, 13 deletions
diff --git a/views/error.ejs b/views/error.ejs
index d11cc4be..16a9f991 100644
--- a/views/error.ejs
+++ b/views/error.ejs
@@ -1,14 +1,26 @@
-<%- include('partials/header.ejs') %> <%- include('partials/sidebar.ejs') %>
-<div class="main">
- <div class="alert">
- <h1 class="error">error</h1>
- <p>
- <%= error %>
- </p>
- </div>
- <section>
- <h2>Recent Posts</h2>
- </section>
-</div>
+<!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') %>
+ <%- include('partials/footer.ejs') %>
+ </body>
+</html>