|
| 1 | +import React from 'react'; |
| 2 | +import ButtonLink from '../ButtonLink'; |
| 3 | +import { useTheme } from 'next-themes'; |
| 4 | + |
| 5 | +export default function Hero() { |
| 6 | + const { theme } = useTheme(); |
| 7 | + |
| 8 | + return ( |
| 9 | + <div |
| 10 | + className="overflow-hidden -mb-32 mt-[-4.5rem] pb-32 pt-[4.5rem] lg:mt-[-4.75rem] lg:pt-[4.75rem]" |
| 11 | + id="hero" |
| 12 | + > |
| 13 | + <div className="py-16 sm:px-2 lg:relative lg:py-20 lg:px-0"> |
| 14 | + <div className="mx-auto max-w-2xl px-4 lg:max-w-8xl lg:px-8 xl:px-12"> |
| 15 | + <div className="relative mb-10 lg:mb-0 text-center"> |
| 16 | + <h1 className="inline bg-gradient-to-r from-blue-500 via-blue-300 to-blue-500 bg-clip-text text-5xl tracking-tight text-transparent"> |
| 17 | + OpenMetadata & PortalJS |
| 18 | + </h1> |
| 19 | + <p className="mt-8 text-xl tracking-tight text-slate-400"> |
| 20 | + Transform OpenMetadata's technical interface into user-friendly, customized data catalogs for business users. |
| 21 | + </p> |
| 22 | + |
| 23 | + <div className="flex flex-col sm:flex-row items-center justify-center gap-4 mt-8"> |
| 24 | + <ButtonLink |
| 25 | + href="https://calendar.app.google/sn2PU7ZvzjCPo1ok6" |
| 26 | + title="Book a Free Consultation" |
| 27 | + className="text-sm" |
| 28 | + > |
| 29 | + Book a Free Consultation |
| 30 | + </ButtonLink> |
| 31 | + </div> |
| 32 | + |
| 33 | + <div className="mt-16 mb-12 flex flex-col md:flex-row items-center justify-center gap-8"> |
| 34 | + <div className="bg-slate-800 dark:bg-slate-900 p-6 rounded-xl shadow-xl w-full md:w-1/2 relative"> |
| 35 | + <div className="absolute -top-4 left-1/2 transform -translate-x-1/2 bg-red-500 text-white text-xs px-2 py-1 rounded-full"> |
| 36 | + Without PortalJS |
| 37 | + </div> |
| 38 | + <h3 className="text-white text-lg mb-4">Technical OpenMetadata UI</h3> |
| 39 | + <ul className="text-left text-slate-300 text-sm space-y-2"> |
| 40 | + <li className="flex items-start"> |
| 41 | + <span className="mr-2">❌</span> |
| 42 | + <span>Complex, developer-oriented UI</span> |
| 43 | + </li> |
| 44 | + <li className="flex items-start"> |
| 45 | + <span className="mr-2">❌</span> |
| 46 | + <span>Hard for business users to explore metadata</span> |
| 47 | + </li> |
| 48 | + <li className="flex items-start"> |
| 49 | + <span className="mr-2">❌</span> |
| 50 | + <span>Limited frontend customization</span> |
| 51 | + </li> |
| 52 | + </ul> |
| 53 | + </div> |
| 54 | + |
| 55 | + <div className="bg-slate-100 dark:bg-slate-800 p-6 rounded-xl shadow-xl w-full md:w-1/2 relative"> |
| 56 | + <div className="absolute -top-4 left-1/2 transform -translate-x-1/2 bg-green-500 text-white text-xs px-2 py-1 rounded-full"> |
| 57 | + With PortalJS |
| 58 | + </div> |
| 59 | + <h3 className="text-slate-800 dark:text-white text-lg mb-4">Business-Friendly UI</h3> |
| 60 | + <ul className="text-left text-slate-700 dark:text-slate-300 text-sm space-y-2"> |
| 61 | + <li className="flex items-start"> |
| 62 | + <span className="mr-2">✅</span> |
| 63 | + <span>Clean, user-friendly experience</span> |
| 64 | + </li> |
| 65 | + <li className="flex items-start"> |
| 66 | + <span className="mr-2">✅</span> |
| 67 | + <span>Tailored portals for every department</span> |
| 68 | + </li> |
| 69 | + <li className="flex items-start"> |
| 70 | + <span className="mr-2">✅</span> |
| 71 | + <span>Fully customizable interface & workflows</span> |
| 72 | + </li> |
| 73 | + </ul> |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + |
| 77 | + </div> |
| 78 | + </div> |
| 79 | + </div> |
| 80 | + </div> |
| 81 | + ); |
| 82 | +} |
0 commit comments