@@ -201,47 +201,13 @@ export default function DeepSeekProject() {
201201
202202 { /* Main Content */ }
203203 < main className = "bg-gradient-to-br from-slate-950 via-slate-900 to-slate-950 min-h-screen" >
204- < div className = "container mx-auto px-4 sm:px-6 lg:px-8 pt-8" >
204+ < div className = "container mx-auto px-4 sm:px-6 lg:px-8 pt-8 pb-16 " >
205205 { /* Article Container */ }
206206 < article className = "max-w-4xl mx-auto" >
207207 { /* Content Card */ }
208208 < div className = "bg-white/5 backdrop-blur-xl border border-white/10 rounded-3xl shadow-2xl" >
209- { /* Copy Article Button */ }
210- < div className = "px-8 sm:px-12 pt-8 pb-4" >
211- < div className = "relative inline-block group" >
212- < button
213- onClick = { handleCopyArticle }
214- className = { `flex items-center justify-center p-3 rounded-lg font-medium transition-all duration-300 ${
215- copySuccess
216- ? 'bg-green-500/20 text-green-400 border border-green-500/30'
217- : 'bg-white/5 hover:bg-white/10 text-slate-300 hover:text-blue-400 border border-white/10 hover:border-blue-500/50'
218- } `}
219- >
220- { copySuccess ? (
221- < svg className = "w-5 h-5" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
222- < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 } d = "M5 13l4 4L19 7" />
223- </ svg >
224- ) : (
225- < svg className = "w-5 h-5 group-hover:scale-110 transition-transform" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
226- < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 } d = "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" />
227- </ svg >
228- ) }
229- </ button >
230-
231- { /* Tooltip */ }
232- < div className = "absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-3 py-2 bg-slate-800 text-white text-sm rounded-lg shadow-lg opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none whitespace-nowrap z-10 border border-slate-600" >
233- { language === 'en'
234- ? 'Perfect for pasting into AI chatbots for self-studying! 🤖'
235- : '非常适合粘贴到AI聊天机器人进行自学!🤖'
236- }
237- { /* Tooltip arrow */ }
238- < div className = "absolute top-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-l-4 border-r-4 border-t-4 border-transparent border-t-slate-800" > </ div >
239- </ div >
240- </ div >
241- </ div >
242-
243209 { /* Article Body */ }
244- < div className = "px-8 sm:px-12 pb-12 " >
210+ < div className = "px-8 sm:px-12 pb-20 " >
245211 < div className = "prose prose-lg prose-invert max-w-none" >
246212 < MarkdownRenderer content = { markdownContent } />
247213 </ div >
@@ -260,6 +226,39 @@ export default function DeepSeekProject() {
260226 </ div >
261227 < div className = "flex items-center gap-3" >
262228 < span className = "text-xs text-slate-500 uppercase tracking-wider font-semibold" > Share</ span >
229+
230+ { /* Copy Article Button */ }
231+ < div className = "relative inline-block group" >
232+ < button
233+ onClick = { handleCopyArticle }
234+ className = { `flex items-center justify-center p-2 rounded-lg transition-all duration-300 ${
235+ copySuccess
236+ ? 'text-green-400'
237+ : 'text-slate-400 hover:text-blue-400'
238+ } `}
239+ >
240+ { copySuccess ? (
241+ < svg className = "w-5 h-5" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
242+ < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 } d = "M5 13l4 4L19 7" />
243+ </ svg >
244+ ) : (
245+ < svg className = "w-5 h-5 group-hover:scale-110 transition-transform" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
246+ < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 } d = "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z" />
247+ </ svg >
248+ ) }
249+ </ button >
250+
251+ { /* Tooltip */ }
252+ < div className = "absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 px-3 py-2 bg-slate-800 text-white text-sm rounded-lg shadow-lg opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none whitespace-nowrap z-10 border border-slate-600" >
253+ { language === 'en'
254+ ? 'Perfect for pasting into AI chatbots for self-studying! 🤖'
255+ : '非常适合粘贴到AI聊天机器人进行自学!🤖'
256+ }
257+ { /* Tooltip arrow */ }
258+ < div className = "absolute top-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-l-4 border-r-4 border-t-4 border-transparent border-t-slate-800" > </ div >
259+ </ div >
260+ </ div >
261+
263262 < a href = "https://twitter.com/intent/tweet?text=DeepSeek%20Sparse%20Attention%20-%20Lightning%20Indexer"
264263 target = "_blank"
265264 rel = "noopener noreferrer"
0 commit comments