|
| 1 | +import type { ReactNode } from 'react'; |
| 2 | +import clsx from 'clsx'; |
| 3 | +import Heading from '@theme/Heading'; |
| 4 | +import styles from './styles.module.css'; |
| 5 | + |
| 6 | +type FeatureItem = { |
| 7 | + title: string; |
| 8 | + Svg: React.ComponentType<React.ComponentProps<'svg'>>; |
| 9 | + description: ReactNode; |
| 10 | +}; |
| 11 | + |
| 12 | +const FeatureList: FeatureItem[] = [ |
| 13 | + { |
| 14 | + title: 'Senior Developer Focused', |
| 15 | + Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, |
| 16 | + description: ( |
| 17 | + <> |
| 18 | + Skip the basics and dive deep into advanced AI coding patterns. Designed |
| 19 | + for experienced developers who want to master AI-assisted development. |
| 20 | + </> |
| 21 | + ), |
| 22 | + }, |
| 23 | + { |
| 24 | + title: 'Production-Ready Architecture', |
| 25 | + Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, |
| 26 | + description: ( |
| 27 | + <> |
| 28 | + Learn design patterns, system integration, and real-world challenges. |
| 29 | + Build maintainable, scalable solutions with AI assistance. |
| 30 | + </> |
| 31 | + ), |
| 32 | + }, |
| 33 | + { |
| 34 | + title: 'Comprehensive & Deep', |
| 35 | + Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, |
| 36 | + description: ( |
| 37 | + <> |
| 38 | + From fundamentals to advanced topics with thorough coverage. Master |
| 39 | + prompting, workflows, architecture, security, and performance |
| 40 | + optimization. |
| 41 | + </> |
| 42 | + ), |
| 43 | + }, |
| 44 | +]; |
| 45 | + |
| 46 | +function Feature({ title, Svg, description }: FeatureItem) { |
| 47 | + return ( |
| 48 | + <div className={clsx('col col--4')}> |
| 49 | + <div className="text--center"> |
| 50 | + <Svg className={styles.featureSvg} role="img" /> |
| 51 | + </div> |
| 52 | + <div className="text--center padding-horiz--md"> |
| 53 | + <Heading as="h3">{title}</Heading> |
| 54 | + <p>{description}</p> |
| 55 | + </div> |
| 56 | + </div> |
| 57 | + ); |
| 58 | +} |
| 59 | + |
| 60 | +export default function HomepageFeatures(): ReactNode { |
| 61 | + return ( |
| 62 | + <section className={styles.features}> |
| 63 | + <div className="container"> |
| 64 | + <div className="row"> |
| 65 | + {FeatureList.map((props, idx) => ( |
| 66 | + <Feature key={idx} {...props} /> |
| 67 | + ))} |
| 68 | + </div> |
| 69 | + </div> |
| 70 | + </section> |
| 71 | + ); |
| 72 | +} |
0 commit comments