[de70cd4] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
|
---|
| 3 | <head>
|
---|
| 4 | <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
---|
| 5 | <style>
|
---|
[a51a591] | 6 | .navbar {
|
---|
[de70cd4] | 7 | background: darkkhaki;
|
---|
| 8 | }
|
---|
[a51a591] | 9 |
|
---|
| 10 | span {
|
---|
[de70cd4] | 11 | color: #b2d7ff;
|
---|
| 12 | text-decoration: none;
|
---|
| 13 | background: transparent;
|
---|
| 14 | }
|
---|
[a51a591] | 15 |
|
---|
| 16 | ul {
|
---|
[de70cd4] | 17 | text-align: justify;
|
---|
| 18 | margin-left: 50px;
|
---|
| 19 | margin-right: 50px;
|
---|
| 20 |
|
---|
| 21 | }
|
---|
[a51a591] | 22 |
|
---|
| 23 | body {
|
---|
| 24 | background-image: url("https://images.unsplash.com/photo-1511795409834-ef04bbd61622?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=869&q=80");
|
---|
[de70cd4] | 25 | background-size: 100%;
|
---|
| 26 | background-repeat: no-repeat;
|
---|
[a51a591] | 27 | background-position: center top -150px; /* Adjust the background position to move the image up */
|
---|
[de70cd4] | 28 | }
|
---|
[a51a591] | 29 |
|
---|
| 30 | .navbar-brand {
|
---|
| 31 | color: #343a40;
|
---|
| 32 | font-weight: bold;
|
---|
[de70cd4] | 33 | }
|
---|
[a51a591] | 34 |
|
---|
| 35 | .nav-link {
|
---|
| 36 | color: #343a40;
|
---|
| 37 | font-weight: bold;
|
---|
| 38 |
|
---|
[de70cd4] | 39 | }
|
---|
| 40 |
|
---|
[a51a591] | 41 | footer {
|
---|
| 42 | position: fixed;
|
---|
[de70cd4] | 43 | bottom: 0;
|
---|
| 44 | left: 0;
|
---|
| 45 | right: 0;
|
---|
| 46 | background: #111;
|
---|
| 47 | height: auto;
|
---|
| 48 | width: 100vw;
|
---|
| 49 | padding-top: 40px;
|
---|
| 50 | color: #fff;
|
---|
| 51 | }
|
---|
[a51a591] | 52 |
|
---|
| 53 | .footer-content {
|
---|
[de70cd4] | 54 | display: flex;
|
---|
| 55 | align-items: center;
|
---|
| 56 | justify-content: center;
|
---|
| 57 | flex-direction: column;
|
---|
| 58 | text-align: center;
|
---|
[a51a591] | 59 | height: 80px;
|
---|
[de70cd4] | 60 | }
|
---|
[a51a591] | 61 |
|
---|
| 62 | .footer-content h3 {
|
---|
[de70cd4] | 63 | font-size: 2.1rem;
|
---|
| 64 | font-weight: 500;
|
---|
| 65 | text-transform: capitalize;
|
---|
| 66 | line-height: 3rem;
|
---|
[a51a591] | 67 | margin-top: 20px;
|
---|
[de70cd4] | 68 | }
|
---|
[a51a591] | 69 |
|
---|
| 70 | .footer-content p {
|
---|
[de70cd4] | 71 | max-width: 500px;
|
---|
| 72 | margin: 10px auto;
|
---|
| 73 | line-height: 28px;
|
---|
| 74 | font-size: 14px;
|
---|
| 75 | color: #cacdd2;
|
---|
| 76 | }
|
---|
[a51a591] | 77 |
|
---|
| 78 | .socials {
|
---|
[de70cd4] | 79 | list-style: none;
|
---|
| 80 | display: flex;
|
---|
| 81 | align-items: center;
|
---|
| 82 | justify-content: center;
|
---|
| 83 | margin: 1rem 0 3rem 0;
|
---|
| 84 | }
|
---|
[a51a591] | 85 |
|
---|
| 86 | .socials li {
|
---|
[de70cd4] | 87 | margin: 0 10px;
|
---|
| 88 | }
|
---|
[a51a591] | 89 |
|
---|
| 90 | .socials a {
|
---|
[de70cd4] | 91 | text-decoration: none;
|
---|
| 92 | color: #fff;
|
---|
| 93 | border: 1.1px solid white;
|
---|
| 94 | padding: 5px;
|
---|
| 95 | border-radius: 50%;
|
---|
| 96 | }
|
---|
[a51a591] | 97 |
|
---|
| 98 | .socials a i {
|
---|
[de70cd4] | 99 | font-size: 1.1rem;
|
---|
| 100 | width: 20px;
|
---|
| 101 | transition: color .4s ease;
|
---|
| 102 | }
|
---|
[a51a591] | 103 |
|
---|
| 104 | .socials a:hover i {
|
---|
[de70cd4] | 105 | color: aqua;
|
---|
| 106 | }
|
---|
| 107 |
|
---|
[a51a591] | 108 | .footer-bottom p {
|
---|
[de70cd4] | 109 | float: left;
|
---|
| 110 | font-size: 14px;
|
---|
| 111 | word-spacing: 2px;
|
---|
| 112 | text-transform: capitalize;
|
---|
| 113 | }
|
---|
[a51a591] | 114 |
|
---|
| 115 | .footer-bottom p a {
|
---|
| 116 | color: #44bae8;
|
---|
[de70cd4] | 117 | font-size: 16px;
|
---|
| 118 | text-decoration: none;
|
---|
| 119 | }
|
---|
[a51a591] | 120 |
|
---|
| 121 | .footer-bottom span {
|
---|
[de70cd4] | 122 | text-transform: uppercase;
|
---|
| 123 | opacity: .4;
|
---|
| 124 | font-weight: 200;
|
---|
| 125 | }
|
---|
| 126 |
|
---|
[a51a591] | 127 | .footer-menu ul {
|
---|
[de70cd4] | 128 | display: flex;
|
---|
| 129 | }
|
---|
[a51a591] | 130 |
|
---|
| 131 | .footer-menu ul li {
|
---|
[de70cd4] | 132 | padding-right: 10px;
|
---|
| 133 | display: block;
|
---|
| 134 | }
|
---|
[a51a591] | 135 |
|
---|
| 136 | .footer-menu ul li a {
|
---|
[de70cd4] | 137 | color: #cfd2d6;
|
---|
| 138 | text-decoration: none;
|
---|
| 139 | }
|
---|
[a51a591] | 140 |
|
---|
| 141 | .footer-menu ul li a:hover {
|
---|
[de70cd4] | 142 | color: #27bcda;
|
---|
| 143 | }
|
---|
| 144 |
|
---|
[a51a591] | 145 | @media (max-width: 500px) {
|
---|
| 146 | .footer-menu ul {
|
---|
[de70cd4] | 147 | display: flex;
|
---|
| 148 | margin-top: 10px;
|
---|
| 149 | margin-bottom: 20px;
|
---|
| 150 | }
|
---|
| 151 | }
|
---|
| 152 |
|
---|
[a51a591] | 153 | .kopce {
|
---|
[de70cd4] | 154 | background-color: mediumslateblue;
|
---|
| 155 | border: none;
|
---|
| 156 | color: white;
|
---|
| 157 | padding: 15px 32px;
|
---|
| 158 | text-align: center;
|
---|
| 159 | text-decoration: none;
|
---|
| 160 | display: inline-block;
|
---|
| 161 | font-size: 16px;
|
---|
| 162 | margin-left: 20px;
|
---|
| 163 | }
|
---|
| 164 |
|
---|
[a51a591] | 165 | /*#logo{*/
|
---|
| 166 | /* width:160px;*/
|
---|
| 167 | /* height: 60px*/
|
---|
| 168 | /*}*/
|
---|
| 169 | h1 {
|
---|
| 170 | color: black;
|
---|
| 171 | font-size: 60px;
|
---|
| 172 | font-weight: 700;
|
---|
| 173 | letter-spacing: 8px;
|
---|
| 174 | margin-bottom: 20px;
|
---|
| 175 | margin-left: auto;
|
---|
| 176 | margin-right: auto;
|
---|
| 177 | margin-top: 50px;
|
---|
| 178 | position: relative;
|
---|
| 179 | animation: text 3s 1;
|
---|
| 180 | }
|
---|
| 181 |
|
---|
| 182 | @keyframes text {
|
---|
| 183 | 0% {
|
---|
| 184 | color: black;
|
---|
| 185 | margin-bottom: -40px;
|
---|
| 186 | }
|
---|
| 187 | 30% {
|
---|
| 188 | letter-spacing: 25px;
|
---|
| 189 | margin-bottom: -40px;
|
---|
| 190 | }
|
---|
| 191 | 85% {
|
---|
| 192 | letter-spacing: 8px;
|
---|
| 193 | margin-bottom: -40px;
|
---|
| 194 | }
|
---|
| 195 | }
|
---|
| 196 |
|
---|
| 197 | footer {
|
---|
| 198 | width: 100%;
|
---|
| 199 | padding: 20px;
|
---|
| 200 | box-sizing: border-box;
|
---|
[de70cd4] | 201 | }
|
---|
| 202 | </style>
|
---|
| 203 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
---|
| 204 | <meta charset="UTF-8"/>
|
---|
[a51a591] | 205 | <title>Home - Eventrra</title>
|
---|
| 206 | <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
|
---|
| 207 | integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
---|
| 208 | <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
|
---|
| 209 | integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
|
---|
| 210 | crossorigin="anonymous"></script>
|
---|
| 211 | <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
|
---|
| 212 | integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
|
---|
| 213 | crossorigin="anonymous"></script>
|
---|
| 214 | <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
|
---|
| 215 | integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
|
---|
| 216 | crossorigin="anonymous"></script>
|
---|
[de70cd4] | 217 | </head>
|
---|
| 218 | <body>
|
---|
| 219 | <div>
|
---|
[a51a591] | 220 | <nav class="navbar navbar-expand-md ">
|
---|
| 221 | <div class="container">
|
---|
| 222 | <!-- <img class="u-image u-image-default u-image-1" src="../static/logoeventra.png" alt="" data-image-width="648" data-image-height="292">-->
|
---|
| 223 | <!-- <a class="navbar-brand" href="/home"></a>-->
|
---|
| 224 | <a class="navbar-brand"> Eventrra</a>
|
---|
| 225 | <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault"
|
---|
| 226 | aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
|
---|
| 227 | <span class="navbar-toggler-icon"></span>
|
---|
| 228 | </button>
|
---|
| 229 |
|
---|
| 230 | <div class="collapse navbar-collapse justify-content-end" id="navbarsExampleDefault">
|
---|
| 231 | <ul class="navbar-nav m-auto">
|
---|
| 232 |
|
---|
| 233 | <li th:if="${session.user!=null}" class="nav-item m-auto">
|
---|
| 234 | <a class="nav-link active" href="/">Home</a>
|
---|
| 235 | </li>
|
---|
| 236 |
|
---|
| 237 | <li th:if="${session.user!=null and session.role == 'ROLE_CLIENT'}"
|
---|
| 238 | class="nav-item m-auto">
|
---|
| 239 | <a class="kopce" href="/host_event">Host an event</a>
|
---|
| 240 | </li>
|
---|
| 241 | <li th:if="${session.user!=null}" class="nav-item m-auto">
|
---|
| 242 | <a class="nav-link active" href="/my_events">Scheduled events</a>
|
---|
| 243 | </li>
|
---|
| 244 | </ul>
|
---|
| 245 |
|
---|
| 246 | <form class="form-inline my-2 my-lg-0">
|
---|
| 247 |
|
---|
| 248 | <div th:if="${session.user==null}">
|
---|
| 249 | <a class="btn btn-light btn-sm ml-3" href="/login">
|
---|
| 250 | Login
|
---|
| 251 | </a>
|
---|
| 252 |
|
---|
| 253 | <a class="btn btn-light btn-sm ml-3" href="/register">
|
---|
| 254 | Sign up
|
---|
| 255 | </a>
|
---|
| 256 | </div>
|
---|
| 257 | <div style="text-align: center" th:if="${session.user!=null}" class="nav-item m-auto">
|
---|
| 258 | <a th:text="${session.user.username}" style="color:white; font-size: 20px;"
|
---|
| 259 | class="nav-link active" href="/login/profile"></a>
|
---|
| 260 | </div>
|
---|
| 261 |
|
---|
| 262 | <div th:if="${session.user!=null}">
|
---|
| 263 | <a class="btn btn-light btn-sm ml-3" href="/logout">
|
---|
| 264 | Log out
|
---|
| 265 | </a>
|
---|
| 266 | </div>
|
---|
| 267 | </form>
|
---|
[de70cd4] | 268 | </div>
|
---|
| 269 | </div>
|
---|
[a51a591] | 270 | </nav>
|
---|
[de70cd4] | 271 | </div>
|
---|
[a51a591] | 272 | <!-- <div class="ml-5">-->
|
---|
| 273 | <!-- <img class="img-fluid" src="https://images.unsplash.com/photo-1511795409834-ef04bbd61622?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=869&q=80" alt="Image">-->
|
---|
| 274 | <!-- </div>-->
|
---|
[de70cd4] | 275 | <footer>
|
---|
| 276 | <div class="footer-content">
|
---|
[a51a591] | 277 | <br>
|
---|
[de70cd4] | 278 | <h3>Contact us</h3>
|
---|
| 279 |
|
---|
| 280 | <ul class="socials">
|
---|
| 281 | <li><a href="#"><i class="fa fa-facebook"></i></a></li>
|
---|
| 282 | <li><a href="#"><i class="fa fa-twitter"></i></a></li>
|
---|
| 283 | <li><a href="#"><i class="fa fa-google-plus"></i></a></li>
|
---|
| 284 | <li><a href="#"><i class="fa fa-youtube"></i></a></li>
|
---|
| 285 | <li><a href="#"><i class="fa fa-linkedin-square"></i></a></li>
|
---|
| 286 | </ul>
|
---|
| 287 | </div>
|
---|
| 288 | </footer>
|
---|
[a51a591] | 289 | </body>
|
---|
[de70cd4] | 290 | </html>
|
---|