|
4 | 4 | <meta charset="UTF-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | 6 | <title>Survey Poll App</title> |
7 | | - <script |
8 | | - src="https://kit.fontawesome.com/57aeb32e6c.js" |
9 | | - crossorigin="anonymous" |
10 | | - ></script> |
11 | | - <link |
12 | | - href="https://fonts.googleapis.com/icon?family=Material+Icons" |
13 | | - rel="stylesheet" |
14 | | - /> |
| 7 | + <script src="https://kit.fontawesome.com/57aeb32e6c.js" crossorigin="anonymous"></script> |
| 8 | + <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> |
15 | 9 | <link |
16 | 10 | rel="stylesheet" |
17 | 11 | href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css" |
|
41 | 35 | class="brand-logo center header-title red-text" |
42 | 36 | style=" |
43 | 37 | letter-spacing: 1px; |
44 | | - font-family: 'MuseoModerno', cursive; |
| 38 | + font-family: 'Merriweather', serif; |
45 | 39 | text-shadow: 0 0 2px rgb(68, 67, 67); |
46 | 40 | " |
47 | 41 | >Survey Poll App</span |
|
68 | 62 | <ul id="slide-out" class="sidenav"> |
69 | 63 | <% if(typeof user === 'undefined') {%> |
70 | 64 | <li> |
71 | | - <a |
72 | | - class="btn waves-effect waves-light red darken-2" |
73 | | - href="/auth/google" |
74 | | - > |
| 65 | + <a class="btn waves-effect waves-light red darken-2" href="/auth/google"> |
75 | 66 | <i class="fab fa-google white-text"></i> |
76 | 67 | <span>Login With Google</span> |
77 | 68 | </a> |
|
94 | 85 | <% }else{ %> |
95 | 86 | <li class="d-flex-start p-1-2"> |
96 | 87 | <div class="avatar-stamp"> |
97 | | - <img |
98 | | - src="<%= user.avatar %>" |
99 | | - alt="" |
100 | | - class="circle responsive-img" |
101 | | - /> |
| 88 | + <img src="<%= user.avatar %>" alt="" class="circle responsive-img" /> |
102 | 89 | </div> |
103 | | - <p class="center flow-text ml-1"> |
104 | | - <%= user.firstName %> <%= user.lastName %> |
105 | | - </p> |
| 90 | + <p class="center flow-text ml-1"><%= user.firstName %> <%= user.lastName %></p> |
106 | 91 | </li> |
107 | 92 | <li> |
108 | | - <a href="/users/dashboard" |
109 | | - ><i class="fas fa-2x fa-user-cog"></i> Dashboard</a |
110 | | - > |
| 93 | + <a href="/users/dashboard"><i class="fas fa-2x fa-user-cog"></i> Dashboard</a> |
111 | 94 | </li> |
112 | 95 | <li> |
113 | 96 | <a href="/users/survey/<%= user._id %>" |
|
116 | 99 | </li> |
117 | 100 | <li> |
118 | 101 | <a href="/survey/public" |
119 | | - ><i class="material-icons left" style="font-size: 2.5em">poll</i |
120 | | - >Public Surveys</a |
| 102 | + ><i class="material-icons left" style="font-size: 2.5em">poll</i>Public Surveys</a |
121 | 103 | > |
122 | 104 | </li> |
123 | 105 | <li> |
124 | | - <a href="/auth/logout" |
125 | | - ><i class="fas fa-2x fa-sign-out-alt"></i>Logout</a |
126 | | - > |
| 106 | + <a href="/auth/logout"><i class="fas fa-2x fa-sign-out-alt"></i>Logout</a> |
127 | 107 | </li> |
128 | 108 | <% } %> |
129 | 109 | </ul> |
|
0 commit comments