diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js index 70f1e8842..2b3136fa7 100644 --- a/src/components/HomepageFeatures/index.js +++ b/src/components/HomepageFeatures/index.js @@ -1,11 +1,12 @@ -import clsx from "clsx"; -import Heading from "@theme/Heading"; -import styles from "./styles.module.css"; +import React from 'react'; +import clsx from 'clsx'; +import Heading from '@theme/Heading'; +import styles from './styles.module.css'; const FeatureList = [ { - title: "Structured Curriculum", - Svg: require("@site/static/img/hero_images/structured_curriculum.svg").default, + title: 'Structured Curriculum', + Svg: require('@site/static/img/hero_images/structured_curriculum.svg').default, description: ( <> Clear 30-day plan, daily lessons covering essential C++ concepts in an @@ -14,8 +15,8 @@ const FeatureList = [ ), }, { - title: "Comprehensive Documentation", - Svg: require("@site/static/img/hero_images/well_documentation.svg").default, + title: 'Comprehensive Documentation', + Svg: require('@site/static/img/hero_images/well_documentation.svg').default, description: ( <> Detailed guides with explanations, code samples, and resources aiding @@ -23,10 +24,9 @@ const FeatureList = [ > ), }, - { - title: "We Are Open Source", - Svg: require("@site/static/img/hero_images/open_source.svg").default, + title: 'We Are Open Source', + Svg: require('@site/static/img/hero_images/open_source.svg').default, description: ( <> Accessible collaborative C++ project, providing hands-on experience and @@ -34,10 +34,9 @@ const FeatureList = [ > ), }, - { - title: "Free Access", - Svg: require("@site/static/img/hero_images/free_access.svg").default, + title: 'Free Access', + Svg: require('@site/static/img/hero_images/free_access.svg').default, description: ( <> Entire program, resources, and materials accessible at no cost, ensuring @@ -45,10 +44,9 @@ const FeatureList = [ > ), }, - { - title: "Informative Blogs", - Svg: require("@site/static/img/hero_images/informative_blogs.svg").default, + title: 'Informative Blogs', + Svg: require('@site/static/img/hero_images/informative_blogs.svg').default, description: ( <> Regularly updated blogs covering diverse C++ topics, offering @@ -56,10 +54,9 @@ const FeatureList = [ > ), }, - { - title: "Community Engagement", - Svg: require("@site/static/img/hero_images/community_engagement.svg").default, + title: 'Community Engagement', + Svg: require('@site/static/img/hero_images/community_engagement.svg').default, description: ( <> Supportive community fostering interaction, collaboration, and learning @@ -72,12 +69,14 @@ const FeatureList = [ function Feature({ Svg, title, description }) { return (
{description}
+{description}
+