� Redesign Templates page with GPT Store-inspired layout
Browse files✨ New Professional Design:
- Modern search bar with real-time filtering
- Category-based navigation system
- Featured & Trending sections with visual badges
- Professional template cards with icons, ratings & usage stats
- GPT Store-inspired layout and visual hierarchy
� Enhanced Template Cards:
- Large emoji icons for visual recognition
- Usage statistics (view count, star ratings)
- Professional badges (Official, Featured, Trending)
- Improved descriptions and better information density
- Hover effects and smooth animations
� Better User Experience:
- Sticky header with quick access to Create Assistant
- Clear visual hierarchy with sections
- Search functionality across names, descriptions, and tags
- Category filtering for better discoverability
- Empty states with helpful guidance
� Added More Templates:
- Data Analysis Expert (�)
- Language Learning Tutor (�)
- Business Strategy Advisor (�)
- Research Assistant (�)
- Math & Science Tutor (�)
� Visual Enhancements:
- Gradient backgrounds for template icons
- Professional color scheme matching ChatGPT GPT Store
- Better spacing and typography
- Responsive grid layout
- Smooth hover animations and transitions
� Result: Template discovery now feels professional and intuitive like ChatGPT's GPT Store!
- frontend/src/pages/Home.tsx +333 -171
- static/assets/index-376d7ec8.js +0 -0
- static/assets/index-376d7ec8.js.map +0 -0
- static/assets/index-54380fe5.css +1 -0
- static/index.html +2 -2
|
@@ -3,8 +3,8 @@ import { useNavigate } from 'react-router-dom'
|
|
| 3 |
import { Badge } from '@/components/ui/badge'
|
| 4 |
import { Button } from '@/components/ui/button'
|
| 5 |
import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card'
|
| 6 |
-
import {
|
| 7 |
-
import { Brain, MessageSquare,
|
| 8 |
|
| 9 |
// Community template interface
|
| 10 |
interface CommunityTemplate {
|
|
@@ -20,6 +20,9 @@ interface CommunityTemplate {
|
|
| 20 |
maxTokens: number
|
| 21 |
isOfficial: boolean
|
| 22 |
createdAt: string
|
|
|
|
|
|
|
|
|
|
| 23 |
}
|
| 24 |
|
| 25 |
// Get all community templates
|
|
@@ -28,44 +31,138 @@ function getCommunityTemplates(): CommunityTemplate[] {
|
|
| 28 |
{
|
| 29 |
id: 'code-reviewer',
|
| 30 |
name: 'Code Review Expert',
|
| 31 |
-
description: 'Professional code reviewer for detailed analysis and suggestions.',
|
| 32 |
author: 'EdgeLLM Team',
|
| 33 |
-
category: '
|
| 34 |
-
tags: ['code review', 'programming'],
|
| 35 |
model: 'Qwen/Qwen3-30B-A3B',
|
| 36 |
systemPrompt: 'You are a senior software engineer. Analyze code for quality, best practices, performance, and security. Provide constructive feedback with specific examples.',
|
| 37 |
temperature: 0.3,
|
| 38 |
maxTokens: 1000,
|
| 39 |
isOfficial: true,
|
| 40 |
-
createdAt: '2024-01-15'
|
|
|
|
|
|
|
|
|
|
| 41 |
},
|
| 42 |
{
|
| 43 |
id: 'writing-tutor',
|
| 44 |
name: 'Writing Assistant',
|
| 45 |
-
description: 'Helps improve writing with structure suggestions and clarity enhancements.',
|
| 46 |
author: 'Community',
|
| 47 |
-
category: '
|
| 48 |
-
tags: ['writing', 'editing'],
|
| 49 |
model: 'Qwen/Qwen3-30B-A3B',
|
| 50 |
systemPrompt: 'You are a writing tutor. Help improve writing through structure, clarity, grammar, and style suggestions. Provide specific feedback and examples.',
|
| 51 |
temperature: 0.4,
|
| 52 |
maxTokens: 800,
|
| 53 |
isOfficial: false,
|
| 54 |
-
createdAt: '2024-01-20'
|
|
|
|
|
|
|
|
|
|
| 55 |
},
|
| 56 |
{
|
| 57 |
id: 'creative-writer',
|
| 58 |
name: 'Creative Writing Coach',
|
| 59 |
-
description: 'Inspires creativity and helps develop compelling stories and characters.',
|
| 60 |
author: 'Community',
|
| 61 |
-
category: '
|
| 62 |
-
tags: ['creative', 'storytelling'],
|
| 63 |
model: 'Qwen/Qwen3-30B-A3B',
|
| 64 |
systemPrompt: 'You are a creative writing coach. Help develop stories, characters, and narrative techniques. Provide encouraging feedback and creative suggestions.',
|
| 65 |
temperature: 0.8,
|
| 66 |
maxTokens: 1000,
|
| 67 |
isOfficial: true,
|
| 68 |
-
createdAt: '2024-01-30'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
}
|
| 70 |
]
|
| 71 |
}
|
|
@@ -75,6 +172,8 @@ export function Home() {
|
|
| 75 |
const [isOnline, setIsOnline] = useState(false)
|
| 76 |
const [communityTemplates] = useState<CommunityTemplate[]>(getCommunityTemplates())
|
| 77 |
const [likedTemplates, setLikedTemplates] = useState<string[]>([])
|
|
|
|
|
|
|
| 78 |
|
| 79 |
useEffect(() => {
|
| 80 |
checkSystemStatus()
|
|
@@ -123,221 +222,284 @@ export function Home() {
|
|
| 123 |
navigate('/playground')
|
| 124 |
}
|
| 125 |
|
| 126 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
|
| 128 |
return (
|
| 129 |
<div className="min-h-screen bg-background">
|
| 130 |
-
{/*
|
| 131 |
-
<div className="
|
| 132 |
-
<div className="max-w-6xl mx-auto px-6 py-
|
| 133 |
-
<div className="
|
| 134 |
-
<div className="flex items-center
|
| 135 |
-
<div className="w-12 h-12 bg-blue-600 rounded-xl flex items-center justify-center">
|
| 136 |
-
<Brain className="h-7 w-7 text-white" />
|
| 137 |
-
</div>
|
| 138 |
<div className="flex items-center gap-2">
|
| 139 |
-
<
|
|
|
|
|
|
|
|
|
|
| 140 |
<Badge variant={isOnline ? "default" : "secondary"} className="text-xs">
|
| 141 |
{isOnline ? 'Online' : 'Offline'}
|
| 142 |
</Badge>
|
| 143 |
</div>
|
| 144 |
</div>
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
Create
|
| 148 |
-
|
| 149 |
-
</p>
|
| 150 |
-
|
| 151 |
-
<div className="flex flex-col items-center gap-4 mt-8">
|
| 152 |
-
<Button
|
| 153 |
-
size="lg"
|
| 154 |
-
onClick={() => navigate('/playground')}
|
| 155 |
-
className="flex items-center gap-2 px-8 py-3 text-lg"
|
| 156 |
-
>
|
| 157 |
-
<MessageSquare className="h-5 w-5" />
|
| 158 |
-
Build Your Assistant
|
| 159 |
-
<ArrowRight className="h-4 w-4" />
|
| 160 |
-
</Button>
|
| 161 |
-
|
| 162 |
-
<div className="flex items-center gap-6 text-sm text-muted-foreground">
|
| 163 |
-
<span className="flex items-center gap-1">
|
| 164 |
-
<Brain className="h-4 w-4" />
|
| 165 |
-
Personalized AI
|
| 166 |
-
</span>
|
| 167 |
-
<span>•</span>
|
| 168 |
-
<span>Privacy First</span>
|
| 169 |
-
<span>•</span>
|
| 170 |
-
<span>Easy to Build</span>
|
| 171 |
-
</div>
|
| 172 |
-
</div>
|
| 173 |
</div>
|
| 174 |
</div>
|
| 175 |
</div>
|
| 176 |
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
<div className="
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 189 |
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 239 |
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
{
|
| 255 |
-
<
|
| 256 |
-
|
| 257 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 258 |
</p>
|
| 259 |
-
</
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 263 |
</div>
|
| 264 |
</div>
|
| 265 |
</div>
|
| 266 |
)
|
| 267 |
}
|
| 268 |
|
| 269 |
-
//
|
| 270 |
-
function
|
| 271 |
template,
|
| 272 |
isLiked,
|
| 273 |
onLike,
|
| 274 |
onUse,
|
| 275 |
-
featured = false
|
|
|
|
| 276 |
}: {
|
| 277 |
template: CommunityTemplate
|
| 278 |
isLiked: boolean
|
| 279 |
onLike: () => void
|
| 280 |
onUse: () => void
|
| 281 |
featured?: boolean
|
|
|
|
| 282 |
}) {
|
| 283 |
return (
|
| 284 |
-
<Card className=
|
| 285 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 286 |
<div className="flex items-start justify-between">
|
| 287 |
-
<div className="flex-
|
| 288 |
-
<div className="flex items-center
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 299 |
</div>
|
| 300 |
-
<p className="text-xs text-blue-600 font-medium">by {template.author}</p>
|
| 301 |
-
<p className="text-sm text-muted-foreground mt-2 line-clamp-2">
|
| 302 |
-
{template.description}
|
| 303 |
-
</p>
|
| 304 |
</div>
|
| 305 |
<Button
|
| 306 |
variant="ghost"
|
| 307 |
size="sm"
|
| 308 |
onClick={onLike}
|
| 309 |
-
className={isLiked ? "text-red-500" : "text-
|
| 310 |
title={isLiked ? "Unlike" : "Like"}
|
| 311 |
>
|
| 312 |
<Heart className={`h-4 w-4 ${isLiked ? 'fill-current' : ''}`} />
|
| 313 |
</Button>
|
| 314 |
</div>
|
| 315 |
</CardHeader>
|
|
|
|
| 316 |
<CardContent className="space-y-4">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 317 |
{/* Tags */}
|
| 318 |
-
<div className="flex flex-wrap gap-
|
| 319 |
{template.tags.slice(0, 3).map((tag) => (
|
| 320 |
-
<Badge key={tag} variant="secondary" className="text-xs">
|
| 321 |
{tag}
|
| 322 |
</Badge>
|
| 323 |
))}
|
| 324 |
</div>
|
| 325 |
-
|
| 326 |
-
{/*
|
| 327 |
-
<div className="
|
| 328 |
-
<div className="
|
| 329 |
-
<
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
<
|
| 334 |
-
|
|
|
|
|
|
|
| 335 |
</div>
|
|
|
|
|
|
|
|
|
|
| 336 |
</div>
|
| 337 |
-
|
| 338 |
-
{/* Action */}
|
| 339 |
-
<div className="
|
| 340 |
-
<Button
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 341 |
Build Assistant
|
| 342 |
</Button>
|
| 343 |
</div>
|
|
|
|
| 3 |
import { Badge } from '@/components/ui/badge'
|
| 4 |
import { Button } from '@/components/ui/button'
|
| 5 |
import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card'
|
| 6 |
+
import { Input } from '@/components/ui/input'
|
| 7 |
+
import { Brain, MessageSquare, Search, TrendingUp, Crown, Bot, Eye, Star, Heart, Users, Award } from 'lucide-react'
|
| 8 |
|
| 9 |
// Community template interface
|
| 10 |
interface CommunityTemplate {
|
|
|
|
| 20 |
maxTokens: number
|
| 21 |
isOfficial: boolean
|
| 22 |
createdAt: string
|
| 23 |
+
icon: string
|
| 24 |
+
usageCount: number
|
| 25 |
+
rating: number
|
| 26 |
}
|
| 27 |
|
| 28 |
// Get all community templates
|
|
|
|
| 31 |
{
|
| 32 |
id: 'code-reviewer',
|
| 33 |
name: 'Code Review Expert',
|
| 34 |
+
description: 'Professional code reviewer for detailed analysis and suggestions. Helps identify bugs, security issues, and performance optimizations.',
|
| 35 |
author: 'EdgeLLM Team',
|
| 36 |
+
category: 'Developer Tools',
|
| 37 |
+
tags: ['code review', 'programming', 'debugging'],
|
| 38 |
model: 'Qwen/Qwen3-30B-A3B',
|
| 39 |
systemPrompt: 'You are a senior software engineer. Analyze code for quality, best practices, performance, and security. Provide constructive feedback with specific examples.',
|
| 40 |
temperature: 0.3,
|
| 41 |
maxTokens: 1000,
|
| 42 |
isOfficial: true,
|
| 43 |
+
createdAt: '2024-01-15',
|
| 44 |
+
icon: '🔍',
|
| 45 |
+
usageCount: 1247,
|
| 46 |
+
rating: 4.8
|
| 47 |
},
|
| 48 |
{
|
| 49 |
id: 'writing-tutor',
|
| 50 |
name: 'Writing Assistant',
|
| 51 |
+
description: 'Helps improve writing with structure suggestions and clarity enhancements. Perfect for essays, articles, and professional documents.',
|
| 52 |
author: 'Community',
|
| 53 |
+
category: 'Writing',
|
| 54 |
+
tags: ['writing', 'editing', 'grammar'],
|
| 55 |
model: 'Qwen/Qwen3-30B-A3B',
|
| 56 |
systemPrompt: 'You are a writing tutor. Help improve writing through structure, clarity, grammar, and style suggestions. Provide specific feedback and examples.',
|
| 57 |
temperature: 0.4,
|
| 58 |
maxTokens: 800,
|
| 59 |
isOfficial: false,
|
| 60 |
+
createdAt: '2024-01-20',
|
| 61 |
+
icon: '📝',
|
| 62 |
+
usageCount: 892,
|
| 63 |
+
rating: 4.6
|
| 64 |
},
|
| 65 |
{
|
| 66 |
id: 'creative-writer',
|
| 67 |
name: 'Creative Writing Coach',
|
| 68 |
+
description: 'Inspires creativity and helps develop compelling stories and characters. Great for fiction writers and storytellers.',
|
| 69 |
author: 'Community',
|
| 70 |
+
category: 'Writing',
|
| 71 |
+
tags: ['creative', 'storytelling', 'fiction'],
|
| 72 |
model: 'Qwen/Qwen3-30B-A3B',
|
| 73 |
systemPrompt: 'You are a creative writing coach. Help develop stories, characters, and narrative techniques. Provide encouraging feedback and creative suggestions.',
|
| 74 |
temperature: 0.8,
|
| 75 |
maxTokens: 1000,
|
| 76 |
isOfficial: true,
|
| 77 |
+
createdAt: '2024-01-30',
|
| 78 |
+
icon: '✨',
|
| 79 |
+
usageCount: 634,
|
| 80 |
+
rating: 4.7
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
id: 'data-analyst',
|
| 84 |
+
name: 'Data Analysis Expert',
|
| 85 |
+
description: 'Helps analyze data patterns, create insights, and generate comprehensive reports with statistical analysis.',
|
| 86 |
+
author: 'EdgeLLM Team',
|
| 87 |
+
category: 'Data & Analytics',
|
| 88 |
+
tags: ['data', 'analytics', 'statistics'],
|
| 89 |
+
model: 'Qwen/Qwen3-30B-A3B',
|
| 90 |
+
systemPrompt: 'You are a data analysis expert. Help users understand data patterns, create visualizations, and provide statistical insights.',
|
| 91 |
+
temperature: 0.2,
|
| 92 |
+
maxTokens: 1200,
|
| 93 |
+
isOfficial: true,
|
| 94 |
+
createdAt: '2024-01-18',
|
| 95 |
+
icon: '📊',
|
| 96 |
+
usageCount: 567,
|
| 97 |
+
rating: 4.9
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
id: 'language-tutor',
|
| 101 |
+
name: 'Language Learning Tutor',
|
| 102 |
+
description: 'Interactive language tutor for vocabulary, grammar, and conversation practice. Supports multiple languages.',
|
| 103 |
+
author: 'Community',
|
| 104 |
+
category: 'Education',
|
| 105 |
+
tags: ['language', 'learning', 'education'],
|
| 106 |
+
model: 'Qwen/Qwen3-30B-A3B',
|
| 107 |
+
systemPrompt: 'You are a friendly language tutor. Help users learn languages through interactive exercises, explanations, and conversation practice.',
|
| 108 |
+
temperature: 0.6,
|
| 109 |
+
maxTokens: 800,
|
| 110 |
+
isOfficial: false,
|
| 111 |
+
createdAt: '2024-01-20',
|
| 112 |
+
icon: '🌐',
|
| 113 |
+
usageCount: 423,
|
| 114 |
+
rating: 4.5
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
id: 'business-advisor',
|
| 118 |
+
name: 'Business Strategy Advisor',
|
| 119 |
+
description: 'Provides strategic business advice, market analysis, and growth recommendations for entrepreneurs and businesses.',
|
| 120 |
+
author: 'EdgeLLM Team',
|
| 121 |
+
category: 'Business',
|
| 122 |
+
tags: ['strategy', 'business', 'consulting'],
|
| 123 |
+
model: 'Qwen/Qwen3-30B-A3B',
|
| 124 |
+
systemPrompt: 'You are a business strategy consultant. Provide strategic advice, market insights, and growth recommendations based on business principles.',
|
| 125 |
+
temperature: 0.4,
|
| 126 |
+
maxTokens: 1000,
|
| 127 |
+
isOfficial: true,
|
| 128 |
+
createdAt: '2024-01-22',
|
| 129 |
+
icon: '💼',
|
| 130 |
+
usageCount: 789,
|
| 131 |
+
rating: 4.7
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
id: 'research-assistant',
|
| 135 |
+
name: 'Research Assistant',
|
| 136 |
+
description: 'Helps with academic and professional research, source analysis, and comprehensive report writing.',
|
| 137 |
+
author: 'Community',
|
| 138 |
+
category: 'Research',
|
| 139 |
+
tags: ['research', 'academic', 'analysis'],
|
| 140 |
+
model: 'Qwen/Qwen3-30B-A3B',
|
| 141 |
+
systemPrompt: 'You are a research assistant. Help users conduct thorough research, analyze sources, and organize findings into comprehensive reports.',
|
| 142 |
+
temperature: 0.3,
|
| 143 |
+
maxTokens: 1200,
|
| 144 |
+
isOfficial: false,
|
| 145 |
+
createdAt: '2024-01-25',
|
| 146 |
+
icon: '📚',
|
| 147 |
+
usageCount: 356,
|
| 148 |
+
rating: 4.4
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
id: 'math-tutor',
|
| 152 |
+
name: 'Math & Science Tutor',
|
| 153 |
+
description: 'Expert tutor for mathematics, physics, chemistry, and other STEM subjects with step-by-step explanations.',
|
| 154 |
+
author: 'EdgeLLM Team',
|
| 155 |
+
category: 'Education',
|
| 156 |
+
tags: ['math', 'science', 'tutoring'],
|
| 157 |
+
model: 'Qwen/Qwen3-30B-A3B',
|
| 158 |
+
systemPrompt: 'You are a math and science tutor. Provide clear, step-by-step explanations for mathematical and scientific concepts.',
|
| 159 |
+
temperature: 0.2,
|
| 160 |
+
maxTokens: 1000,
|
| 161 |
+
isOfficial: true,
|
| 162 |
+
createdAt: '2024-01-28',
|
| 163 |
+
icon: '🔬',
|
| 164 |
+
usageCount: 678,
|
| 165 |
+
rating: 4.8
|
| 166 |
}
|
| 167 |
]
|
| 168 |
}
|
|
|
|
| 172 |
const [isOnline, setIsOnline] = useState(false)
|
| 173 |
const [communityTemplates] = useState<CommunityTemplate[]>(getCommunityTemplates())
|
| 174 |
const [likedTemplates, setLikedTemplates] = useState<string[]>([])
|
| 175 |
+
const [searchQuery, setSearchQuery] = useState('')
|
| 176 |
+
const [selectedCategory, setSelectedCategory] = useState<string>('All')
|
| 177 |
|
| 178 |
useEffect(() => {
|
| 179 |
checkSystemStatus()
|
|
|
|
| 222 |
navigate('/playground')
|
| 223 |
}
|
| 224 |
|
| 225 |
+
// Filter templates based on search and category
|
| 226 |
+
const filteredTemplates = communityTemplates.filter(template => {
|
| 227 |
+
const matchesSearch = template.name.toLowerCase().includes(searchQuery.toLowerCase()) ||
|
| 228 |
+
template.description.toLowerCase().includes(searchQuery.toLowerCase()) ||
|
| 229 |
+
template.tags.some(tag => tag.toLowerCase().includes(searchQuery.toLowerCase()))
|
| 230 |
+
const matchesCategory = selectedCategory === 'All' || template.category === selectedCategory
|
| 231 |
+
return matchesSearch && matchesCategory
|
| 232 |
+
})
|
| 233 |
+
|
| 234 |
+
const featuredTemplates = filteredTemplates.filter(t => t.isOfficial)
|
| 235 |
+
const trendingTemplates = [...filteredTemplates].sort((a, b) => b.usageCount - a.usageCount).slice(0, 6)
|
| 236 |
+
const categories = ['All', ...Array.from(new Set(communityTemplates.map(t => t.category)))]
|
| 237 |
|
| 238 |
return (
|
| 239 |
<div className="min-h-screen bg-background">
|
| 240 |
+
{/* Header */}
|
| 241 |
+
<div className="sticky top-0 z-40 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
|
| 242 |
+
<div className="max-w-6xl mx-auto px-6 py-4">
|
| 243 |
+
<div className="flex items-center justify-between">
|
| 244 |
+
<div className="flex items-center gap-4">
|
|
|
|
|
|
|
|
|
|
| 245 |
<div className="flex items-center gap-2">
|
| 246 |
+
<div className="w-8 h-8 bg-blue-600 rounded-lg flex items-center justify-center">
|
| 247 |
+
<Brain className="h-5 w-5 text-white" />
|
| 248 |
+
</div>
|
| 249 |
+
<h1 className="text-xl font-bold text-gray-900">Assistant Templates</h1>
|
| 250 |
<Badge variant={isOnline ? "default" : "secondary"} className="text-xs">
|
| 251 |
{isOnline ? 'Online' : 'Offline'}
|
| 252 |
</Badge>
|
| 253 |
</div>
|
| 254 |
</div>
|
| 255 |
+
<Button onClick={() => navigate('/playground')} className="flex items-center gap-2">
|
| 256 |
+
<Bot className="h-4 w-4" />
|
| 257 |
+
Create Assistant
|
| 258 |
+
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 259 |
</div>
|
| 260 |
</div>
|
| 261 |
</div>
|
| 262 |
|
| 263 |
+
<div className="max-w-6xl mx-auto px-6 py-8">
|
| 264 |
+
{/* Hero Section */}
|
| 265 |
+
<div className="text-center mb-12">
|
| 266 |
+
<h1 className="text-4xl font-bold text-gray-900 mb-4">
|
| 267 |
+
Explore AI Assistants
|
| 268 |
+
</h1>
|
| 269 |
+
<p className="text-lg text-gray-600 max-w-2xl mx-auto mb-8">
|
| 270 |
+
Discover, customize and deploy specialized AI assistants. Start with proven templates or build from scratch.
|
| 271 |
+
</p>
|
| 272 |
+
|
| 273 |
+
{/* Search Bar */}
|
| 274 |
+
<div className="relative max-w-2xl mx-auto mb-8">
|
| 275 |
+
<Search className="absolute left-4 top-1/2 transform -translate-y-1/2 text-gray-400 h-5 w-5" />
|
| 276 |
+
<Input
|
| 277 |
+
type="text"
|
| 278 |
+
placeholder="Search assistants..."
|
| 279 |
+
value={searchQuery}
|
| 280 |
+
onChange={(e) => setSearchQuery(e.target.value)}
|
| 281 |
+
className="pl-12 pr-4 py-3 text-lg rounded-full border-2 border-gray-200 focus:border-blue-500"
|
| 282 |
+
/>
|
| 283 |
+
</div>
|
| 284 |
|
| 285 |
+
{/* Category Filters */}
|
| 286 |
+
<div className="flex flex-wrap justify-center gap-2 mb-8">
|
| 287 |
+
{categories.map((category) => (
|
| 288 |
+
<Button
|
| 289 |
+
key={category}
|
| 290 |
+
variant={selectedCategory === category ? "default" : "outline"}
|
| 291 |
+
size="sm"
|
| 292 |
+
onClick={() => setSelectedCategory(category)}
|
| 293 |
+
className="rounded-full"
|
| 294 |
+
>
|
| 295 |
+
{category}
|
| 296 |
+
</Button>
|
| 297 |
+
))}
|
| 298 |
+
</div>
|
| 299 |
+
</div>
|
| 300 |
|
| 301 |
+
{/* Featured Section */}
|
| 302 |
+
{selectedCategory === 'All' && featuredTemplates.length > 0 && (
|
| 303 |
+
<div className="mb-12">
|
| 304 |
+
<div className="flex items-center gap-2 mb-6">
|
| 305 |
+
<Crown className="h-5 w-5 text-yellow-600" />
|
| 306 |
+
<h2 className="text-2xl font-bold text-gray-900">Featured</h2>
|
| 307 |
+
<Badge variant="secondary" className="text-xs">
|
| 308 |
+
Curated by EdgeLLM Team
|
| 309 |
+
</Badge>
|
| 310 |
+
</div>
|
| 311 |
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 312 |
+
{featuredTemplates.slice(0, 3).map((template) => (
|
| 313 |
+
<TemplateCard
|
| 314 |
+
key={template.id}
|
| 315 |
+
template={template}
|
| 316 |
+
isLiked={likedTemplates.includes(template.id)}
|
| 317 |
+
onLike={() => toggleLikeTemplate(template.id)}
|
| 318 |
+
onUse={() => useTemplate(template)}
|
| 319 |
+
featured={true}
|
| 320 |
+
/>
|
| 321 |
+
))}
|
| 322 |
+
</div>
|
| 323 |
+
</div>
|
| 324 |
+
)}
|
| 325 |
|
| 326 |
+
{/* Trending Section */}
|
| 327 |
+
{selectedCategory === 'All' && (
|
| 328 |
+
<div className="mb-12">
|
| 329 |
+
<div className="flex items-center gap-2 mb-6">
|
| 330 |
+
<TrendingUp className="h-5 w-5 text-green-600" />
|
| 331 |
+
<h2 className="text-2xl font-bold text-gray-900">Trending</h2>
|
| 332 |
+
<Badge variant="secondary" className="text-xs">
|
| 333 |
+
Most popular this week
|
| 334 |
+
</Badge>
|
| 335 |
+
</div>
|
| 336 |
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 337 |
+
{trendingTemplates.slice(0, 6).map((template) => (
|
| 338 |
+
<TemplateCard
|
| 339 |
+
key={template.id}
|
| 340 |
+
template={template}
|
| 341 |
+
isLiked={likedTemplates.includes(template.id)}
|
| 342 |
+
onLike={() => toggleLikeTemplate(template.id)}
|
| 343 |
+
onUse={() => useTemplate(template)}
|
| 344 |
+
trending={true}
|
| 345 |
+
/>
|
| 346 |
+
))}
|
| 347 |
+
</div>
|
| 348 |
+
</div>
|
| 349 |
+
)}
|
| 350 |
|
| 351 |
+
{/* All Templates Section */}
|
| 352 |
+
<div className="mb-12">
|
| 353 |
+
<div className="flex items-center gap-2 mb-6">
|
| 354 |
+
<Users className="h-5 w-5 text-blue-600" />
|
| 355 |
+
<h2 className="text-2xl font-bold text-gray-900">
|
| 356 |
+
{selectedCategory === 'All' ? 'All Templates' : selectedCategory}
|
| 357 |
+
</h2>
|
| 358 |
+
<Badge variant="outline" className="text-xs">
|
| 359 |
+
{filteredTemplates.length} available
|
| 360 |
+
</Badge>
|
| 361 |
+
</div>
|
| 362 |
+
|
| 363 |
+
{filteredTemplates.length > 0 ? (
|
| 364 |
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 365 |
+
{filteredTemplates.map((template) => (
|
| 366 |
+
<TemplateCard
|
| 367 |
+
key={template.id}
|
| 368 |
+
template={template}
|
| 369 |
+
isLiked={likedTemplates.includes(template.id)}
|
| 370 |
+
onLike={() => toggleLikeTemplate(template.id)}
|
| 371 |
+
onUse={() => useTemplate(template)}
|
| 372 |
+
/>
|
| 373 |
+
))}
|
| 374 |
+
</div>
|
| 375 |
+
) : (
|
| 376 |
+
<Card className="p-12 text-center">
|
| 377 |
+
<div className="flex flex-col items-center gap-4">
|
| 378 |
+
<Search className="h-12 w-12 text-gray-400" />
|
| 379 |
+
<div>
|
| 380 |
+
<h3 className="text-lg font-medium text-gray-900 mb-2">No templates found</h3>
|
| 381 |
+
<p className="text-gray-600">
|
| 382 |
+
Try adjusting your search or category filters
|
| 383 |
</p>
|
| 384 |
+
</div>
|
| 385 |
+
<Button variant="outline" onClick={() => {
|
| 386 |
+
setSearchQuery('')
|
| 387 |
+
setSelectedCategory('All')
|
| 388 |
+
}}>
|
| 389 |
+
Clear filters
|
| 390 |
+
</Button>
|
| 391 |
+
</div>
|
| 392 |
+
</Card>
|
| 393 |
+
)}
|
| 394 |
</div>
|
| 395 |
</div>
|
| 396 |
</div>
|
| 397 |
)
|
| 398 |
}
|
| 399 |
|
| 400 |
+
// Template Card Component
|
| 401 |
+
function TemplateCard({
|
| 402 |
template,
|
| 403 |
isLiked,
|
| 404 |
onLike,
|
| 405 |
onUse,
|
| 406 |
+
featured = false,
|
| 407 |
+
trending = false
|
| 408 |
}: {
|
| 409 |
template: CommunityTemplate
|
| 410 |
isLiked: boolean
|
| 411 |
onLike: () => void
|
| 412 |
onUse: () => void
|
| 413 |
featured?: boolean
|
| 414 |
+
trending?: boolean
|
| 415 |
}) {
|
| 416 |
return (
|
| 417 |
+
<Card className="group hover:shadow-xl transition-all duration-300 hover:-translate-y-1 border-2 hover:border-blue-200 relative">
|
| 418 |
+
{featured && (
|
| 419 |
+
<div className="absolute -top-2 -right-2 bg-yellow-500 text-white text-xs px-2 py-1 rounded-full font-medium flex items-center gap-1">
|
| 420 |
+
<Crown className="h-3 w-3" />
|
| 421 |
+
Featured
|
| 422 |
+
</div>
|
| 423 |
+
)}
|
| 424 |
+
{trending && (
|
| 425 |
+
<div className="absolute -top-2 -right-2 bg-green-500 text-white text-xs px-2 py-1 rounded-full font-medium flex items-center gap-1">
|
| 426 |
+
<TrendingUp className="h-3 w-3" />
|
| 427 |
+
Trending
|
| 428 |
+
</div>
|
| 429 |
+
)}
|
| 430 |
+
|
| 431 |
+
<CardHeader className="pb-4">
|
| 432 |
<div className="flex items-start justify-between">
|
| 433 |
+
<div className="flex items-center gap-3">
|
| 434 |
+
<div className="w-12 h-12 bg-gradient-to-br from-blue-500 to-purple-600 rounded-xl flex items-center justify-center text-2xl">
|
| 435 |
+
{template.icon}
|
| 436 |
+
</div>
|
| 437 |
+
<div>
|
| 438 |
+
<CardTitle className="text-lg group-hover:text-blue-600 transition-colors">
|
| 439 |
+
{template.name}
|
| 440 |
+
</CardTitle>
|
| 441 |
+
<div className="flex items-center gap-2 mt-1">
|
| 442 |
+
<p className="text-sm text-blue-600 font-medium">by {template.author}</p>
|
| 443 |
+
{template.isOfficial && (
|
| 444 |
+
<Badge variant="default" className="text-xs px-2 py-0 bg-blue-600">
|
| 445 |
+
<Award className="h-3 w-3 mr-1" />
|
| 446 |
+
Official
|
| 447 |
+
</Badge>
|
| 448 |
+
)}
|
| 449 |
+
</div>
|
| 450 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 451 |
</div>
|
| 452 |
<Button
|
| 453 |
variant="ghost"
|
| 454 |
size="sm"
|
| 455 |
onClick={onLike}
|
| 456 |
+
className={`${isLiked ? "text-red-500" : "text-gray-400 hover:text-red-500"} transition-colors`}
|
| 457 |
title={isLiked ? "Unlike" : "Like"}
|
| 458 |
>
|
| 459 |
<Heart className={`h-4 w-4 ${isLiked ? 'fill-current' : ''}`} />
|
| 460 |
</Button>
|
| 461 |
</div>
|
| 462 |
</CardHeader>
|
| 463 |
+
|
| 464 |
<CardContent className="space-y-4">
|
| 465 |
+
<p className="text-sm text-gray-600 line-clamp-2 leading-relaxed">
|
| 466 |
+
{template.description}
|
| 467 |
+
</p>
|
| 468 |
+
|
| 469 |
{/* Tags */}
|
| 470 |
+
<div className="flex flex-wrap gap-2">
|
| 471 |
{template.tags.slice(0, 3).map((tag) => (
|
| 472 |
+
<Badge key={tag} variant="secondary" className="text-xs bg-gray-100 hover:bg-gray-200 transition-colors">
|
| 473 |
{tag}
|
| 474 |
</Badge>
|
| 475 |
))}
|
| 476 |
</div>
|
| 477 |
+
|
| 478 |
+
{/* Stats */}
|
| 479 |
+
<div className="flex items-center justify-between text-sm text-gray-500">
|
| 480 |
+
<div className="flex items-center gap-4">
|
| 481 |
+
<div className="flex items-center gap-1">
|
| 482 |
+
<Eye className="h-4 w-4" />
|
| 483 |
+
<span>{template.usageCount.toLocaleString()}</span>
|
| 484 |
+
</div>
|
| 485 |
+
<div className="flex items-center gap-1">
|
| 486 |
+
<Star className="h-4 w-4 text-yellow-500 fill-current" />
|
| 487 |
+
<span>{template.rating}</span>
|
| 488 |
+
</div>
|
| 489 |
</div>
|
| 490 |
+
<Badge variant="outline" className="text-xs">
|
| 491 |
+
{template.category}
|
| 492 |
+
</Badge>
|
| 493 |
</div>
|
| 494 |
+
|
| 495 |
+
{/* Action Button */}
|
| 496 |
+
<div className="pt-2">
|
| 497 |
+
<Button
|
| 498 |
+
onClick={onUse}
|
| 499 |
+
className="w-full group-hover:bg-blue-600 group-hover:text-white transition-all"
|
| 500 |
+
variant="outline"
|
| 501 |
+
>
|
| 502 |
+
<MessageSquare className="h-4 w-4 mr-2" />
|
| 503 |
Build Assistant
|
| 504 |
</Button>
|
| 505 |
</div>
|
|
The diff for this file is too large to render.
See raw diff
|
|
|
|
The diff for this file is too large to render.
See raw diff
|
|
|
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 221.2 83.2% 53.3%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96%;--secondary-foreground: 222.2 84% 4.9%;--muted: 210 40% 96%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96%;--accent-foreground: 222.2 84% 4.9%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 221.2 83.2% 53.3%;--radius: .5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-right-2{right:-.5rem}.-top-2{top:-.5rem}.left-0{left:0}.left-2{left:.5rem}.left-4{left:1rem}.left-\[50\%\]{left:50%}.top-0{top:0}.top-1\/2,.top-\[50\%\]{top:50%}.z-40{z-index:40}.z-50{z-index:50}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-96{max-height:24rem}.min-h-\[250px\]{min-height:250px}.min-h-\[60px\]{min-height:60px}.min-h-\[80px\]{min-height:80px}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-80{width:20rem}.w-\[480px\]{width:480px}.w-full{width:100%}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.max-w-2xl{max-width:42rem}.max-w-6xl{max-width:72rem}.max-w-\[300px\]{max-width:300px}.max-w-\[75\%\]{max-width:75%}.max-w-\[80\%\]{max-width:80%}.max-w-lg{max-width:32rem}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-4{border-left-width:4px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-input{border-color:hsl(var(--input))}.border-muted{border-color:hsl(var(--muted))}.border-primary{border-color:hsl(var(--primary))}.border-transparent{border-color:transparent}.bg-accent{background-color:hsl(var(--accent))}.bg-background{background-color:hsl(var(--background))}.bg-background\/50{background-color:hsl(var(--background) / .5)}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-background\/95{background-color:hsl(var(--background) / .95)}.bg-black\/50{background-color:#00000080}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\/50{background-color:#eff6ff80}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted) / .3)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-purple-600{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.fill-current{fill:currentColor}.p-0{padding:0}.p-1{padding:.25rem}.p-12{padding:3rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-12{padding-left:3rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-6{padding-top:1.5rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity, 1))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity, 1))}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.last\:mb-0:last-child{margin-bottom:0}.hover\:-translate-y-1:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-blue-200:hover{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-destructive:hover{color:hsl(var(--destructive))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-blue-400:focus{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity, 1))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(219 234 254 / var(--tw-ring-opacity, 1))}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.group:hover .group-hover\:text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}@supports (backdrop-filter: var(--tw)){.supports-\[backdrop-filter\]\:bg-background\/60{background-color:hsl(var(--background) / .6)}}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:inline{display:inline}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.lg\:static{position:static}.lg\:inset-0{top:0;right:0;bottom:0;left:0}.lg\:hidden{display:none}.lg\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:w-\[520px\]{width:520px}}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}
|
|
@@ -5,8 +5,8 @@
|
|
| 5 |
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>Edge LLM</title>
|
| 8 |
-
<script type="module" crossorigin src="/assets/index-
|
| 9 |
-
<link rel="stylesheet" href="/assets/index-
|
| 10 |
</head>
|
| 11 |
<body>
|
| 12 |
<div id="root"></div>
|
|
|
|
| 5 |
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>Edge LLM</title>
|
| 8 |
+
<script type="module" crossorigin src="/assets/index-376d7ec8.js"></script>
|
| 9 |
+
<link rel="stylesheet" href="/assets/index-54380fe5.css">
|
| 10 |
</head>
|
| 11 |
<body>
|
| 12 |
<div id="root"></div>
|