-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (60 loc) · 1.59 KB
/
index.html
File metadata and controls
62 lines (60 loc) · 1.59 KB
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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Help Shop</title>
<style>
body {
margin: 0;
font-family: 'Segoe UI', sans-serif;
background-color: #ffffff;
color: #222222;
text-align: center;
padding: 40px 20px;
}
.logo {
max-width: 240px;
height: auto;
margin-bottom: 20px;
}
h1 {
font-size: 28px;
margin-bottom: 10px;
}
p {
font-size: 18px;
margin-bottom: 30px;
}
.btn {
background-color: #e63946;
color: #fff;
border: none;
padding: 14px 32px;
font-size: 18px;
border-radius: 12px;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
transition: background 0.3s ease;
}
.btn:hover {
background-color: #d62839;
}
</style>
</head>
<body>
<img src="logo.png" alt="Help Shop Logo" class="logo">
<h1>Добро пожаловать в Help Shop!</h1>
<p>Я помогу тебе с учёбой. Просто нажми кнопку ниже!</p>
<button class="btn" onclick="onBuy()">Купить помощь</button>
<script src="https://telegram.org/js/telegram-web-app.js"></script>
<script>
const tg = window.Telegram.WebApp;
tg.expand();
function onBuy() {
tg.showAlert("Функция оплаты скоро появится \u2728");
// Здесь можно вызвать tg.sendData(), tg.close(), или отправить запрос на сервер
}
</script>
</body>
</html>