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