diff options
| author | Bobby <[email protected]> | 2022-07-18 00:57:36 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-07-18 00:57:36 +0530 |
| commit | b31bd3dbabb57eda3fddfaa7a59e01e73442834f (patch) | |
| tree | 8acf4f7eec348c9d9e143933ff2ad59784233f2e /views/partials | |
| parent | 406a35de9d0d37d20123a0a3e961614142c2cf3c (diff) | |
| download | thatcomputerscientist-b31bd3dbabb57eda3fddfaa7a59e01e73442834f.tar.xz thatcomputerscientist-b31bd3dbabb57eda3fddfaa7a59e01e73442834f.zip | |
Change Init to Ghost
Diffstat (limited to 'views/partials')
| -rw-r--r-- | views/partials/footer.ejs | 2 | ||||
| -rw-r--r-- | views/partials/header.ejs | 12 | ||||
| -rw-r--r-- | views/partials/sidebar.ejs | 43 |
3 files changed, 0 insertions, 57 deletions
diff --git a/views/partials/footer.ejs b/views/partials/footer.ejs deleted file mode 100644 index 691287b6..00000000 --- a/views/partials/footer.ejs +++ /dev/null @@ -1,2 +0,0 @@ -</body> -</html>
\ No newline at end of file diff --git a/views/partials/header.ejs b/views/partials/header.ejs deleted file mode 100644 index 45e44f1b..00000000 --- a/views/partials/header.ejs +++ /dev/null @@ -1,12 +0,0 @@ -<!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="<%= domain %>/css/main.css"> - </head> - <body>
\ No newline at end of file diff --git a/views/partials/sidebar.ejs b/views/partials/sidebar.ejs deleted file mode 100644 index 0cd27160..00000000 --- a/views/partials/sidebar.ejs +++ /dev/null @@ -1,43 +0,0 @@ -<div class="sidebar"> - <a href="/" class="title"> - <img src="<%= domain %>/images/logo.png" alt="That Computer Scientist Logo" width="10rem" height="3.23rem"> - <!-- Login Box --> - </a> - <% if (locals.username) { %> - <div class="login-box"> - <p>Welcome, <%= username %>!</p> - <a href="<%= domain %>/auth/logout">Logout</a> - </div> - <% } else { %> - <form method="post" action="<%= domain %>/auth/login"> - <fieldset> - <legend>Login Area</legend> - <label for="username">Username</label> - <input type="text" id="username" name="username" placeholder="Username" autocomplete="off"> - <label for="password">Password</label> - <input type="password" id="password" name="password" placeholder="Password"> - <% if (locals.messages) { %> - <p class="error"><%= messages.error %></p> - <% } %> - <input type="submit" value="Login"> - </fieldset> - </form> - <% } %> - <br> - <fieldset> - <legend>Navigation</legend> - <nav> - <ul> - <li><a href="/">Home</a></li> - <li><a href="/about">About</a></li> - <li><a href="/contact">Contact</a></li> - <li><a href="/blog">Blog</a></li> - <% if (locals.username) { %> - <li><a href="/account">My Account</a></li> - <% } else { %> - <li><a href="/register">Register</a></li> - <% } %> - </ul> - </nav> - </fieldset> -</div> |
