-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
101 lines (88 loc) · 2.17 KB
/
home.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Event Manager</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #28469e;
color: #fff;
text-align: center;
padding: 1em 0;
}
section {
padding: 2em;
display: flex;
justify-content: space-between;
}
.event-container {
width: 48%;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: #fff;
margin-bottom: 2em;
}
.event {
overflow: hidden;
border-radius: 8px;
}
.event img {
width: 100%;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.event-details {
padding: 1em;
}
.event-title {
font-size: 1.5em;
margin-bottom: 0.5em;
}
.button {
display: inline-block;
padding: 0.5em 1em;
text-decoration: none;
background-color: #333;
color: #fff;
border-radius: 4px;
transition: background-color 0.3s ease;
}
.button:hover {
background-color: #555;
}
</style>
</head>
<body>
<header>
<h1>Event Manager</h1>
</header>
<section>
<div class="event-container">
<div class="event">
<img src="https://cdn.pixabay.com/photo/2017/07/21/23/57/concert-2527495_1280.jpg" alt="Event 1">
<div class="event-details">
<h2 class="event-title">Event 1</h2>
<a href="#" class="button">Book Tickets</a>
</div>
</div>
</div>
<div class="event-container">
<div class="event">
<img src="https://cdn.pixabay.com/photo/2017/07/21/23/57/concert-2527495_1280.jpg" alt="Event 2">
<div class="event-details">
<h2 class="event-title">Event 2</h2>
<a href="#" class="button">Book Tickets</a>
</div>
</div>
</div>
</section>
</body>
</html>