source: src/main/resources/static/index.html@ 9868304

Last change on this file since 9868304 was 9868304, checked in by ste08 <sjovanoska@…>, 4 months ago

Frontend + some backend changes

  • Property mode set to 100644
File size: 2.3 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>SkyChase-mk</title>
7 <style>
8 body {
9 background: url('images/homepage.jpg') no-repeat center center fixed;
10 background-size: cover;
11 display: flex;
12 flex-direction: column;
13 align-items: center;
14 justify-content: center;
15 height: 100vh;
16 margin: 0;
17 font-family: Arial, sans-serif;
18 }
19
20 .header {
21 position: absolute;
22 top: 0;
23 left: 0;
24 display: flex;
25 align-items: center;
26 background-color:rebeccapurple;
27 padding: 10px;
28 width: 100%;
29 }
30
31 .header img {
32 width: 40px;
33 height: 40px;
34 margin-right: 10px;
35 }
36
37 .header h1 {
38 color: white;
39 margin: 0;
40 font-size: 15px;
41 padding-right: 50px;
42 }
43
44 .buttons {
45 text-align: center;
46 }
47
48 .buttons button {
49 padding: 15px 30px;
50 margin: 10px;
51 font-size: 18px;
52 border: none;
53 border-radius: 5px;
54 cursor: pointer;
55 transition: 0.3s;
56 }
57
58 .signup {
59 background-color: rebeccapurple;
60 color: white;
61 }
62
63 .signup:hover {
64 background-color: mediumpurple;
65 }
66
67 .login {
68 background-color: #007bff;
69 color: white;
70 }
71
72 .login:hover {
73 background-color: #0056b3;
74 }
75 .adminlogin {
76 top:0;
77 right: 0;
78 background-color: rebeccapurple;
79 border:0;
80 color:white;
81 padding: 0 1200px;
82 }
83 </style>
84</head>
85<body>
86<div class="header">
87 <img src="/images/home.png" alt="Home Icon">
88 <h1>SkyChase</h1>
89 <button class="adminlogin" onclick="location.href='/admin'">Admin?</button>
90</div>
91
92<div class="buttons">
93 <button class="signup" onclick="location.href='/signup'">Sign Up</button>
94 <button class="login" onclick="location.href='/login'">Login</button>
95</div>
96</body>
97</html>
Note: See TracBrowser for help on using the repository browser.