Spaces:
Running
Running
Add 2 files
Browse files- index.html +558 -38
- prompts.txt +1 -0
index.html
CHANGED
@@ -1,41 +1,561 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
-
<html>
|
3 |
-
|
4 |
-
<
|
5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0"
|
6 |
-
<
|
|
|
|
|
7 |
<style>
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
</style>
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Team Blog</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
<style>
|
10 |
+
/* Custom CSS for tooltips and animations */
|
11 |
+
.citation-tooltip {
|
12 |
+
position: relative;
|
13 |
+
display: inline-block;
|
14 |
+
border-bottom: 1px dotted #666;
|
15 |
+
cursor: help;
|
16 |
+
}
|
17 |
+
|
18 |
+
.citation-tooltip .tooltip-text {
|
19 |
+
visibility: hidden;
|
20 |
+
width: 300px;
|
21 |
+
background-color: #333;
|
22 |
+
color: #fff;
|
23 |
+
text-align: center;
|
24 |
+
border-radius: 6px;
|
25 |
+
padding: 10px;
|
26 |
+
position: absolute;
|
27 |
+
z-index: 1;
|
28 |
+
bottom: 125%;
|
29 |
+
left: 50%;
|
30 |
+
margin-left: -150px;
|
31 |
+
opacity: 0;
|
32 |
+
transition: opacity 0.3s;
|
33 |
+
}
|
34 |
+
|
35 |
+
.citation-tooltip:hover .tooltip-text {
|
36 |
+
visibility: visible;
|
37 |
+
opacity: 1;
|
38 |
+
}
|
39 |
+
|
40 |
+
.like-animation {
|
41 |
+
animation: like 0.5s ease;
|
42 |
+
}
|
43 |
+
|
44 |
+
@keyframes like {
|
45 |
+
0% { transform: scale(1); }
|
46 |
+
50% { transform: scale(1.3); }
|
47 |
+
100% { transform: scale(1); }
|
48 |
+
}
|
49 |
+
|
50 |
+
.comment-box {
|
51 |
+
max-height: 0;
|
52 |
+
overflow: hidden;
|
53 |
+
transition: max-height 0.3s ease-out;
|
54 |
+
}
|
55 |
+
|
56 |
+
.comment-box.active {
|
57 |
+
max-height: 500px;
|
58 |
+
transition: max-height 0.5s ease-in;
|
59 |
+
}
|
60 |
+
|
61 |
+
/* Custom video container */
|
62 |
+
.video-container {
|
63 |
+
position: relative;
|
64 |
+
padding-bottom: 56.25%; /* 16:9 */
|
65 |
+
height: 0;
|
66 |
+
overflow: hidden;
|
67 |
+
}
|
68 |
+
|
69 |
+
.video-container iframe {
|
70 |
+
position: absolute;
|
71 |
+
top: 0;
|
72 |
+
left: 0;
|
73 |
+
width: 100%;
|
74 |
+
height: 100%;
|
75 |
+
}
|
76 |
</style>
|
77 |
+
</head>
|
78 |
+
<body class="bg-gray-50 text-gray-800 font-sans">
|
79 |
+
<!-- Header -->
|
80 |
+
<header class="bg-indigo-700 text-white shadow-lg">
|
81 |
+
<div class="container mx-auto px-4 py-6">
|
82 |
+
<div class="flex justify-between items-center">
|
83 |
+
<div class="flex items-center space-x-4">
|
84 |
+
<i class="fas fa-users text-3xl"></i>
|
85 |
+
<h1 class="text-2xl md:text-3xl font-bold">Team Blog</h1>
|
86 |
+
</div>
|
87 |
+
<nav class="hidden md:flex space-x-6">
|
88 |
+
<a href="#" class="hover:text-indigo-200 transition">Home</a>
|
89 |
+
<a href="#" class="hover:text-indigo-200 transition">About</a>
|
90 |
+
<a href="#" class="hover:text-indigo-200 transition">Team</a>
|
91 |
+
<a href="#" class="hover:text-indigo-200 transition">Contact</a>
|
92 |
+
</nav>
|
93 |
+
<button class="md:hidden text-2xl" id="mobile-menu-button">
|
94 |
+
<i class="fas fa-bars"></i>
|
95 |
+
</button>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
|
99 |
+
<!-- Mobile menu -->
|
100 |
+
<div class="md:hidden hidden bg-indigo-800" id="mobile-menu">
|
101 |
+
<div class="container mx-auto px-4 py-2 flex flex-col space-y-3">
|
102 |
+
<a href="#" class="py-2 hover:text-indigo-200 transition">Home</a>
|
103 |
+
<a href="#" class="py-2 hover:text-indigo-200 transition">About</a>
|
104 |
+
<a href="#" class="py-2 hover:text-indigo-200 transition">Team</a>
|
105 |
+
<a href="#" class="py-2 hover:text-indigo-200 transition">Contact</a>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
</header>
|
109 |
+
|
110 |
+
<!-- Main Content -->
|
111 |
+
<main class="container mx-auto px-4 py-8">
|
112 |
+
<!-- Featured Post -->
|
113 |
+
<section class="mb-12 bg-white rounded-xl shadow-md overflow-hidden">
|
114 |
+
<div class="md:flex">
|
115 |
+
<div class="md:w-2/3 p-6">
|
116 |
+
<div class="flex items-center mb-4">
|
117 |
+
<span class="bg-indigo-100 text-indigo-800 text-xs font-semibold px-2.5 py-0.5 rounded">Featured</span>
|
118 |
+
</div>
|
119 |
+
<h2 class="text-2xl md:text-3xl font-bold mb-3">Our Latest Research on Machine Learning</h2>
|
120 |
+
<p class="text-gray-600 mb-4">Published on <span class="font-semibold">June 15, 2023</span> by <span class="text-indigo-600 font-medium">Dr. Sarah Johnson</span></p>
|
121 |
+
<p class="mb-4">In this article, we explore the latest advancements in machine learning algorithms and their applications in real-world scenarios. According to <span class="citation-tooltip">recent studies<span class="tooltip-text">"Machine Learning Trends 2023" by AI Research Institute, published in Journal of Artificial Intelligence, Vol. 12, Issue 3</span></span>, the adoption of ML has increased by 47% in the past year.</p>
|
122 |
+
|
123 |
+
<div class="flex items-center space-x-4 mb-4">
|
124 |
+
<button class="like-button flex items-center space-x-1 text-gray-600 hover:text-indigo-600 transition" data-likes="124">
|
125 |
+
<i class="far fa-heart"></i>
|
126 |
+
<span class="like-count">124</span>
|
127 |
+
</button>
|
128 |
+
<button class="comment-toggle flex items-center space-x-1 text-gray-600 hover:text-indigo-600 transition">
|
129 |
+
<i class="far fa-comment"></i>
|
130 |
+
<span>8 Comments</span>
|
131 |
+
</button>
|
132 |
+
<span class="text-gray-400">5 min read</span>
|
133 |
+
</div>
|
134 |
+
|
135 |
+
<a href="#" class="inline-flex items-center text-indigo-600 hover:text-indigo-800 font-medium">
|
136 |
+
Read more
|
137 |
+
<i class="fas fa-arrow-right ml-1"></i>
|
138 |
+
</a>
|
139 |
+
</div>
|
140 |
+
<div class="md:w-1/3">
|
141 |
+
<img src="https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="Featured Post" class="w-full h-full object-cover">
|
142 |
+
</div>
|
143 |
+
</div>
|
144 |
+
|
145 |
+
<!-- Comment Section -->
|
146 |
+
<div class="comment-box px-6 pb-6">
|
147 |
+
<div class="border-t pt-4 mt-4">
|
148 |
+
<h3 class="font-semibold mb-4">Comments (8)</h3>
|
149 |
+
|
150 |
+
<div class="space-y-4 mb-6">
|
151 |
+
<!-- Sample comments -->
|
152 |
+
<div class="flex space-x-3">
|
153 |
+
<div class="flex-shrink-0">
|
154 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full">
|
155 |
+
</div>
|
156 |
+
<div class="bg-gray-50 p-3 rounded-lg flex-1">
|
157 |
+
<div class="flex items-center justify-between mb-1">
|
158 |
+
<span class="font-medium">Emily Chen</span>
|
159 |
+
<span class="text-xs text-gray-500">2 days ago</span>
|
160 |
+
</div>
|
161 |
+
<p class="text-sm">This is a fantastic article! I particularly liked the section on neural networks.</p>
|
162 |
+
</div>
|
163 |
+
</div>
|
164 |
+
|
165 |
+
<div class="flex space-x-3">
|
166 |
+
<div class="flex-shrink-0">
|
167 |
+
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="w-10 h-10 rounded-full">
|
168 |
+
</div>
|
169 |
+
<div class="bg-gray-50 p-3 rounded-lg flex-1">
|
170 |
+
<div class="flex items-center justify-between mb-1">
|
171 |
+
<span class="font-medium">Michael Rodriguez</span>
|
172 |
+
<span class="text-xs text-gray-500">1 week ago</span>
|
173 |
+
</div>
|
174 |
+
<p class="text-sm">Great insights! Do you have any recommendations for beginners in this field?</p>
|
175 |
+
</div>
|
176 |
+
</div>
|
177 |
+
</div>
|
178 |
+
|
179 |
+
<form class="space-y-3">
|
180 |
+
<div>
|
181 |
+
<label for="comment" class="sr-only">Your comment</label>
|
182 |
+
<textarea id="comment" rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500" placeholder="Write a comment..."></textarea>
|
183 |
+
</div>
|
184 |
+
<button type="submit" class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Post Comment</button>
|
185 |
+
</form>
|
186 |
+
</div>
|
187 |
+
</div>
|
188 |
+
</section>
|
189 |
+
|
190 |
+
<!-- Blog Posts Grid -->
|
191 |
+
<section class="mb-12">
|
192 |
+
<h2 class="text-2xl font-bold mb-6">Recent Articles</h2>
|
193 |
+
|
194 |
+
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
|
195 |
+
<!-- Post 1 -->
|
196 |
+
<article class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
197 |
+
<div class="p-6">
|
198 |
+
<div class="flex justify-between items-center mb-3">
|
199 |
+
<span class="bg-green-100 text-green-800 text-xs font-semibold px-2.5 py-0.5 rounded">Technology</span>
|
200 |
+
<span class="text-xs text-gray-500">Jun 10, 2023</span>
|
201 |
+
</div>
|
202 |
+
<h3 class="text-xl font-bold mb-2">The Future of Web Development</h3>
|
203 |
+
<p class="text-gray-600 mb-4">Exploring the emerging trends in web development frameworks and tools. As noted by <span class="citation-tooltip">industry experts<span class="tooltip-text">"Web Development Trends 2023" by Tech Insights Group, published in Developer Weekly</span></span>, the landscape is changing rapidly.</p>
|
204 |
+
|
205 |
+
<!-- Video Embed -->
|
206 |
+
<div class="video-container mb-4 rounded-lg overflow-hidden">
|
207 |
+
<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
208 |
+
</div>
|
209 |
+
|
210 |
+
<div class="flex items-center justify-between">
|
211 |
+
<div class="flex items-center space-x-2">
|
212 |
+
<img src="https://randomuser.me/api/portraits/men/22.jpg" alt="Author" class="w-8 h-8 rounded-full">
|
213 |
+
<span class="text-sm font-medium">Alex Turner</span>
|
214 |
+
</div>
|
215 |
+
<div class="flex items-center space-x-3">
|
216 |
+
<button class="like-button flex items-center space-x-1 text-gray-600 hover:text-indigo-600 transition" data-likes="89">
|
217 |
+
<i class="far fa-heart"></i>
|
218 |
+
<span class="like-count">89</span>
|
219 |
+
</button>
|
220 |
+
<button class="comment-toggle flex items-center space-x-1 text-gray-600 hover:text-indigo-600 transition">
|
221 |
+
<i class="far fa-comment"></i>
|
222 |
+
<span>5</span>
|
223 |
+
</button>
|
224 |
+
</div>
|
225 |
+
</div>
|
226 |
+
</div>
|
227 |
+
|
228 |
+
<!-- Comment Section -->
|
229 |
+
<div class="comment-box px-6 pb-6">
|
230 |
+
<div class="border-t pt-4 mt-4">
|
231 |
+
<h3 class="text-sm font-semibold mb-3">Comments (5)</h3>
|
232 |
+
|
233 |
+
<div class="space-y-3 mb-4">
|
234 |
+
<div class="flex space-x-2">
|
235 |
+
<div class="flex-shrink-0">
|
236 |
+
<img src="https://randomuser.me/api/portraits/women/33.jpg" alt="User" class="w-8 h-8 rounded-full">
|
237 |
+
</div>
|
238 |
+
<div class="bg-gray-50 p-2 rounded-lg flex-1">
|
239 |
+
<div class="flex items-center justify-between mb-1">
|
240 |
+
<span class="text-sm font-medium">Lisa Wong</span>
|
241 |
+
<span class="text-xs text-gray-500">3 days ago</span>
|
242 |
+
</div>
|
243 |
+
<p class="text-xs">Great video explanation!</p>
|
244 |
+
</div>
|
245 |
+
</div>
|
246 |
+
</div>
|
247 |
+
|
248 |
+
<form class="space-y-2">
|
249 |
+
<div>
|
250 |
+
<textarea rows="2" class="w-full px-2 py-1 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-1 focus:ring-indigo-500" placeholder="Add a comment..."></textarea>
|
251 |
+
</div>
|
252 |
+
<button type="submit" class="px-3 py-1 text-sm bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Post</button>
|
253 |
+
</form>
|
254 |
+
</div>
|
255 |
+
</div>
|
256 |
+
</article>
|
257 |
+
|
258 |
+
<!-- Post 2 -->
|
259 |
+
<article class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
260 |
+
<div class="p-6">
|
261 |
+
<div class="flex justify-between items-center mb-3">
|
262 |
+
<span class="bg-purple-100 text-purple-800 text-xs font-semibold px-2.5 py-0.5 rounded">Science</span>
|
263 |
+
<span class="text-xs text-gray-500">May 28, 2023</span>
|
264 |
+
</div>
|
265 |
+
<h3 class="text-xl font-bold mb-2">Breakthrough in Quantum Computing</h3>
|
266 |
+
<p class="text-gray-600 mb-4">Our team has made significant progress in quantum algorithm development. This builds on previous work by <span class="citation-tooltip">Smith et al.<span class="tooltip-text">"Quantum Algorithms for Optimization Problems" by Smith, J., et al., published in Quantum Computing Journal, 2022</span></span>.</p>
|
267 |
+
|
268 |
+
<!-- Image Gallery -->
|
269 |
+
<div class="grid grid-cols-2 gap-2 mb-4">
|
270 |
+
<img src="https://images.unsplash.com/photo-1635070041078-e363dbe005cb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="Quantum Lab" class="w-full h-32 object-cover rounded-lg">
|
271 |
+
<img src="https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="Quantum Computer" class="w-full h-32 object-cover rounded-lg">
|
272 |
+
</div>
|
273 |
+
|
274 |
+
<div class="flex items-center justify-between">
|
275 |
+
<div class="flex items-center space-x-2">
|
276 |
+
<img src="https://randomuser.me/api/portraits/women/65.jpg" alt="Author" class="w-8 h-8 rounded-full">
|
277 |
+
<span class="text-sm font-medium">Dr. Maria Garcia</span>
|
278 |
+
</div>
|
279 |
+
<div class="flex items-center space-x-3">
|
280 |
+
<button class="like-button flex items-center space-x-1 text-gray-600 hover:text-indigo-600 transition" data-likes="156">
|
281 |
+
<i class="far fa-heart"></i>
|
282 |
+
<span class="like-count">156</span>
|
283 |
+
</button>
|
284 |
+
<button class="comment-toggle flex items-center space-x-1 text-gray-600 hover:text-indigo-600 transition">
|
285 |
+
<i class="far fa-comment"></i>
|
286 |
+
<span>12</span>
|
287 |
+
</button>
|
288 |
+
</div>
|
289 |
+
</div>
|
290 |
+
</div>
|
291 |
+
|
292 |
+
<!-- Comment Section -->
|
293 |
+
<div class="comment-box px-6 pb-6">
|
294 |
+
<div class="border-t pt-4 mt-4">
|
295 |
+
<h3 class="text-sm font-semibold mb-3">Comments (12)</h3>
|
296 |
+
|
297 |
+
<div class="space-y-3 mb-4">
|
298 |
+
<div class="flex space-x-2">
|
299 |
+
<div class="flex-shrink-0">
|
300 |
+
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="User" class="w-8 h-8 rounded-full">
|
301 |
+
</div>
|
302 |
+
<div class="bg-gray-50 p-2 rounded-lg flex-1">
|
303 |
+
<div class="flex items-center justify-between mb-1">
|
304 |
+
<span class="text-sm font-medium">Robert Kim</span>
|
305 |
+
<span class="text-xs text-gray-500">1 week ago</span>
|
306 |
+
</div>
|
307 |
+
<p class="text-xs">Fascinating research! When can we expect a follow-up paper?</p>
|
308 |
+
</div>
|
309 |
+
</div>
|
310 |
+
</div>
|
311 |
+
|
312 |
+
<form class="space-y-2">
|
313 |
+
<div>
|
314 |
+
<textarea rows="2" class="w-full px-2 py-1 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-1 focus:ring-indigo-500" placeholder="Add a comment..."></textarea>
|
315 |
+
</div>
|
316 |
+
<button type="submit" class="px-3 py-1 text-sm bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Post</button>
|
317 |
+
</form>
|
318 |
+
</div>
|
319 |
+
</div>
|
320 |
+
</article>
|
321 |
+
|
322 |
+
<!-- Post 3 -->
|
323 |
+
<article class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
324 |
+
<div class="p-6">
|
325 |
+
<div class="flex justify-between items-center mb-3">
|
326 |
+
<span class="bg-blue-100 text-blue-800 text-xs font-semibold px-2.5 py-0.5 rounded">Design</span>
|
327 |
+
<span class="text-xs text-gray-500">May 15, 2023</span>
|
328 |
+
</div>
|
329 |
+
<h3 class="text-xl font-bold mb-2">UX Principles for 2023</h3>
|
330 |
+
<p class="text-gray-600 mb-4">A comprehensive guide to modern user experience design principles. As highlighted in <span class="citation-tooltip">Nielsen's research<span class="tooltip-text">"10 Usability Heuristics for User Interface Design" by Jakob Nielsen, Nielsen Norman Group</span></span>, these principles remain foundational.</p>
|
331 |
+
|
332 |
+
<!-- Single Image -->
|
333 |
+
<img src="https://images.unsplash.com/photo-1547658719-da2b51169166?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="UX Design" class="w-full h-48 object-cover rounded-lg mb-4">
|
334 |
+
|
335 |
+
<div class="flex items-center justify-between">
|
336 |
+
<div class="flex items-center space-x-2">
|
337 |
+
<img src="https://randomuser.me/api/portraits/men/42.jpg" alt="Author" class="w-8 h-8 rounded-full">
|
338 |
+
<span class="text-sm font-medium">David Park</span>
|
339 |
+
</div>
|
340 |
+
<div class="flex items-center space-x-3">
|
341 |
+
<button class="like-button flex items-center space-x-1 text-gray-600 hover:text-indigo-600 transition" data-likes="72">
|
342 |
+
<i class="far fa-heart"></i>
|
343 |
+
<span class="like-count">72</span>
|
344 |
+
</button>
|
345 |
+
<button class="comment-toggle flex items-center space-x-1 text-gray-600 hover:text-indigo-600 transition">
|
346 |
+
<i class="far fa-comment"></i>
|
347 |
+
<span>3</span>
|
348 |
+
</button>
|
349 |
+
</div>
|
350 |
+
</div>
|
351 |
+
</div>
|
352 |
+
|
353 |
+
<!-- Comment Section -->
|
354 |
+
<div class="comment-box px-6 pb-6">
|
355 |
+
<div class="border-t pt-4 mt-4">
|
356 |
+
<h3 class="text-sm font-semibold mb-3">Comments (3)</h3>
|
357 |
+
|
358 |
+
<div class="space-y-3 mb-4">
|
359 |
+
<div class="flex space-x-2">
|
360 |
+
<div class="flex-shrink-0">
|
361 |
+
<img src="https://randomuser.me/api/portraits/women/28.jpg" alt="User" class="w-8 h-8 rounded-full">
|
362 |
+
</div>
|
363 |
+
<div class="bg-gray-50 p-2 rounded-lg flex-1">
|
364 |
+
<div class="flex items-center justify-between mb-1">
|
365 |
+
<span class="text-sm font-medium">Sophia Lee</span>
|
366 |
+
<span class="text-xs text-gray-500">2 weeks ago</span>
|
367 |
+
</div>
|
368 |
+
<p class="text-xs">Very helpful for my current project. Thanks!</p>
|
369 |
+
</div>
|
370 |
+
</div>
|
371 |
+
</div>
|
372 |
+
|
373 |
+
<form class="space-y-2">
|
374 |
+
<div>
|
375 |
+
<textarea rows="2" class="w-full px-2 py-1 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-1 focus:ring-indigo-500" placeholder="Add a comment..."></textarea>
|
376 |
+
</div>
|
377 |
+
<button type="submit" class="px-3 py-1 text-sm bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">Post</button>
|
378 |
+
</form>
|
379 |
+
</div>
|
380 |
+
</div>
|
381 |
+
</article>
|
382 |
+
</div>
|
383 |
+
</section>
|
384 |
+
|
385 |
+
<!-- Team Section -->
|
386 |
+
<section class="mb-12">
|
387 |
+
<h2 class="text-2xl font-bold mb-6">Our Team</h2>
|
388 |
+
|
389 |
+
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
|
390 |
+
<!-- Team Member 1 -->
|
391 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
392 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Team Member" class="w-full h-48 object-cover">
|
393 |
+
<div class="p-6">
|
394 |
+
<h3 class="text-xl font-bold mb-1">Dr. Sarah Johnson</h3>
|
395 |
+
<p class="text-indigo-600 mb-3">Lead Researcher</p>
|
396 |
+
<p class="text-gray-600 text-sm">Specializes in machine learning and artificial intelligence with over 10 years of experience.</p>
|
397 |
+
<div class="flex space-x-3 mt-4">
|
398 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fab fa-twitter"></i></a>
|
399 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fab fa-linkedin"></i></a>
|
400 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fas fa-envelope"></i></a>
|
401 |
+
</div>
|
402 |
+
</div>
|
403 |
+
</div>
|
404 |
+
|
405 |
+
<!-- Team Member 2 -->
|
406 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
407 |
+
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Team Member" class="w-full h-48 object-cover">
|
408 |
+
<div class="p-6">
|
409 |
+
<h3 class="text-xl font-bold mb-1">Alex Turner</h3>
|
410 |
+
<p class="text-indigo-600 mb-3">Senior Developer</p>
|
411 |
+
<p class="text-gray-600 text-sm">Full-stack developer with expertise in modern web technologies and frameworks.</p>
|
412 |
+
<div class="flex space-x-3 mt-4">
|
413 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fab fa-github"></i></a>
|
414 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fab fa-linkedin"></i></a>
|
415 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fas fa-globe"></i></a>
|
416 |
+
</div>
|
417 |
+
</div>
|
418 |
+
</div>
|
419 |
+
|
420 |
+
<!-- Team Member 3 -->
|
421 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
422 |
+
<img src="https://randomuser.me/api/portraits/women/65.jpg" alt="Team Member" class="w-full h-48 object-cover">
|
423 |
+
<div class="p-6">
|
424 |
+
<h3 class="text-xl font-bold mb-1">Dr. Maria Garcia</h3>
|
425 |
+
<p class="text-indigo-600 mb-3">Quantum Physicist</p>
|
426 |
+
<p class="text-gray-600 text-sm">Leading our quantum computing research with several published papers in top journals.</p>
|
427 |
+
<div class="flex space-x-3 mt-4">
|
428 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fab fa-researchgate"></i></a>
|
429 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fas fa-graduation-cap"></i></a>
|
430 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fas fa-envelope"></i></a>
|
431 |
+
</div>
|
432 |
+
</div>
|
433 |
+
</div>
|
434 |
+
|
435 |
+
<!-- Team Member 4 -->
|
436 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
437 |
+
<img src="https://randomuser.me/api/portraits/men/42.jpg" alt="Team Member" class="w-full h-48 object-cover">
|
438 |
+
<div class="p-6">
|
439 |
+
<h3 class="text-xl font-bold mb-1">David Park</h3>
|
440 |
+
<p class="text-indigo-600 mb-3">UX Designer</p>
|
441 |
+
<p class="text-gray-600 text-sm">Creates intuitive user experiences with a focus on accessibility and usability testing.</p>
|
442 |
+
<div class="flex space-x-3 mt-4">
|
443 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fab fa-dribbble"></i></a>
|
444 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fab fa-behance"></i></a>
|
445 |
+
<a href="#" class="text-gray-500 hover:text-indigo-600 transition"><i class="fas fa-globe"></i></a>
|
446 |
+
</div>
|
447 |
+
</div>
|
448 |
+
</div>
|
449 |
+
</div>
|
450 |
+
</section>
|
451 |
+
</main>
|
452 |
+
|
453 |
+
<!-- Newsletter -->
|
454 |
+
<section class="bg-indigo-700 text-white py-12">
|
455 |
+
<div class="container mx-auto px-4 text-center">
|
456 |
+
<h2 class="text-2xl md:text-3xl font-bold mb-4">Stay Updated</h2>
|
457 |
+
<p class="max-w-2xl mx-auto mb-6">Subscribe to our newsletter to receive the latest articles, research updates, and team news directly to your inbox.</p>
|
458 |
+
<form class="max-w-md mx-auto flex">
|
459 |
+
<input type="email" placeholder="Your email address" class="flex-1 px-4 py-2 rounded-l-lg focus:outline-none text-gray-800">
|
460 |
+
<button type="submit" class="bg-indigo-900 hover:bg-indigo-800 px-6 py-2 rounded-r-lg transition">Subscribe</button>
|
461 |
+
</form>
|
462 |
+
</div>
|
463 |
+
</section>
|
464 |
+
|
465 |
+
<!-- Footer -->
|
466 |
+
<footer class="bg-gray-800 text-gray-300 py-8">
|
467 |
+
<div class="container mx-auto px-4">
|
468 |
+
<div class="grid md:grid-cols-4 gap-8 mb-8">
|
469 |
+
<div>
|
470 |
+
<h3 class="text-white font-bold text-lg mb-4">Team Blog</h3>
|
471 |
+
<p class="mb-4">Sharing knowledge, research, and insights from our diverse team of experts.</p>
|
472 |
+
<div class="flex space-x-4">
|
473 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-twitter"></i></a>
|
474 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-github"></i></a>
|
475 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-linkedin"></i></a>
|
476 |
+
</div>
|
477 |
+
</div>
|
478 |
+
<div>
|
479 |
+
<h3 class="text-white font-bold text-lg mb-4">Quick Links</h3>
|
480 |
+
<ul class="space-y-2">
|
481 |
+
<li><a href="#" class="hover:text-white transition">Home</a></li>
|
482 |
+
<li><a href="#" class="hover:text-white transition">About</a></li>
|
483 |
+
<li><a href="#" class="hover:text-white transition">Team</a></li>
|
484 |
+
<li><a href="#" class="hover:text-white transition">Contact</a></li>
|
485 |
+
</ul>
|
486 |
+
</div>
|
487 |
+
<div>
|
488 |
+
<h3 class="text-white font-bold text-lg mb-4">Categories</h3>
|
489 |
+
<ul class="space-y-2">
|
490 |
+
<li><a href="#" class="hover:text-white transition">Technology</a></li>
|
491 |
+
<li><a href="#" class="hover:text-white transition">Science</a></li>
|
492 |
+
<li><a href="#" class="hover:text-white transition">Design</a></li>
|
493 |
+
<li><a href="#" class="hover:text-white transition">Research</a></li>
|
494 |
+
</ul>
|
495 |
+
</div>
|
496 |
+
<div>
|
497 |
+
<h3 class="text-white font-bold text-lg mb-4">Contact</h3>
|
498 |
+
<address class="not-italic">
|
499 |
+
<p class="mb-2">123 Research Park</p>
|
500 |
+
<p class="mb-2">Innovation City, CA 90210</p>
|
501 |
+
<p class="mb-2">Email: [email protected]</p>
|
502 |
+
<p>Phone: (123) 456-7890</p>
|
503 |
+
</address>
|
504 |
+
</div>
|
505 |
+
</div>
|
506 |
+
<div class="border-t border-gray-700 pt-6 text-center text-sm">
|
507 |
+
<p>© 2023 Team Blog. All rights reserved.</p>
|
508 |
+
</div>
|
509 |
+
</div>
|
510 |
+
</footer>
|
511 |
+
|
512 |
+
<!-- JavaScript -->
|
513 |
+
<script>
|
514 |
+
// Mobile menu toggle
|
515 |
+
document.getElementById('mobile-menu-button').addEventListener('click', function() {
|
516 |
+
const menu = document.getElementById('mobile-menu');
|
517 |
+
menu.classList.toggle('hidden');
|
518 |
+
});
|
519 |
+
|
520 |
+
// Like button functionality
|
521 |
+
document.querySelectorAll('.like-button').forEach(button => {
|
522 |
+
button.addEventListener('click', function() {
|
523 |
+
const icon = this.querySelector('i');
|
524 |
+
const countElement = this.querySelector('.like-count');
|
525 |
+
let count = parseInt(countElement.textContent);
|
526 |
+
|
527 |
+
if (icon.classList.contains('far')) {
|
528 |
+
icon.classList.remove('far');
|
529 |
+
icon.classList.add('fas', 'like-animation');
|
530 |
+
count++;
|
531 |
+
} else {
|
532 |
+
icon.classList.remove('fas');
|
533 |
+
icon.classList.add('far');
|
534 |
+
count--;
|
535 |
+
}
|
536 |
+
|
537 |
+
countElement.textContent = count;
|
538 |
+
});
|
539 |
+
});
|
540 |
+
|
541 |
+
// Comment toggle functionality
|
542 |
+
document.querySelectorAll('.comment-toggle').forEach(button => {
|
543 |
+
button.addEventListener('click', function() {
|
544 |
+
const article = this.closest('article, section');
|
545 |
+
const commentBox = article.querySelector('.comment-box');
|
546 |
+
commentBox.classList.toggle('active');
|
547 |
+
});
|
548 |
+
});
|
549 |
+
|
550 |
+
// Smooth scroll for anchor links
|
551 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
552 |
+
anchor.addEventListener('click', function(e) {
|
553 |
+
e.preventDefault();
|
554 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
555 |
+
behavior: 'smooth'
|
556 |
+
});
|
557 |
+
});
|
558 |
+
});
|
559 |
+
</script>
|
560 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=yellowtown/blog-demo" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
561 |
+
</html>
|
prompts.txt
CHANGED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
帮我设计一个团队的博客网站,基于github.io的形式来,功能要支持图片、视频,citation要支持hover显示详情,每个博客文章支持点赞、评论
|