|
| 1 | +import Link, { Target } from '@components/Link'; |
| 2 | +import { cn } from '@utils/cn'; |
| 3 | +import { FaExclamationTriangle } from 'react-icons/fa'; |
| 4 | + |
| 5 | +export const ShutdownBanner = () => { |
| 6 | + return ( |
| 7 | + <div |
| 8 | + className="fixed left-0 right-0 top-0 w-full px-16 py-12 sm:px-24" |
| 9 | + style={{ |
| 10 | + zIndex: 9999, |
| 11 | + backgroundColor: '#7f1d1d', |
| 12 | + borderBottom: '1px solid #dc2626', |
| 13 | + }} |
| 14 | + > |
| 15 | + <div className="mx-auto flex max-w-[1300px] items-center justify-center gap-12 text-center sm:gap-16"> |
| 16 | + <FaExclamationTriangle |
| 17 | + className="hidden shrink-0 sm:block" |
| 18 | + style={{ width: '20px', height: '20px', color: '#fbbf24' }} |
| 19 | + /> |
| 20 | + |
| 21 | + <div className="flex flex-col gap-4 sm:flex-row sm:items-center sm:gap-8"> |
| 22 | + <div className="flex items-center gap-8 sm:hidden"> |
| 23 | + <FaExclamationTriangle |
| 24 | + className="shrink-0" |
| 25 | + style={{ width: '16px', height: '16px', color: '#fbbf24' }} |
| 26 | + /> |
| 27 | + <span |
| 28 | + className="tracking-wide font-plex-sans text-14 font-bold uppercase sm:text-15" |
| 29 | + style={{ color: '#fbbf24' }} |
| 30 | + > |
| 31 | + Service Shutdown Notice |
| 32 | + </span> |
| 33 | + </div> |
| 34 | + |
| 35 | + <span |
| 36 | + className="tracking-wide hidden font-plex-sans text-14 font-bold uppercase sm:block sm:text-15" |
| 37 | + style={{ color: '#fbbf24' }} |
| 38 | + > |
| 39 | + Service Shutdown Notice |
| 40 | + </span> |
| 41 | + |
| 42 | + <span |
| 43 | + className="font-plex-sans text-13 font-medium leading-relaxed sm:text-14" |
| 44 | + style={{ color: '#ffffff' }} |
| 45 | + > |
| 46 | + Fleek Hosting and Eliza Agents service will be permanently shut down |
| 47 | + on{' '} |
| 48 | + <span className="font-bold" style={{ color: '#fcd34d' }}> |
| 49 | + January 31, 2026 |
| 50 | + </span> |
| 51 | + . All data and access will cease. Migrate your services immediately. |
| 52 | + </span> |
| 53 | + </div> |
| 54 | + |
| 55 | + <Link |
| 56 | + href="https://resources.fleek.xyz/support/" |
| 57 | + target={Target.Blank} |
| 58 | + rel="noopener noreferrer" |
| 59 | + className={cn( |
| 60 | + 'rounded-md hidden shrink-0 px-16 py-8', |
| 61 | + 'font-plex-sans text-13 font-bold transition-all', |
| 62 | + 'sm:block', |
| 63 | + )} |
| 64 | + style={{ |
| 65 | + backgroundColor: '#fbbf24', |
| 66 | + border: '1px solid #fbbf24', |
| 67 | + color: '#7f1d1d', |
| 68 | + }} |
| 69 | + > |
| 70 | + Learn More |
| 71 | + </Link> |
| 72 | + </div> |
| 73 | + |
| 74 | + {/* Mobile button */} |
| 75 | + <div className="mt-12 flex justify-center sm:hidden"> |
| 76 | + <Link |
| 77 | + href="https://fleek.xyz/support" |
| 78 | + target={Target.Blank} |
| 79 | + rel="noopener noreferrer" |
| 80 | + className={cn( |
| 81 | + 'rounded-md px-20 py-10', |
| 82 | + 'font-plex-sans text-13 font-bold transition-all', |
| 83 | + )} |
| 84 | + style={{ |
| 85 | + backgroundColor: '#fbbf24', |
| 86 | + border: '1px solid #fbbf24', |
| 87 | + color: '#7f1d1d', |
| 88 | + }} |
| 89 | + > |
| 90 | + Learn More |
| 91 | + </Link> |
| 92 | + </div> |
| 93 | + </div> |
| 94 | + ); |
| 95 | +}; |
0 commit comments