Skip to content

Commit 04e1e35

Browse files
committed
changes to styling
1 parent 86e2d74 commit 04e1e35

File tree

2 files changed

+6
-30
lines changed

2 files changed

+6
-30
lines changed

server.js

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const sess = {
2929
db: sequelize
3030
}),
3131
};
32-
3332
app.use(session(sess));
3433

3534
app.use(express.json());

views/layouts/main.handlebars

+6-29
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
43
<head>
54
<meta charset="UTF-8">
65
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -9,25 +8,18 @@
98
<link rel="stylesheet" href="/css/style.css">
109
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
1110
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
12-
1311
<style type="text/css">
1412
body {
1513
cursor: url('data:image/x-icon;base64,AAACAAEAICACAAgACAAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAP9IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAPAAAAH4AAAB+AAAA/wAAAP8AAAGZgAABGIAAARiAAAE8gAAB/4AAAP8AAAD/AAAAfgAAAAAAAA//////////////////////////////////////////////////////////////////////////////////////5////8P///+B////AP///wD///4Af//+AH///AA///wAP//8AD///AA///wAP//+AH///gB///cA///zgf//8='), auto;
1614
}
1715
</style>
1816
</head>
19-
<body>
2017
<div class="wrapper">
2118
<header>
22-
<h1 class="px-3 py-3 is-size-1 has-text-weigth-bold is-family-monospace has-text-centered"><span class="neonText">👽</span> THE FOURTH KIND
19+
<h1 class="px-3 py-3 is-size-1 has-text-weigth-bold is-family-monospace has-text-centered"><span class="neonText">👽</span> 4thKind
2320
</h1>
24-
<p class="is-size-4">A safe place to share your extraterrestrial encounters! </p>
21+
<p class="is-size-4 has-text-centered">A safe place to share your extraterrestrial encounters! </p>
2522
<nav class="navbar">
26-
27-
<h1 class="has-text-white px-3 py-3 has-text-weight-bold">4thKind</h1>
28-
<p>A safe place to share your extraterrestrial encounters! 👽</p>
29-
<nav class="navbar mt-2">
30-
3123
{{#if loggedIn}}
3224
<a href="/" class="button is-success is-outlined is-hoverable navbar-item pt-1">Home</a>
3325
<a href="/dashboard" class="button is-success is-outlined navbar-item pt-1">Dashboard</a>
@@ -40,29 +32,17 @@
4032
{{/if}}
4133
</nav>
4234
</header>
43-
4435
</div>
4536
<main>
4637
{{{ body }}}
4738
</main>
48-
49-
5039
<footer class="footer rows pb-5 footer1">
51-
<div class="row-is-full content has-text-centered">
52-
<a class="footerText" href="/">Home</a>{{#if loggedIn}} <span class="neonText" style="font-size: 1.5rem;"> 👽 </span> <a class="footerText" href="/dashboard/">Dashboard</a> <span class="neonText" style="font-size: 1.5rem;"> 👽 </span>
53-
<a class="footerText" href="/dashboard/create/">Create New Post</a>
54-
{{else}}
55-
<span class="neonText" style="font-size: 1.5rem;"> 👽 </span> <a class="footerText" href="/login/">Login</a>
56-
{{/if}}
57-
<footer class="footer rows pb-2 footer1">
5840
<div class="row-is-full content has-text-centered">
5941
<p>
60-
<a href="/">Home</a>{{#if loggedIn}} |
61-
<a href="/dashboard/">Dashboard</a> |
62-
<a href="/dashboard/create/">Create New Post</a>
42+
<a class="footerText" href="/">Home</a>{{#if loggedIn}} <span class="neonText" style="font-size: 1.5rem;"> 👽</span> <a class="footerText" href="/dashboard/">Dashboard</a> <span class="neonText" style="font-size: 1.5rem;"> 👽</span>
43+
<a class="footerText" href="/dashboard/create/">Create New Post</a>
6344
{{else}}
64-
| <a href="/login/">Login</a>
65-
45+
<span class="neonText" style="font-size: 1.5rem;"> 👽</span> <a class="footerText" href="/login/">Login</a>
6646
{{/if}}
6747
</p>
6848
</div>
@@ -73,11 +53,8 @@
7353
</div>
7454
</footer>
7555
</div>
76-
7756
{{#if loggedIn}}
7857
<script src="/js/logout.js"></script>
7958
{{/if}}
80-
8159
</body>
82-
83-
</html>
60+
</html>

0 commit comments

Comments
 (0)