Spaces:
Build error
Build error
Upload components/Credentials.jsx with huggingface_hub
Browse files- components/Credentials.jsx +75 -0
components/Credentials.jsx
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { motion } from 'framer-motion'
|
| 2 |
+
import { useTranslation } from 'react-i18next'
|
| 3 |
+
import { ShieldCheck, Database, Globe } from 'lucide-react'
|
| 4 |
+
|
| 5 |
+
export default function Credentials() {
|
| 6 |
+
const { t } = useTranslation()
|
| 7 |
+
|
| 8 |
+
return (
|
| 9 |
+
<section className="py-24 bg-nordic-navy border-t border-nordic-stone/20">
|
| 10 |
+
<div className="container mx-auto px-6">
|
| 11 |
+
<div className="grid grid-cols-1 lg:grid-cols-2 gap-16 items-center">
|
| 12 |
+
|
| 13 |
+
{/* Left Side: Title Block */}
|
| 14 |
+
<div>
|
| 15 |
+
<motion.div
|
| 16 |
+
initial={{ opacity: 0, x: -20 }}
|
| 17 |
+
whileInView={{ opacity: 1, x: 0 }}
|
| 18 |
+
viewport={{ once: true }}
|
| 19 |
+
className="mb-6"
|
| 20 |
+
>
|
| 21 |
+
<h2 className="text-4xl font-bold text-nordic-ice tracking-tight mb-2">{t('credentials.title')}</h2>
|
| 22 |
+
<div className="flex items-center gap-2 text-nordic-cyan font-mono text-sm">
|
| 23 |
+
<span className="w-2 h-2 bg-nordic-cyan rounded-full animate-pulse" />
|
| 24 |
+
{t('credentials.subtitle')}
|
| 25 |
+
</div>
|
| 26 |
+
</motion.div>
|
| 27 |
+
|
| 28 |
+
<div className="h-px w-full bg-gradient-to-r from-nordic-stone/50 to-transparent mb-8" />
|
| 29 |
+
|
| 30 |
+
<p className="text-nordic-stone text-lg leading-relaxed mb-8">
|
| 31 |
+
My work is built on a foundation of verified certifications and strict adherence to data privacy protocols.
|
| 32 |
+
</p>
|
| 33 |
+
|
| 34 |
+
<button className="text-nordic-ice border-b border-nordic-cyan pb-1 hover:text-nordic-cyan transition-colors font-mono text-sm">
|
| 35 |
+
DOWNLOAD FULL CV (PDF)
|
| 36 |
+
</button>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
{/* Right Side: Data Dossier Grid */}
|
| 40 |
+
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
| 41 |
+
{[
|
| 42 |
+
{ title: t('credentials.section_1'), items: [t('credentials.item_1'), t('credentials.item_2'), t('credentials.item_5')], icon: Database },
|
| 43 |
+
{ title: t('credentials.section_2'), items: [t('credentials.item_3'), t('credentials.item_6')], icon: Globe },
|
| 44 |
+
{ title: t('credentials.section_3'), items: [t('credentials.item_4')], icon: ShieldCheck },
|
| 45 |
+
].map((col, idx) => (
|
| 46 |
+
<motion.div
|
| 47 |
+
key={idx}
|
| 48 |
+
initial={{ opacity: 0, scale: 0.95 }}
|
| 49 |
+
whileInView={{ opacity: 1, scale: 1 }}
|
| 50 |
+
viewport={{ once: true }}
|
| 51 |
+
transition={{ delay: idx * 0.1 }}
|
| 52 |
+
className="bg-nordic-navy border border-nordic-stone/30 p-6 rounded-sm relative overflow-hidden group"
|
| 53 |
+
>
|
| 54 |
+
<div className="absolute top-0 right-0 p-4 opacity-10 group-hover:opacity-20 transition-opacity">
|
| 55 |
+
<col.icon size={48} className="text-nordic-cyan" />
|
| 56 |
+
</div>
|
| 57 |
+
<h4 className="font-mono text-xs text-nordic-cyan mb-4 uppercase tracking-widest border-b border-nordic-stone/20 pb-2">
|
| 58 |
+
{col.title}
|
| 59 |
+
</h4>
|
| 60 |
+
<ul className="space-y-3">
|
| 61 |
+
{col.items.map((item, i) => (
|
| 62 |
+
<li key={i} className="flex items-start gap-2 text-sm text-nordic-ice/80 font-light">
|
| 63 |
+
<span className="mt-1.5 w-1 h-1 bg-nordic-cyan rounded-full flex-shrink-0" />
|
| 64 |
+
{item}
|
| 65 |
+
</li>
|
| 66 |
+
))}
|
| 67 |
+
</ul>
|
| 68 |
+
</motion.div>
|
| 69 |
+
))}
|
| 70 |
+
</div>
|
| 71 |
+
</div>
|
| 72 |
+
</div>
|
| 73 |
+
</section>
|
| 74 |
+
)
|
| 75 |
+
}
|