Spaces:
Running
Running
Update index.html
Browse files- index.html +88 -36
index.html
CHANGED
@@ -1,60 +1,112 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
html, body {
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
8 |
}
|
9 |
|
10 |
.header {
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
}
|
17 |
|
18 |
.header a {
|
19 |
-
|
20 |
}
|
21 |
|
22 |
-
.
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
margin: 0 auto;
|
27 |
}
|
28 |
|
29 |
-
.
|
30 |
-
|
31 |
}
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
.tab-pane {
|
34 |
-
|
35 |
}
|
36 |
|
37 |
.tab-pane iframe {
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
}
|
42 |
|
43 |
footer {
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
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 |
-
|
59 |
}
|
60 |
-
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="vi">
|
3 |
+
|
4 |
+
<head>
|
5 |
+
<meta charset="utf-8">
|
6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7 |
+
<title>Welcome to My AI Projects</title>
|
8 |
+
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet">
|
9 |
+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
|
10 |
+
|
11 |
+
<style>
|
12 |
html, body {
|
13 |
+
height: 100%;
|
14 |
+
margin: 0;
|
15 |
+
padding: 0;
|
16 |
+
font-family: 'Roboto', sans-serif;
|
17 |
+
background-color: #f0f0f0;
|
18 |
+
overflow: hidden;
|
19 |
}
|
20 |
|
21 |
.header {
|
22 |
+
background-color: #007bff;
|
23 |
+
color: white;
|
24 |
+
padding: 20px;
|
25 |
+
text-align: center;
|
26 |
+
border-bottom: 5px solid #0056b3;
|
27 |
}
|
28 |
|
29 |
.header a {
|
30 |
+
color: #ff9900;
|
31 |
}
|
32 |
|
33 |
+
.main-wrapper {
|
34 |
+
display: flex;
|
35 |
+
flex-direction: column;
|
36 |
+
height: 100vh;
|
|
|
37 |
}
|
38 |
|
39 |
+
.nav-tabs {
|
40 |
+
margin-bottom: 0;
|
41 |
}
|
42 |
|
43 |
+
.tab-container {
|
44 |
+
flex: 1;
|
45 |
+
overflow: hidden;
|
46 |
+
}
|
47 |
+
|
48 |
+
.tab-content,
|
49 |
.tab-pane {
|
50 |
+
height: 100%;
|
51 |
}
|
52 |
|
53 |
.tab-pane iframe {
|
54 |
+
width: 100%;
|
55 |
+
height: 100%;
|
56 |
+
border: none;
|
57 |
}
|
58 |
|
59 |
footer {
|
60 |
+
background-color: #343a40;
|
61 |
+
color: #fff;
|
62 |
+
text-align: center;
|
63 |
+
padding: 10px;
|
64 |
+
font-size: 1em;
|
65 |
+
opacity: 0.6;
|
66 |
+
transition: opacity 0.5s ease-in-out;
|
|
|
|
|
|
|
|
|
67 |
}
|
68 |
|
69 |
footer:hover {
|
70 |
+
opacity: 1;
|
71 |
}
|
72 |
+
</style>
|
73 |
+
</head>
|
74 |
+
|
75 |
+
<body>
|
76 |
+
<div class="main-wrapper">
|
77 |
+
<header class="header">
|
78 |
+
<h1>Welcome to My AI Projects <span style="font-size: 0.7em">(Stay tuned for exciting updates!)</span></h1>
|
79 |
+
<p>This is an introductory website, aimed at helping more people use AI. If there is any website that is not working, please
|
80 |
+
<a href="https://huggingface.co/spaces/ngoctuanai/project/discussions" target="_blank">contact me</a>.
|
81 |
+
</p>
|
82 |
+
</header>
|
83 |
+
|
84 |
+
<div class="container-fluid tab-container">
|
85 |
+
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
86 |
+
<li class="nav-item">
|
87 |
+
<a class="nav-link active" id="ai-chat-tab" data-toggle="tab" href="#ai-chat" role="tab" aria-controls="ai-chat" aria-selected="true">AI Chat</a>
|
88 |
+
</li>
|
89 |
+
<li class="nav-item">
|
90 |
+
<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>
|
91 |
+
</li>
|
92 |
+
</ul>
|
93 |
+
<div class="tab-content" id="myTabContent">
|
94 |
+
<div class="tab-pane fade show active" id="ai-chat" role="tabpanel" aria-labelledby="ai-chat-tab">
|
95 |
+
<iframe src="ai-chat.html"></iframe>
|
96 |
+
</div>
|
97 |
+
<div class="tab-pane fade" id="ai-drawing" role="tabpanel" aria-labelledby="ai-drawing-tab">
|
98 |
+
<iframe src="ai-drawing.html"></iframe>
|
99 |
+
</div>
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
|
103 |
+
<footer>
|
104 |
+
* 2024 ngoctuanai *
|
105 |
+
</footer>
|
106 |
+
</div>
|
107 |
+
|
108 |
+
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
109 |
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
|
110 |
+
</body>
|
111 |
+
|
112 |
+
</html>
|