AstraOS commited on
Commit
17783cf
·
verified ·
1 Parent(s): 516b9df

Create templates/preview.html

Browse files
Files changed (1) hide show
  1. templates/preview.html +48 -0
templates/preview.html ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>{{ title }}</title>
5
+ <style>
6
+ body {
7
+ font-family: sans-serif;
8
+ display: flex;
9
+ justify-content: center;
10
+ padding: 40px;
11
+ background: #f7f7f7;
12
+ }
13
+ .card {
14
+ max-width: 420px;
15
+ background: #fff;
16
+ padding: 24px;
17
+ text-align: center;
18
+ border-radius: 12px;
19
+ box-shadow: 0 4px 12px rgba(0,0,0,.1);
20
+ }
21
+ .avatar {
22
+ width: 120px;
23
+ height: 120px;
24
+ border-radius: 50%;
25
+ object-fit: cover;
26
+ background: #ddd;
27
+ }
28
+ .btn {
29
+ display: inline-block;
30
+ margin-top: 16px;
31
+ padding: 12px 24px;
32
+ background: #2AABEE;
33
+ color: #fff;
34
+ border-radius: 8px;
35
+ text-decoration: none;
36
+ font-weight: bold;
37
+ }
38
+ </style>
39
+ </head>
40
+ <body>
41
+ <div class="card">
42
+ <img src="avatar.jpg" alt="avatar" class="avatar">
43
+ <h2>{{ first_name }} (@{{ username }})</h2>
44
+ <p>{{ description }}</p>
45
+ <a class="btn" href="https://t.me/{{ username }}" target="_blank">Start Bot</a>
46
+ </div>
47
+ </body>
48
+ </html>