Spaces:
Running
Running
Update index.html
Browse files- index.html +54 -88
index.html
CHANGED
@@ -1,94 +1,60 @@
|
|
1 |
-
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
html, body {
|
12 |
-
height: 100%;
|
13 |
-
margin: 0;
|
14 |
-
padding: 0;
|
15 |
-
font-family: 'Roboto', sans-serif;
|
16 |
-
background-color: #f0f0f0;
|
17 |
-
}
|
18 |
-
.header {
|
19 |
-
background-color: #007bff;
|
20 |
-
color: white;
|
21 |
-
padding: 20px;
|
22 |
-
text-align: center;
|
23 |
-
border-bottom: 5px solid #0056b3;
|
24 |
-
}
|
25 |
-
.header a {
|
26 |
-
color: #ff9900;
|
27 |
-
}
|
28 |
-
.container {
|
29 |
-
max-width: 1100px;
|
30 |
-
margin: auto;
|
31 |
-
padding: 0 15px;
|
32 |
-
}
|
33 |
-
.tab-content {
|
34 |
-
height: calc(100vh - 220px); /* trừ header + nav + margin */
|
35 |
-
overflow: hidden;
|
36 |
-
}
|
37 |
-
.tab-pane iframe {
|
38 |
-
width: 100%;
|
39 |
-
height: 100%;
|
40 |
-
border: none;
|
41 |
-
}
|
42 |
-
footer {
|
43 |
-
background-color: #343a40;
|
44 |
-
color: #fff;
|
45 |
-
text-align: center;
|
46 |
-
padding: 10px;
|
47 |
-
position: fixed;
|
48 |
-
left: 0;
|
49 |
-
bottom: 0;
|
50 |
-
width: 100%;
|
51 |
-
font-size: 1em;
|
52 |
-
opacity: 0.6;
|
53 |
-
transition: opacity 0.5s ease-in-out;
|
54 |
-
}
|
55 |
-
footer:hover {
|
56 |
-
opacity: 1;
|
57 |
-
}
|
58 |
-
</style>
|
59 |
-
</head>
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
<p>This is an introductory website, aimed at helping more people use AI. If there is any website that is not working, please <a href="https://huggingface.co/spaces/ngoctuanai/project/discussions" target="_blank">contact me</a>.</p>
|
65 |
-
</header>
|
66 |
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
<a class="nav-link" id="ai-drawing-tab" data-toggle="tab" href="#ai-drawing" role="tab" aria-controls="ai-drawing" aria-selected="false">AI Drawing (Coming Soon)</a>
|
74 |
-
</li>
|
75 |
-
</ul>
|
76 |
-
<div class="tab-content" id="myTabContent">
|
77 |
-
<div class="tab-pane fade show active" id="ai-chat" role="tabpanel" aria-labelledby="ai-chat-tab">
|
78 |
-
<iframe src="ai-chat.html"></iframe>
|
79 |
-
</div>
|
80 |
-
<div class="tab-pane fade" id="ai-drawing" role="tabpanel" aria-labelledby="ai-drawing-tab">
|
81 |
-
<iframe src="ai-drawing.html"></iframe>
|
82 |
-
</div>
|
83 |
-
</div>
|
84 |
-
</div>
|
85 |
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
|
94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style>
|
2 |
+
html, body {
|
3 |
+
height: 100%;
|
4 |
+
margin: 0;
|
5 |
+
padding: 0;
|
6 |
+
font-family: 'Roboto', sans-serif;
|
7 |
+
background-color: #f0f0f0;
|
8 |
+
}
|
9 |
|
10 |
+
.header {
|
11 |
+
background-color: #007bff;
|
12 |
+
color: white;
|
13 |
+
padding: 20px;
|
14 |
+
text-align: center;
|
15 |
+
border-bottom: 5px solid #0056b3;
|
16 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
+
.header a {
|
19 |
+
color: #ff9900;
|
20 |
+
}
|
|
|
|
|
21 |
|
22 |
+
.container {
|
23 |
+
height: calc(100vh - 160px); /* 100% chiều cao - header + tab + footer */
|
24 |
+
max-width: 100%;
|
25 |
+
padding: 0;
|
26 |
+
margin: 0 auto;
|
27 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
+
.tab-content {
|
30 |
+
height: 100%;
|
31 |
+
}
|
32 |
|
33 |
+
.tab-pane {
|
34 |
+
height: 100%;
|
35 |
+
}
|
36 |
|
37 |
+
.tab-pane iframe {
|
38 |
+
width: 100%;
|
39 |
+
height: 100%;
|
40 |
+
border: none;
|
41 |
+
}
|
42 |
+
|
43 |
+
footer {
|
44 |
+
background-color: #343a40;
|
45 |
+
color: #fff;
|
46 |
+
text-align: center;
|
47 |
+
padding: 10px;
|
48 |
+
position: fixed;
|
49 |
+
left: 0;
|
50 |
+
bottom: 0;
|
51 |
+
width: 100%;
|
52 |
+
font-size: 1em;
|
53 |
+
opacity: 0.6;
|
54 |
+
transition: opacity 0.5s ease-in-out;
|
55 |
+
}
|
56 |
+
|
57 |
+
footer:hover {
|
58 |
+
opacity: 1;
|
59 |
+
}
|
60 |
+
</style>
|