diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-08-02 12:06:56 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-08-02 12:06:56 -0400 |
| commit | f7c360592b6c2ef24b033280aa977a894349476a (patch) | |
| tree | d057e242caccb73f02ec37c3693317a638fb356a /views | |
| parent | ab197dc41a884902625aff031cf0df089b8065b6 (diff) | |
| download | alp-website-f7c360592b6c2ef24b033280aa977a894349476a.tar.gz alp-website-f7c360592b6c2ef24b033280aa977a894349476a.tar.bz2 alp-website-f7c360592b6c2ef24b033280aa977a894349476a.zip | |
Finally making some progress on the website
Diffstat (limited to 'views')
| -rw-r--r-- | views/404.ejs | 10 | ||||
| -rw-r--r-- | views/includes/footer.ejs | 1 | ||||
| -rw-r--r-- | views/includes/header.ejs | 3 | ||||
| -rw-r--r-- | views/includes/navbar.ejs | 12 | ||||
| -rw-r--r-- | views/index.ejs | 12 | ||||
| -rw-r--r-- | views/wev2.ejs | 1 |
6 files changed, 36 insertions, 3 deletions
diff --git a/views/404.ejs b/views/404.ejs new file mode 100644 index 0000000..2bcc58e --- /dev/null +++ b/views/404.ejs @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <% include ./includes/header %> + <title><%= title %></title> +</head> +<body> + <h1>404 - Not Found</h1> +</body> +</html>
\ No newline at end of file diff --git a/views/includes/footer.ejs b/views/includes/footer.ejs new file mode 100644 index 0000000..8a666f5 --- /dev/null +++ b/views/includes/footer.ejs @@ -0,0 +1 @@ +<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
\ No newline at end of file diff --git a/views/includes/header.ejs b/views/includes/header.ejs new file mode 100644 index 0000000..268e2d4 --- /dev/null +++ b/views/includes/header.ejs @@ -0,0 +1,3 @@ +<link href="https://fonts.googleapis.com/css?family=Play:400,700&display=swap" rel="stylesheet"> +<link rel="stylesheet" href="/css/style.css"> +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
\ No newline at end of file diff --git a/views/includes/navbar.ejs b/views/includes/navbar.ejs new file mode 100644 index 0000000..634ee5a --- /dev/null +++ b/views/includes/navbar.ejs @@ -0,0 +1,12 @@ +<div class="navbar-fixed"> +<nav> + <div class="nav-wrapper black"> + <a href="/" class="brand-logo">Alee Productions</a> + <ul id="nav-mobile" class="right hide-on-med-and-down"> + <li><a href="/projects">Projects</a></li> + <li><a href="/blog">Blog</a></li> + <li><a href="/about">About</a></li> + </ul> + </div> +</nav> +</div>
\ No newline at end of file diff --git a/views/index.ejs b/views/index.ejs index d809250..80605ce 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -1,4 +1,12 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <% include ./includes/header %> + <title><%= title %></title> +</head> <body> - <h1>Hello World!</h1> - <a href ="wev2.ejs">Hello</a> + <% include ./includes/navbar %> + <h1>This page is under construction</h1> + <% include ./includes/footer %> </body> +</html>
\ No newline at end of file diff --git a/views/wev2.ejs b/views/wev2.ejs deleted file mode 100644 index 6f9f642..0000000 --- a/views/wev2.ejs +++ /dev/null @@ -1 +0,0 @@ -<h1>Hello 2</h1>
\ No newline at end of file |
