Spaces:
Running
Running
Update ai-chat.html
Browse files- ai-chat.html +359 -77
ai-chat.html
CHANGED
@@ -1,88 +1,370 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
-
|
4 |
<head>
|
5 |
<meta charset="utf-8">
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7 |
-
<
|
8 |
-
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
|
9 |
-
<title>AI Chat</title>
|
10 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
body {
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
color: #ff9900;
|
26 |
-
}
|
27 |
-
.container {
|
28 |
-
max-width: 800px;
|
29 |
-
margin: auto;
|
30 |
-
padding: 20px;
|
31 |
-
}
|
32 |
-
.card {
|
33 |
-
border-radius: 15px;
|
34 |
-
margin-bottom: 20px;
|
35 |
-
border: none;
|
36 |
-
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
|
37 |
-
transition: all 0.3s ease;
|
38 |
-
}
|
39 |
-
.card:hover {
|
40 |
-
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
|
41 |
-
transform: scale(1.03);
|
42 |
-
}
|
43 |
-
.card .btn {
|
44 |
-
border-radius: 15px;
|
45 |
-
background-color: #007bff;
|
46 |
-
color: white;
|
47 |
-
transition: all 0.3s ease;
|
48 |
-
}
|
49 |
-
.card .btn:hover {
|
50 |
-
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
|
51 |
-
background-color: #0056b3;
|
52 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
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 |
</body>
|
88 |
-
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
|
|
3 |
<head>
|
4 |
<meta charset="utf-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6 |
+
<title>AI Chat Cards Styled</title>
|
|
|
|
|
7 |
<style>
|
8 |
+
/* Compiled CSS from the provided SCSS */
|
9 |
+
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&display=swap");
|
10 |
+
|
11 |
+
/* SCSS Variables replaced with values */
|
12 |
+
:root { /* Define CSS variables for potential reuse */
|
13 |
+
--clr-blue: #1890ff;
|
14 |
+
--clr-green: #01c3a8;
|
15 |
+
--clr-orange: #ffb741;
|
16 |
+
--clr-red: #a63d2a;
|
17 |
+
--bg-main: #232228;
|
18 |
+
--bg-card-footer: #151419;
|
19 |
+
--border-card-footer: #292929;
|
20 |
+
--progress-bar-bg: #363636;
|
21 |
+
--text-light: #fff;
|
22 |
+
--text-medium: #ddd;
|
23 |
+
}
|
24 |
+
|
25 |
+
* {
|
26 |
+
margin: 0;
|
27 |
+
padding: 0;
|
28 |
+
box-sizing: border-box;
|
29 |
+
}
|
30 |
+
|
31 |
body {
|
32 |
+
min-height: 100vh;
|
33 |
+
min-height: 100svh;
|
34 |
+
background: var(--bg-main);
|
35 |
+
font-family: "Nunito", sans-serif;
|
36 |
+
position: relative;
|
37 |
+
overflow-x: hidden;
|
38 |
+
display: grid;
|
39 |
+
place-items: center;
|
40 |
+
}
|
41 |
+
|
42 |
+
a {
|
43 |
+
text-decoration: none;
|
44 |
+
display: inline-block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
}
|
46 |
+
|
47 |
+
section {
|
48 |
+
width: 100%;
|
49 |
+
display: flex;
|
50 |
+
justify-content: center;
|
51 |
+
flex-wrap: wrap;
|
52 |
+
max-width: 50em;
|
53 |
+
margin-inline: auto;
|
54 |
+
gap: 3.25rem;
|
55 |
+
position: relative;
|
56 |
+
z-index: 10;
|
57 |
+
align-items: center; /* Changed from center to stretch for potentially varying card heights */
|
58 |
+
padding: 5em 1em; /* Added horizontal padding */
|
59 |
+
}
|
60 |
+
|
61 |
+
section .card {
|
62 |
+
position: relative;
|
63 |
+
z-index: 555;
|
64 |
+
max-width: 20rem;
|
65 |
+
min-height: 20rem; /* Fixed height might cause content overflow issues */
|
66 |
+
width: 90%; /* Ensure it fits on smaller screens */
|
67 |
+
display: grid; /* This combined with absolute children is unusual, might need review */
|
68 |
+
place-content: center;
|
69 |
+
place-items: center;
|
70 |
+
text-align: center;
|
71 |
+
box-shadow: 1px 12px 25px rgba(0, 0, 0, 0.78);
|
72 |
+
border-radius: 2.25rem;
|
73 |
+
/* Backgrounds are set per color class */
|
74 |
+
}
|
75 |
+
|
76 |
+
section .card::before {
|
77 |
+
position: absolute;
|
78 |
+
content: "";
|
79 |
+
top: 0;
|
80 |
+
left:0; /* Added left:0 */
|
81 |
+
width: 100%;
|
82 |
+
height: 100%;
|
83 |
+
border-radius: 2.25rem;
|
84 |
+
z-index: -1;
|
85 |
+
border: 0.155rem solid transparent;
|
86 |
+
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
87 |
+
-webkit-mask-composite: destination-out;
|
88 |
+
mask-composite: exclude;
|
89 |
+
/* Background gradients are set per color class */
|
90 |
+
}
|
91 |
+
|
92 |
+
section .card-header {
|
93 |
+
position: absolute;
|
94 |
+
top: 0;
|
95 |
+
left: 0;
|
96 |
+
right: 0;
|
97 |
+
width: 100%;
|
98 |
+
display: flex;
|
99 |
+
align-items: center;
|
100 |
+
justify-content: space-between;
|
101 |
+
padding: 0.8em 0.5em 0em 1.5em;
|
102 |
+
}
|
103 |
+
|
104 |
+
section .card-header .date {
|
105 |
+
color: var(--text-medium);
|
106 |
+
font-size: 0.9em; /* Added font-size for visibility */
|
107 |
+
}
|
108 |
+
|
109 |
+
section .card-header svg {
|
110 |
+
color: var(--text-light);
|
111 |
+
width: 2rem; /* Adjusted size */
|
112 |
+
height: 2rem; /* Added height */
|
113 |
+
cursor: pointer;
|
114 |
+
}
|
115 |
+
|
116 |
+
section .card-body {
|
117 |
+
/* Absolute positioning might overlap footer if content is too long */
|
118 |
+
position: absolute;
|
119 |
+
width: 100%;
|
120 |
+
display: block;
|
121 |
+
top: 50%;
|
122 |
+
left: 50%;
|
123 |
+
transform: translate(-50%, -50%);
|
124 |
+
padding: 0.7em 1.25em 0.5em 1.5em;
|
125 |
+
}
|
126 |
+
|
127 |
+
section .card-body h3 {
|
128 |
+
color: var(--text-light);
|
129 |
+
font-size: 1.375rem;
|
130 |
+
margin-top: 0.625em;
|
131 |
+
margin-bottom: 0.188em;
|
132 |
+
text-transform: capitalize;
|
133 |
+
font-weight: 600;
|
134 |
+
word-wrap: break-word; /* Prevent overflow */
|
135 |
+
}
|
136 |
+
|
137 |
+
section .card-body p {
|
138 |
+
color: var(--text-medium);
|
139 |
+
font-size: 1rem;
|
140 |
+
letter-spacing: 0.031rem;
|
141 |
+
word-wrap: break-word; /* Prevent overflow */
|
142 |
+
}
|
143 |
+
|
144 |
+
/* Progress bar styles included but not used in this HTML */
|
145 |
+
section .card-body .progress {
|
146 |
+
margin-top: 0.938rem;
|
147 |
+
}
|
148 |
+
section .card-body .progress .progress-bar {
|
149 |
+
position: relative;
|
150 |
+
width: 100%;
|
151 |
+
background: var(--progress-bar-bg);
|
152 |
+
height: 0.313rem;
|
153 |
+
display: block;
|
154 |
+
border-radius: 3.125rem;
|
155 |
+
}
|
156 |
+
section .card-body .progress .progress-bar:after {
|
157 |
+
position: absolute;
|
158 |
+
content: "";
|
159 |
+
top: 0;
|
160 |
+
left: 0;
|
161 |
+
right: 0;
|
162 |
+
bottom: 0;
|
163 |
+
height: 100%;
|
164 |
+
display: block;
|
165 |
+
border-radius: 3.125rem;
|
166 |
+
/* Width and background set per color class */
|
167 |
+
}
|
168 |
+
section .card-body .progress span:first-of-type {
|
169 |
+
color: var(--text-light);
|
170 |
+
text-align: left;
|
171 |
+
font-weight: 600;
|
172 |
+
width: 100%;
|
173 |
+
display: block;
|
174 |
+
margin-bottom: 0.313rem;
|
175 |
+
}
|
176 |
+
section .card-body .progress span {
|
177 |
+
margin-top: 0.313rem;
|
178 |
+
text-align: right;
|
179 |
+
display: block;
|
180 |
+
color: var(--text-light);
|
181 |
+
}
|
182 |
+
/* End progress bar styles */
|
183 |
+
|
184 |
+
section .card-footer {
|
185 |
+
position: absolute;
|
186 |
+
bottom: 0;
|
187 |
+
left: 0;
|
188 |
+
right: 0;
|
189 |
+
width: 100%;
|
190 |
+
border-top: 0.063rem solid var(--border-card-footer);
|
191 |
+
display: flex;
|
192 |
+
justify-content: space-between; /* This will push the button to the right */
|
193 |
+
align-items: center; /* Vertically align items */
|
194 |
+
padding: 0.7em 1.25em 0.5em 1.5em;
|
195 |
+
background: var(--bg-card-footer);
|
196 |
+
border-bottom-left-radius: 2.25rem;
|
197 |
+
border-bottom-right-radius: 2.25rem;
|
198 |
+
}
|
199 |
+
|
200 |
+
/* Footer list styles included but not used in this HTML */
|
201 |
+
section .card-footer ul {
|
202 |
+
display: flex;
|
203 |
+
align-items: center;
|
204 |
+
padding-left: 0; /* Remove default padding */
|
205 |
+
margin-bottom: 0; /* Remove default margin */
|
206 |
+
}
|
207 |
+
section .card-footer ul li {
|
208 |
+
list-style-type: none;
|
209 |
+
display: flex;
|
210 |
+
margin-right: -0.625rem;
|
211 |
+
}
|
212 |
+
section .card-footer ul li img {
|
213 |
+
border-radius: 50%;
|
214 |
+
width: 1.875rem;
|
215 |
+
height: 1.875rem;
|
216 |
+
object-fit: cover;
|
217 |
+
border: 2px solid var(--bg-card-footer); /* Add border */
|
218 |
+
}
|
219 |
+
/* End footer list styles */
|
220 |
+
|
221 |
+
/* Add button styles included but not used in this HTML */
|
222 |
+
section .card-footer .btn-add {
|
223 |
+
width: 1.375rem;
|
224 |
+
height: 1.375rem;
|
225 |
+
border-radius: 50%;
|
226 |
+
color: var(--text-light);
|
227 |
+
display: flex;
|
228 |
+
justify-content: center;
|
229 |
+
align-items: center;
|
230 |
+
/* Background set per color class */
|
231 |
+
}
|
232 |
+
section .card-footer .btn-add svg {
|
233 |
+
width: 1rem;
|
234 |
+
height: 1rem; /* Added height */
|
235 |
+
}
|
236 |
+
/* End add button styles */
|
237 |
+
|
238 |
+
section .card-footer .btn-countdown {
|
239 |
+
background: #222127; /* Darker background for button */
|
240 |
+
color: var(--text-light);
|
241 |
+
border-radius: 2em;
|
242 |
+
padding: 0.625rem 1.5rem;
|
243 |
+
font-size: 0.9em; /* Adjusted font size */
|
244 |
+
transition: background-color 0.3s ease; /* Added transition */
|
245 |
+
}
|
246 |
+
/* Hover effects are set per color class */
|
247 |
+
|
248 |
+
/* --- Green Card --- */
|
249 |
+
section .card.green {
|
250 |
+
background: radial-gradient(ellipse at right top, #107667ed 0%, #151419 47%, #151419 100%);
|
251 |
+
}
|
252 |
+
section .card.green::before {
|
253 |
+
background: linear-gradient(45deg, #232228, #232228, #232228, #232228, var(--clr-green)) border-box;
|
254 |
+
}
|
255 |
+
/* Styles for elements not present in current HTML */
|
256 |
+
section .card.green .btn-add { background: var(--clr-green); }
|
257 |
+
section .card.green .progress-bar:after { width: 90%; background: var(--clr-green); }
|
258 |
+
/* --- */
|
259 |
+
section .card.green .btn-countdown:hover {
|
260 |
+
background: var(--clr-green);
|
261 |
+
}
|
262 |
+
|
263 |
+
/* --- Orange Card --- */
|
264 |
+
section .card.orange {
|
265 |
+
background: radial-gradient(ellipse at right top, #ffb74194 0%, #151419 47%, #151419 100%);
|
266 |
+
}
|
267 |
+
section .card.orange::before {
|
268 |
+
background: linear-gradient(45deg, #232228, #232228, #232228, #232228, var(--clr-orange)) border-box;
|
269 |
+
}
|
270 |
+
/* Styles for elements not present in current HTML */
|
271 |
+
section .card.orange .btn-add { background: var(--clr-orange); }
|
272 |
+
section .card.orange .progress-bar:after { width: 30%; background: var(--clr-orange); }
|
273 |
+
/* --- */
|
274 |
+
section .card.orange .btn-countdown:hover {
|
275 |
+
background: var(--clr-orange);
|
276 |
+
}
|
277 |
+
|
278 |
+
/* --- Red Card --- */
|
279 |
+
section .card.red {
|
280 |
+
background: radial-gradient(ellipse at right top, #a63d2a82 0%, #151419 47%, #151419 100%);
|
281 |
+
}
|
282 |
+
section .card.red::before {
|
283 |
+
background: linear-gradient(45deg, #232228, #232228, #232228, #232228, var(--clr-red)) border-box;
|
284 |
+
}
|
285 |
+
/* Styles for elements not present in current HTML */
|
286 |
+
section .card.red .btn-add { background: var(--clr-red); }
|
287 |
+
section .card.red .progress-bar:after { width: 50%; background: var(--clr-red); }
|
288 |
+
/* --- */
|
289 |
+
section .card.red .btn-countdown:hover {
|
290 |
+
background: var(--clr-red);
|
291 |
+
}
|
292 |
+
|
293 |
+
/* --- Blue Card (Styles defined but not used in current HTML) --- */
|
294 |
+
section .card.blue {
|
295 |
+
background: radial-gradient(ellipse at right top, #00458f8f 0%, #151419 45%, #151419 100%);
|
296 |
+
}
|
297 |
+
section .card.blue::before {
|
298 |
+
background: linear-gradient(45deg, #232228, #232228, #232228, #232228, var(--clr-blue)) border-box;
|
299 |
+
}
|
300 |
+
/* Styles for elements not present in current HTML */
|
301 |
+
section .card.blue .btn-add { background: var(--clr-blue); }
|
302 |
+
section .card.blue .progress-bar:after { width: 20%; background: var(--clr-blue); }
|
303 |
+
/* --- */
|
304 |
+
section .card.blue .btn-countdown:hover {
|
305 |
+
background: var(--clr-blue);
|
306 |
+
}
|
307 |
+
|
308 |
</style>
|
309 |
</head>
|
310 |
+
<body>
|
311 |
+
|
312 |
+
<section>
|
313 |
+
<div class="card green">
|
314 |
+
<div class="card-header">
|
315 |
+
<div class="date">
|
316 |
+
Apr 16, 2025 </div>
|
317 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
318 |
+
<path fill-rule="evenodd" d="M10.5 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z" clip-rule="evenodd" />
|
319 |
+
</svg>
|
320 |
+
</div>
|
321 |
+
<div class="card-body">
|
322 |
+
<h3>🌟ChatGPT Free</h3>
|
323 |
+
<p>Phiên bản miễn phí</p>
|
324 |
+
</div>
|
325 |
+
<div class="card-footer">
|
326 |
+
<div></div>
|
327 |
+
<a href="https://chatgptplugins.vercel.app" class="btn-countdown" target="_blank">Start</a>
|
328 |
+
</div>
|
329 |
+
</div>
|
330 |
+
|
331 |
+
<div class="card orange">
|
332 |
+
<div class="card-header">
|
333 |
+
<div class="date">
|
334 |
+
Apr 16, 2025 </div>
|
335 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
336 |
+
<path fill-rule="evenodd" d="M10.5 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z" clip-rule="evenodd" />
|
337 |
+
</svg>
|
338 |
+
</div>
|
339 |
+
<div class="card-body">
|
340 |
+
<h3>🌟Coze AI (AI Plus)</h3>
|
341 |
+
<p>AI Plus trên nền tảng Coze</p>
|
342 |
+
</div>
|
343 |
+
<div class="card-footer">
|
344 |
+
<div></div>
|
345 |
+
<a href="https://www.coze.com/s/Zs8M75qpn/" class="btn-countdown" target="_blank">Start</a>
|
346 |
+
</div>
|
347 |
+
</div>
|
348 |
+
|
349 |
+
<div class="card red">
|
350 |
+
<div class="card-header">
|
351 |
+
<div class="date">
|
352 |
+
Apr 16, 2025 </div>
|
353 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
354 |
+
<path fill-rule="evenodd" d="M10.5 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z" clip-rule="evenodd" />
|
355 |
+
</svg>
|
356 |
+
</div>
|
357 |
+
<div class="card-body">
|
358 |
+
<h3>🌟Coze AI (Gemini Advanced)</h3>
|
359 |
+
<p>Gemini Advanced trên nền tảng Coze</p>
|
360 |
+
</div>
|
361 |
+
<div class="card-footer">
|
362 |
+
<div></div>
|
363 |
+
<a href="https://www.coze.com/s/Zs8M7U4Dy/" class="btn-countdown" target="_blank">Start</a>
|
364 |
+
</div>
|
365 |
+
</div>
|
366 |
+
|
367 |
+
</section>
|
368 |
+
|
369 |
</body>
|
370 |
+
</html>
|