[bdc68e0] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html lang="en">
|
---|
| 3 | <head>
|
---|
| 4 | <meta charset="UTF-8">
|
---|
| 5 | <title>Home page</title>
|
---|
| 6 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
---|
| 7 | </head>
|
---|
| 8 | <style>
|
---|
| 9 | body {
|
---|
| 10 | background-color: #00315e;
|
---|
| 11 | }
|
---|
| 12 | .photo{
|
---|
| 13 | width:300px;
|
---|
| 14 | height:60px;
|
---|
| 15 | }
|
---|
| 16 | .bgi{
|
---|
| 17 | background-image: url("/images/home.jpg");
|
---|
| 18 | background-size: cover; /* or contain */
|
---|
| 19 | background-position: center;
|
---|
| 20 | width: 100%;
|
---|
| 21 | height: 560px;
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | .nv{
|
---|
| 25 | background-color: rgba(240, 248, 255, .5);
|
---|
| 26 | margin-top: 20px;
|
---|
| 27 | }
|
---|
| 28 | .btn0{
|
---|
| 29 | background-color: #a0a5e9;
|
---|
| 30 | border-radius: 8px;
|
---|
| 31 | border-style: none;
|
---|
| 32 | box-sizing: border-box;
|
---|
| 33 | color: #FFFFFF;
|
---|
| 34 | cursor: pointer;
|
---|
| 35 | display: inline-block;
|
---|
| 36 | font-family: Montserrat;
|
---|
| 37 | font-size: 14px;
|
---|
| 38 | font-weight: bold;
|
---|
| 39 | height: 40px;
|
---|
| 40 | line-height: 20px;
|
---|
| 41 | list-style: none;
|
---|
| 42 | margin: 0;
|
---|
| 43 | outline: none;
|
---|
| 44 | padding: 10px 16px;
|
---|
| 45 | position: relative;
|
---|
| 46 | text-align: center;
|
---|
| 47 | text-decoration: none;
|
---|
| 48 | transition: color 100ms;
|
---|
| 49 | vertical-align: baseline;
|
---|
| 50 | user-select: none;
|
---|
| 51 | -webkit-user-select: none;
|
---|
| 52 | touch-action: manipulation;
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | .btn0:hover,
|
---|
| 56 | .btn0:focus {
|
---|
| 57 | background-color: lightsteelblue;
|
---|
| 58 |
|
---|
| 59 | }
|
---|
| 60 | .btn1{
|
---|
| 61 | border-radius: 8px;
|
---|
| 62 | border-style: none;
|
---|
| 63 | box-sizing: border-box;
|
---|
| 64 | color: #FFFFFF;
|
---|
| 65 | cursor: pointer;
|
---|
| 66 | display: inline-block;
|
---|
| 67 | font-family: Montserrat;
|
---|
| 68 | font-size: 14px;
|
---|
| 69 | font-weight: bold;
|
---|
| 70 | height: 40px;
|
---|
| 71 | line-height: 20px;
|
---|
| 72 | list-style: none;
|
---|
| 73 | margin: 0;
|
---|
| 74 | outline: none;
|
---|
| 75 | padding: 10px 16px;
|
---|
| 76 | position: relative;
|
---|
| 77 | text-align: center;
|
---|
| 78 | text-decoration: none;
|
---|
| 79 | transition: color 100ms;
|
---|
| 80 | vertical-align: baseline;
|
---|
| 81 | user-select: none;
|
---|
| 82 | -webkit-user-select: none;
|
---|
| 83 | touch-action: manipulation;
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | .btn1:hover,
|
---|
| 87 | .btn1:focus {
|
---|
| 88 | background-color: darkslateblue;
|
---|
| 89 | }
|
---|
| 90 | .nb{
|
---|
| 91 | margin-right: -40px;
|
---|
| 92 | }
|
---|
| 93 | .search{
|
---|
| 94 | padding-right: 20px;
|
---|
| 95 | border-radius: 8px;
|
---|
| 96 | border-style: none;
|
---|
| 97 | box-sizing: border-box;
|
---|
| 98 | color: #FFFFFF;
|
---|
| 99 | cursor: pointer;
|
---|
| 100 | display: inline-block;
|
---|
| 101 | font-weight: bold;
|
---|
| 102 | font-family: Montserrat;
|
---|
| 103 | }
|
---|
| 104 | h5{
|
---|
| 105 | margin-left: 1000px;
|
---|
| 106 | width: 400px;
|
---|
| 107 | color: #E4B26E;
|
---|
| 108 | font-size: 40px;
|
---|
| 109 | font-weight: bold;
|
---|
| 110 | font-family: Montserrat;
|
---|
| 111 | }
|
---|
| 112 | a {
|
---|
| 113 | text-decoration: none;
|
---|
| 114 | }
|
---|
| 115 | </style>
|
---|
| 116 | <body class="bgi">
|
---|
| 117 | <nav class="navbar navbar-expand-lg nv">
|
---|
| 118 | <div class="container">
|
---|
| 119 | <a class="navbar-brand" href="#"><img src="../../images/logo.png" class="photo" alt="logo"></a>
|
---|
| 120 | <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
---|
| 121 | <span class="navbar-toggler-icon"><i class="fa-solid fa-bars"></i></span>
|
---|
| 122 | </button>
|
---|
| 123 | <div class="collapse navbar-collapse" id="navbarSupportedContent">
|
---|
| 124 |
|
---|
| 125 |
|
---|
| 126 | <ul class="navbar-nav m-auto mb-2 mb-lg-0 nb">
|
---|
| 127 | <li class="nav-item">
|
---|
| 128 | <a class="nav-link" href="/home"><b>Home</b></a>
|
---|
| 129 | </li>
|
---|
| 130 | <li class="nav-item">
|
---|
| 131 | <a class="nav-link" href="/events"><b>Events</b></a>
|
---|
| 132 | </li>
|
---|
| 133 | <li class="nav-item">
|
---|
| 134 | <a class="nav-link" href="/about"><b>About</b></a>
|
---|
| 135 | </li>
|
---|
| 136 | </ul>
|
---|
| 137 |
|
---|
| 138 | <form class="d-flex">
|
---|
| 139 | <th:block th:if="${session.user == null}">
|
---|
| 140 | <button type="submit" class="btn0" >
|
---|
| 141 | <a type="button" href="/registerUser" style="color: black">Register</a>
|
---|
| 142 | </button>
|
---|
| 143 | </th:block>
|
---|
| 144 | <th:block th:if="${session.user == null}">
|
---|
| 145 | <button type="submit" class="btn1" >
|
---|
| 146 | <a type="button" href="/userLogin" style="color: darkblue">Login</a>
|
---|
| 147 | </button>
|
---|
| 148 | </th:block>
|
---|
| 149 | <th:block th:if="${session.user != null}">
|
---|
| 150 | <button type="submit" class="btn1" >
|
---|
| 151 | <a type="button" href="/userLogout" style="color: darkblue">Logout</a>
|
---|
| 152 | </button>
|
---|
| 153 | </th:block>
|
---|
| 154 | <th:block th:if="${session.user != null}">
|
---|
| 155 | <button type="submit" class="btn0" href="#">
|
---|
| 156 | <th:block th:if="${session.user != null}"
|
---|
| 157 | th:text="${session.user.getUsername()}"></th:block>
|
---|
| 158 | </button>
|
---|
| 159 | </th:block>
|
---|
| 160 |
|
---|
| 161 | </form>
|
---|
| 162 | </div>
|
---|
| 163 | </div>
|
---|
| 164 | </nav>
|
---|
| 165 | <div >
|
---|
| 166 | <section class="Form py-1" >
|
---|
| 167 | <div class="container py-5">
|
---|
| 168 | <div class="row g-0 rowContainer">
|
---|
| 169 | <div class="col-lg-6 rightSide">
|
---|
| 170 | <h5 class=home-txt>Промоција и резервација на културни настани</h5>
|
---|
| 171 | </div>
|
---|
| 172 | </div>
|
---|
| 173 | </div>
|
---|
| 174 | </section>
|
---|
| 175 | </div>
|
---|
| 176 |
|
---|
| 177 | </body>
|
---|
| 178 | </html> |
---|