-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoffer.html
247 lines (238 loc) · 10.9 KB
/
offer.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Offer</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link rel="icon" type="image/png" href="Web Design Assets/Sidebar/Minimize/LogoSidebarMinimize.svg"/>
<style>
h1 {
font-size: 3rem;
margin-bottom: 30px;
}
.offer-container {
display: flex;
flex-direction: column;
gap: 40px;
}
.offer-section {
padding: 20px;
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
}
.offer-section h2 {
font-size: 2rem;
margin-bottom: 20px;
}
.offer-section p {
font-size: 1.2rem;
}
.offer-section button {
margin-top: 20px;
padding: 10px 20px;
font-size: 1.2rem;
background: linear-gradient(90deg, #6a1b9a, #9c27b0);
border: none;
color: white;
border-radius: 5px;
cursor: pointer;
transition: transform 0.3s;
}
.offer-section button:hover {
transform: scale(1.05);
background: linear-gradient(90deg, #9c27b0, #6a1b9a);
}
.merchandise-section {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
}
.merchandise-item {
background: rgba(50, 50, 50, 0.6);
padding: 20px;
border-radius: 10px;
text-align: center;
}
.merchandise-item img {
width: 100%;
height: auto;
border-radius: 10px;
}
.merchandise-item img:hover {
transform: scale(1.2);
}
.merchandise-item h3 {
font-size: 1.2rem;
margin: 10px 0;
}
.merchandise-item p {
font-size: 1rem;
margin: 0;
}
body {
margin: 0;
font-family: Arial, sans-serif;
background: url('Web Design Assets/Background/Background3.svg') no-repeat center center fixed;
background-size: cover;
color: white;
}
.form-container {
display: none;
background-color: rgba(0, 0, 0, 0.8);
border-radius: 8px;
padding: 20px;
margin: 20px auto;
max-width: 600px;
color: white;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.success-message {
display: none;
text-align: center;
margin-top: 20px;
color: #28a745;
font-weight: bold;
}
</style>
</head>
<body>
<div class="main-area">
<!-- Sidebar -->
<div class="sidebar">
<a href="index.html">
<img src="Web Design Assets/Sidebar/Maximize/Home.svg" alt="Home">
</a>
<a href="news.html">
<img src="Web Design Assets/Sidebar/Maximize/News.svg" alt="News">
</a>
<a href="offer.html">
<img src="Web Design Assets/Sidebar/Maximize/Offer.svg" alt="Offer">
</a>
<a href="contactus.html">
<img src="Web Design Assets/Sidebar/Maximize/ContactUs.svg" alt="Contact Us">
</a>
<a href="aboutus.html">
<img src="Web Design Assets/Sidebar/Maximize/AboutUs.svg" alt="About Us">
</a>
<a href="more.html">
<img src="Web Design Assets/Sidebar/Maximize/More.svg" alt="More">
</a>
<div class="account-buttons">
<a href="login.html"><button class="btn btn-dark">Login</button></a>
<a href="login.html"><button class="btn btn-light">Register</button></a>
</div>
</div>
<!-- Main Content -->
<div class="content">
<div class="offer-container">
<!-- Merchandise Section -->
<div class="offer-section">
<h1>Merchandise</h1>
<div class="merchandise-section">
<div class="merchandise-item" onclick="buy()">
<img src="Web Design Assets/Merchandise/Merchandise1.svg" alt="Merchandise 1">
<h3>Touhou Project: Cirno Fumo Plush</h3>
<p>RM 300.00</p>
</div>
<div class="merchandise-item" onclick="buy()">
<img src="Web Design Assets/Merchandise/Merchandise2.svg" alt="Merchandise 2">
<h3>Transformers: Dark of the Moon, Shockwave</h3>
<p>RM 1000.00</p>
</div>
<div class="merchandise-item" onclick="buy()">
<img src="Web Design Assets/Merchandise/Merchandise3.svg" alt="Merchandise 3">
<h3>Devil May Cry, Vergil Motivation Chair</h3>
<p>RM 24,000.00</p>
</div>
<div class="merchandise-item" onclick="buy()">
<img src="Web Design Assets/Merchandise/Merchandise4.svg" alt="Merchandise 4">
<h3>Qanba Titan Arcade Stick</h3>
<p>RM 700.00</p>
</div>
<div class="merchandise-item" onclick="buy()">
<img src="Web Design Assets/Merchandise/Merchandise5.svg" alt="Merchandise 5">
<h3>Prism+ Monitor X240</h3>
<p>RM 300.00</p>
</div>
<div class="merchandise-item" onclick="buy()">
<img src="Web Design Assets/Merchandise/Merchandise6.svg" alt="Merchandise 6">
<h3>Logitech G29</h3>
<p>RM 1,200.00</p>
</div>
<div class="merchandise-item" onclick="buy()">
<img src="Web Design Assets/Merchandise/Merchandise7.svg" alt="Merchandise 7">
<h3>Genshin Impact, Wolf Gravestone</h3>
<p>RM 180.00</p>
</div>
<div class="merchandise-item" onclick="buy()">
<img src="Web Design Assets/Merchandise/Merchandise8.svg" alt="Merchandise 8">
<h3>Tekken, Reina Jacket</h3>
<p>RM 300.00</p>
</div>
</div>
</div>
<!-- Advertising Section -->
<div class="offer-section">
<div class="container mt-5">
<h1 class="text-center">Advertise With Us!</h1>
<p>Looking to connect with gamers, tech enthusiasts, or pop culture fans? Advertise on our platform and make your brand shine! Whether you're launching a new product, promoting services, or building awareness, we provide the perfect stage for your success.
Why Advertise Here?
Targeted exposure to a passionate gaming community.
Innovative ad formats to suit your needs.
Flexible plans for startups and established brands alike.
Click "Apply Now" to start your journey with us today!</p>
<button class="btn btn-primary d-block mx-auto" onclick="showForm()">Apply Now</button>
<div id="formContainer" class="form-container">
<form id="advertiseForm" onsubmit="handleFormSubmit(event)">
<div class="mb-3">
<label for="companyName" class="form-label">Company Name</label>
<input type="text" id="companyName" name="companyName" class="form-control" placeholder="Enter your company name" required>
</div>
<div class="mb-3">
<label for="email" class="form-label">Email Address</label>
<input type="email" id="email" name="email" class="form-control" placeholder="Enter your email" required>
</div>
<div class="mb-3">
<label for="adDetails" class="form-label">Advertisement Details</label>
<textarea id="adDetails" name="adDetails" class="form-control" placeholder="Describe your advertisement" required></textarea>
</div>
<div class="mb-3">
<label for="budget" class="form-label">Budget</label>
<input type="number" id="budget" name="budget" class="form-control" placeholder="Enter your budget (RM)" required>
</div>
<div class="mb-3">
<label for="startDate" class="form-label">Preferred Start Date</label>
<input type="date" id="startDate" name="startDate" class="form-control" required>
</div>
<button type="submit" class="btn btn-success w-100">Submit</button>
</form>
</div>
<div id="successMessage" class="success-message">
Your form is submitted. Thank you!
</div>
</div>
<script>
function buy() {
window.location.href = "buy.html";
}
// Show the form when the "Apply Now" button is clicked
function showForm() {
document.getElementById('formContainer').style.display = 'block';
}
// Handle the form submission
function handleFormSubmit(event) {
event.preventDefault(); // Prevent the default form submission
document.getElementById('formContainer').style.display = 'none';
document.getElementById('successMessage').style.display = 'block';
}
</script>
</div>
</div>
</div>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>