style: change the static logo to Snigdha OS logo

This commit is contained in:
RiO
2024-12-25 05:38:11 +05:30
parent 74d08e647f
commit 5c013ed131
2 changed files with 35 additions and 9 deletions

View File

@@ -18,13 +18,21 @@ export function FeatureCard({ title, description, icon: Icon, delay = 0 }: Featu
whileHover={{ y: -5 }}
className="relative group"
>
<div className="rounded-xl bg-white/80 backdrop-blur p-8 ring-1 ring-gray-200 hover:ring-cornflower-blue transition-all shadow-lg overflow-hidden">
<div className="absolute inset-0 bg-gradient-to-r from-cornflower-blue/0 to-cornflower-blue/0 group-hover:from-cornflower-blue/5 group-hover:to-cornflower-blue/10 transition-colors" />
<div className="rounded-xl bg-white/90 backdrop-blur-lg p-8 ring-1 ring-gray-200 hover:ring-cornflower-blue transition-all shadow-2xl hover:shadow-cornflower-blue/40 overflow-hidden flex flex-col justify-center items-center">
{/* Hover gradient overlay */}
<div className="absolute inset-0 bg-gradient-to-r from-cornflower-blue/0 to-cornflower-blue/0 group-hover:from-cornflower-blue/10 group-hover:to-cornflower-blue/20 transition-all ease-in-out" />
{/* Icon centered with hover effect */}
<div className="mb-6 flex justify-center items-center">
<Icon className="h-12 w-12 text-cornflower-blue transition-all transform group-hover:scale-105" />
</div>
{/* Title with enhanced typography */}
<h3 className="text-2xl font-bold text-gray-900 mb-3 text-center">{title}</h3>
<Icon className="h-10 w-10 text-cornflower-blue mb-4" />
<h3 className="text-xl font-semibold text-gray-900 mb-2">{title}</h3>
<p className="text-gray-600">{description}</p>
{/* Description with improved readability */}
<p className="text-lg text-gray-600 text-center">{description}</p>
</div>
</motion.div>
);
}
}

View File

@@ -1,6 +1,6 @@
import { motion } from 'framer-motion';
import { Link } from 'react-router-dom';
import { Download, ChevronRight, Terminal } from 'lucide-react';
import { Download, ChevronRight } from 'lucide-react';
export function HeroSection() {
return (
@@ -22,7 +22,25 @@ export function HeroSection() {
}}
transition={{ duration: 2, repeat: Infinity, repeatDelay: 3 }}
>
<Terminal className="mx-auto h-20 w-20 text-cornflower-blue" />
{/* Custom SVG icon */}
{/* <svg
xmlns="http://www.w3.org/2000/svg"
className="mx-auto h-20 w-20 text-cornflower-blue"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
>
<path d="M3 5h18M3 12h18M3 19h18" />
</svg> */}
<svg xmlns="http://www.w3.org/2000/svg"
className="mx-auto h-20 w-20 text-cornflower-blue"
viewBox="0 0 256 256" width="24" height="24">
<path fill="#6495ed" fill-rule="evenodd" d="m112.8 111.5q25.7 27 1.7 53.9-21.4 20.9-41.9 22.9c8.6-7.4 11-19.8 5.8-29.9q-26.1-27.2-39.2-47.7-15.1-39.6 40.9-53.8 9.4-15.5 91.4-55.6c15.4-4.4 31.8 2.8 38.9 17.2 7 14.4 2.8 31.8-10.2 41.3l-112.8 7.1q-1.9 20.7 25.4 44.6zm-35.5-43.4c-11.4 3.4-26.3 9.6-30.2 20.4-2 5.8-0.9 12.1 1.1 17.7 10.5 16.1 24.2 31.5 37.5 45.3l1 1.1 0.7 1.3c2.8 5.5 4 11.5 3.7 17.4 6-3.7 11.4-8.2 16.2-12.8 12.4-14.2 11.3-26.2-1.5-39.8-14.4-12.7-29.3-30.2-28.5-50.6zm124.1-45.1c-4.8-9.8-15.8-14.9-26.4-12.3-20.9 10.3-42.3 21.1-62.1 33.2-3.7 2.2-12.5 7.7-18.6 12.5l102.1-6.4c7.4-6.8 9.5-17.8 5-27z"/>
<path fill="#6495ed" fill-rule="evenodd" d="m143.8 144.3q-25.7-26.9-1.8-53.9 21.5-20.8 42-22.8c-8.6 7.4-11 19.7-5.9 29.8q26.2 27.2 39.3 47.8 15 39.6-40.9 53.7-9.4 15.5-91.5 55.7c-15.4 4.4-31.7-2.9-38.8-17.3-7-14.4-2.8-31.7 10.1-41.3l112.8-7.1q2-20.7-25.3-44.6zm35.5 43.5c11.4-3.4 26.3-9.6 30.2-20.5 2-5.7 0.9-12-1.2-17.6-10.4-16.1-24.2-31.5-37.4-45.4l-1.1-1-0.6-1.3c-2.8-5.5-4-11.5-3.8-17.4-5.9 3.6-11.4 8.2-16.1 12.8-12.5 14.1-11.3 26.2 1.4 39.7 14.5 12.7 29.4 30.3 28.6 50.7zm-124.1 45.1c4.8 9.7 15.8 14.8 26.3 12.2 20.9-10.2 42.3-21 62.2-33.1 3.7-2.2 12.5-7.7 18.5-12.6l-102 6.5c-7.4 6.8-9.5 17.8-5 27z"/>
</svg>
</motion.div>
<motion.h1
@@ -73,4 +91,4 @@ export function HeroSection() {
</div>
</section>
);
}
}