Spaces:
Build error
Build error
Upload components/QuickAccess.js with huggingface_hub
Browse files- components/QuickAccess.js +77 -0
components/QuickAccess.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Link from 'next/link'
|
| 2 |
+
import { HiBookOpen, HiLightningBolt, HiDocumentText, HiAcademicCap } from 'react-icons/hi'
|
| 3 |
+
|
| 4 |
+
export default function QuickAccess() {
|
| 5 |
+
const quickAccessItems = [
|
| 6 |
+
{
|
| 7 |
+
title: 'Biblioteca de Prompts',
|
| 8 |
+
description: 'Mais de 50 prompts organizados por categoria',
|
| 9 |
+
icon: HiBookOpen,
|
| 10 |
+
href: '/prompts',
|
| 11 |
+
color: 'bg-blue-500',
|
| 12 |
+
highlight: true
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
title: 'Prompts Jurídicos',
|
| 16 |
+
description: 'Peticionamento, contratos e análises legais',
|
| 17 |
+
icon: HiDocumentText,
|
| 18 |
+
href: '/prompts?tag=juridico',
|
| 19 |
+
color: 'bg-green-500'
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
title: 'Concursos Públicos',
|
| 23 |
+
description: 'Estratégias de estudo e simulados com IA',
|
| 24 |
+
icon: HiAcademicCap,
|
| 25 |
+
href: '/prompts?tag=concurso',
|
| 26 |
+
color: 'bg-purple-500'
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
title: 'Gestão Administrativa',
|
| 30 |
+
description: 'Organização e otimização de processos',
|
| 31 |
+
icon: HiLightningBolt,
|
| 32 |
+
href: '/prompts?tag=administrativo',
|
| 33 |
+
color: 'bg-orange-500'
|
| 34 |
+
}
|
| 35 |
+
]
|
| 36 |
+
|
| 37 |
+
return (
|
| 38 |
+
<section className="py-16 bg-white">
|
| 39 |
+
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 40 |
+
<div className="text-center mb-12">
|
| 41 |
+
<h2 className="text-3xl lg:text-4xl font-bold text-gray-900 mb-4">
|
| 42 |
+
Acesso Rápido aos Melhores Recursos
|
| 43 |
+
</h2>
|
| 44 |
+
<p className="text-xl text-gray-600 max-w-3xl mx-auto">
|
| 45 |
+
Encontre rapidamente o que você precisa para transformar sua prática profissional
|
| 46 |
+
</p>
|
| 47 |
+
</div>
|
| 48 |
+
|
| 49 |
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
|
| 50 |
+
{quickAccessItems.map((item, index) => (
|
| 51 |
+
<Link
|
| 52 |
+
key={index}
|
| 53 |
+
href={item.href}
|
| 54 |
+
className={`card p-6 group hover:scale-105 transition-all duration-300 ${
|
| 55 |
+
item.highlight ? 'ring-2 ring-primary-500 ring-opacity-50' : ''
|
| 56 |
+
}`}
|
| 57 |
+
>
|
| 58 |
+
<div className="text-center">
|
| 59 |
+
<div className={`${item.color} w-16 h-16 rounded-xl flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform duration-300`}>
|
| 60 |
+
<item.icon className="h-8 w-8 text-white" />
|
| 61 |
+
</div>
|
| 62 |
+
|
| 63 |
+
<h3 className="text-lg font-semibold text-gray-900 mb-2 group-hover:text-primary-600 transition-colors duration-200">
|
| 64 |
+
{item.title}
|
| 65 |
+
</h3>
|
| 66 |
+
|
| 67 |
+
<p className="text-gray-600 text-sm leading-relaxed">
|
| 68 |
+
{item.description}
|
| 69 |
+
</p>
|
| 70 |
+
</div>
|
| 71 |
+
</Link>
|
| 72 |
+
))}
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</section>
|
| 76 |
+
)
|
| 77 |
+
}
|