AstraOS commited on
Commit
115199b
·
verified ·
1 Parent(s): fc52638

Update templates/preview.html

Browse files
Files changed (1) hide show
  1. templates/preview.html +4 -35
templates/preview.html CHANGED
@@ -2,47 +2,16 @@
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>
 
2
  <html>
3
  <head>
4
  <title>{{ title }}</title>
5
+ <link rel="stylesheet" href="/static/css/style.css" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  </head>
7
  <body>
8
  <div class="card">
9
+ <img src="avatar.jpg" alt="avatar" class="avatar" />
10
  <h2>{{ first_name }} (@{{ username }})</h2>
11
  <p>{{ description }}</p>
12
  <a class="btn" href="https://t.me/{{ username }}" target="_blank">Start Bot</a>
13
  </div>
14
+
15
+ <script src="/static/js/main.js"></script>
16
  </body>
17
  </html>