Download FeaturesGrid.tsx from Akshat394/STUDIO_AI: direct link, hf CLI and curl.
- Browser
- Download file 1.66 kB
-
https://huggingface.co/spaces/Akshat394/STUDIO_AI/resolve/main/FeaturesGrid.tsx
- Command line
-
hf download hf://spaces/Akshat394/STUDIO_AI/FeaturesGrid.tsx
-
curl -L -o FeaturesGrid.tsx https://huggingface.co/spaces/Akshat394/STUDIO_AI/resolve/main/FeaturesGrid.tsx
1.66 kB
| import React from "react"; | |
| interface Feature { | |
| title: string; | |
| description: string; | |
| icon: React.ReactNode; | |
| } | |
| const FeaturesGrid: React.FC<{ features: Feature[] }> = ({ features }) => ( | |
| <div className="flex flex-col items-center gap-4"> | |
| <h2 className="text-lg font-semibold text-white mb-0 | |
| bg-gradient-to-r from-[#7f7fd5] via-[#43e97b] to-[#f7971e] bg-clip-text text-transparent animate-fade-in" | |
| style={{ WebkitTextStroke: '0.5px #222' }}> | |
| Your YouTube automation studio, powered by AI | |
| </h2> | |
| <div className="grid grid-cols-1 sm:grid-cols-2 gap-4 w-full"> | |
| {features.map((feature, idx) => ( | |
| <div | |
| key={feature.title} | |
| className="flex items-start gap-3 p-2 bg-gradient-to-br from-[#27274c]/80 via-[#101028]/90 to-[#20184c]/85 rounded-xl hover:shadow-lg | |
| border border-[#38f9d7]/10 h-full relative transition-all" | |
| style={{ | |
| boxShadow: | |
| idx % 2 === 0 | |
| ? "0 2px 16px 0px #ffd20033" | |
| : "0 3px 12px 2px #38f9d722" | |
| }} | |
| > | |
| <span | |
| className="flex-shrink-0 p-2 rounded-lg bg-gradient-to-br from-[#ffd200]/30 to-[#7f7fd5]/30 shadow-sm" | |
| > | |
| {feature.icon} | |
| </span> | |
| <div> | |
| <div className="font-semibold text-white drop-shadow"> | |
| {feature.title} | |
| </div> | |
| <div className="text-sm text-[#f3f3f3] opacity-90"> | |
| {feature.description} | |
| </div> | |
| </div> | |
| </div> | |
| ))} | |
| </div> | |
| </div> | |
| ); | |
| export default FeaturesGrid; |