1+ import React from 'react' ;
2+
3+ import ThemeImage from './ThemeImage' ;
4+ import Section from './Section' ;
5+ import SectionTitle from './SectionTitle' ;
6+
7+ import styles from './styles.module.css' ;
8+
9+ function Chapters ( ) {
10+ return (
11+ < Section >
12+ < SectionTitle
13+ title = "Cosa vuoi imparare oggi?"
14+ description = {
15+ < >
16+ Ogni capitolo del libro, a portata di mano.
17+ </ >
18+ }
19+ />
20+ < div className = { styles . cardContainer } >
21+ < div className = { styles . card } >
22+ < ThemeImage
23+ lightSrc = "/img/homepage/ide.svg"
24+ darkSrc = "/img/homepage/ide.svg"
25+ className = { styles . cardImage }
26+ alt = "Icon of a terminal window with input and output"
27+ />
28+ < div className = { styles . cardContent } >
29+ < h4 className = { styles . cardTitle } > Fondamenti di Python</ h4 >
30+ < p className = { styles . cardDescription } >
31+ Come installare e usare Python, cos'è un IDE, come si scrive e si esegue un programma.
32+ </ p >
33+ </ div >
34+ </ div >
35+ < div className = { styles . card } >
36+ < ThemeImage
37+ lightSrc = "/img/homepage/input-output_dark.svg"
38+ darkSrc = "/img/homepage/input-output_dark.svg"
39+ className = { styles . cardImage }
40+ alt = ""
41+ />
42+ < div className = { styles . cardContent } >
43+ < h4 className = { styles . cardTitle } >
44+ Le basi del linguaggio
45+ </ h4 >
46+ < p className = { styles . cardDescription } >
47+ Input e output, le variabili, i tipi di dati, le operazioni aritmetiche e le espressioni.
48+ </ p >
49+ </ div >
50+ </ div >
51+ </ div >
52+ </ Section >
53+ ) ;
54+ }
55+
56+ export default Chapters ;
0 commit comments