diff --git a/frontend/src/pages/Home/sections/TechnogenSection.tsx b/frontend/src/pages/Home/sections/TechnogenSection.tsx index ab1cd80..23e4ff9 100644 --- a/frontend/src/pages/Home/sections/TechnogenSection.tsx +++ b/frontend/src/pages/Home/sections/TechnogenSection.tsx @@ -1,6 +1,6 @@ import { useState, useEffect } from 'react' import { motion, AnimatePresence } from 'framer-motion' -import { Download, FileText, ExternalLink, Sparkles, X, Eye, BookOpen, Layers } from 'lucide-react' +import { Download, FileText, ExternalLink, X, Eye, BookOpen } from 'lucide-react' import { useLang } from '@/context/LangContext' import { FALLBACK_TECHNOGEN_REPORTS, type TechnogenReport } from '@/data/technogen' @@ -26,9 +26,7 @@ export default function TechnogenSection() { setReports(data) } }) - .catch(() => { - // use fallback reports seamlessly - }) + .catch(() => {}) return () => { unmounted = true } @@ -54,336 +52,217 @@ export default function TechnogenSection() { background: 'var(--paper)', borderTop: '1px solid var(--rule-thin)', borderBottom: '1px solid var(--rule-thin)', - padding: '72px 0 88px', + padding: '44px 0 52px', position: 'relative', overflow: 'hidden', }} > - {/* Background ambient lighting */} -
- - -- {isFa ? featured.descriptionFa : (featured.descriptionEn || featured.descriptionFa)} + {isFa ? featured.subtitleFa : (featured.subtitleEn || featured.subtitleFa)}
)} - {/* Action Buttons */} + {/* Actions */}{isFa ? note.subtitleFa : (note.subtitleEn || note.subtitleFa)}
)} +