-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathindex.html
54 lines (50 loc) · 1.42 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Landing Page</title>
<style>
/* Inline CSS for blue gradient background */
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(to right, #1e3c72, #2a5298);
color: #ffffff;
}
.container {
text-align: center;
}
.button {
background-color: #4e97d8;
color: white;
padding: 15px 30px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 18px;
transition: background-color 0.3s ease;
}
.button:hover {
background-color: #3c82c6;
}
</style>
</head>
<body>
<div class="container">
<h1>Welcome to Our Site</h1>
<p>Your journey starts here.</p>
<button class="button" onclick="redirectToPage()">Enter</button>
</div>
<script>
// JavaScript function to redirect
function redirectToPage() {
window.location.href = './templates/index.html';
}
</script>
</body>
</html>