MCPcopy Create free account
hub / github.com/ShaanCoding/makeread.me / KeyFeatures

Function KeyFeatures

frontend/components/Home/KeyFeatures.tsx:9–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7import { siteConfig } from "@/config/site"
8
9const KeyFeatures = () => {
10 return (
11 <div className="relative my-5">
12 <div>
13 <div className="mb-12 text-center">
14 <h2 className="font-semibold text-themeGreen">Features</h2>
15 <h1 className="text-6xl font-bold text-white">Key Features</h1>
16 </div>
17
18 <motion.div
19 className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3"
20 initial="hidden"
21 viewport={{ once: true, amount: 0.5 }}
22 transition={{ duration: 0.5 }}
23 whileInView="visible"
24 variants={{
25 hidden: { opacity: 0 },
26 visible: {
27 opacity: 1,
28 transition: {
29 delayChildren: 0.3,
30 staggerChildren: 0.2,
31 },
32 },
33 }}
34 >
35 {siteConfig.homePage.keyFeatures.map(
36 (feature: IFeatureGridElement, index: number) => {
37 return (
38 <motion.div
39 key={index}
40 variants={{
41 hidden: { y: 20, opacity: 0 },
42 visible: {
43 y: 0,
44 opacity: 1,
45 },
46 }}
47 >
48 <FeatureGridElement
49 image={feature.image}
50 title={feature.title}
51 description={feature.description}
52 key={index}
53 />
54 </motion.div>
55 )
56 }
57 )}
58 </motion.div>
59 </div>
60 <div
61 className="absolute left-[50%]
62 top-[50%] z-[-1] size-[75%] translate-x-[-50%] translate-y-[-50%] rounded-[780px] bg-themeGreen opacity-45 blur-[350px]"
63 ></div>
64 </div>
65 )
66}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected