|
1 | | -import React from 'react' |
2 | | -import { Link } from 'react-router-dom'; |
3 | | -import './Home.css'; |
| 1 | +import React from "react"; |
| 2 | +import { Link } from "react-router-dom"; |
| 3 | +import Card from "../card/Card"; |
| 4 | +import "./Home.css"; |
4 | 5 |
|
5 | 6 | function Home() { |
6 | | - return ( |
7 | | - <div className="home_container"> |
8 | | - <div className="title"> |
9 | | - <h1>Learn React.js</h1> |
10 | | - </div> |
11 | | - <div className="projects_box"> |
12 | | - {/* Add your project card below*/} |
13 | | - <div className="project"> |
14 | | - <h2>Counter</h2> |
15 | | - <Link to="/counter">Let's go there</Link> |
16 | | - </div> |
17 | | - <div className="project"> |
18 | | - <h2>Meme Generator</h2> |
19 | | - <Link to="/meme_generator">Let's go there</Link> |
20 | | - </div> |
21 | | - <div className="project"> |
22 | | - <h2>Quote Generator</h2> |
23 | | - <Link to="/quote_generator">Let's go there</Link> |
24 | | - </div> |
25 | | - <div className="project"> |
26 | | - <h2>Search Functionality</h2> |
27 | | - <Link to="/search">Let's go there</Link> |
28 | | - </div> |
29 | | - <div className="project"> |
30 | | - <h2>Responsive slider</h2> |
31 | | - <Link to="/slider">Let's go there</Link> |
32 | | - </div> |
33 | | - <div className="project"> |
34 | | - <h2>Currency Converter</h2> |
35 | | - <Link to="/currency_converter">Let's go there</Link> |
36 | | - </div> |
| 7 | + return ( |
| 8 | + <div className="home_container"> |
| 9 | + <div className="title"> |
| 10 | + <h1>Learn React.js</h1> |
| 11 | + </div> |
| 12 | + <div className="container"> |
| 13 | + <div className="row gx-3 pt-4 pb-4 text-decoration-none"> |
| 14 | + <Card |
| 15 | + title="Counter" |
| 16 | + description="In that Module you can add and subtract from a state and see it." |
| 17 | + buttonTitle="Let's go there" |
| 18 | + buttonLink="/counter" |
| 19 | + /> |
| 20 | + <Card |
| 21 | + title="Meme Generator" |
| 22 | + description="Mems section here.." |
| 23 | + buttonTitle="Let's go there" |
| 24 | + buttonLink="/meme_generator" |
| 25 | + /> |
| 26 | + <Card |
| 27 | + title="Meme Generator" |
| 28 | + description="Mems section here.." |
| 29 | + buttonTitle="Let's go there" |
| 30 | + buttonLink="/meme_generator" |
| 31 | + /> |
37 | 32 |
|
38 | | - </div> |
| 33 | + <Card |
| 34 | + title="Meme Generator" |
| 35 | + description="Mems section here.." |
| 36 | + buttonTitle="Let's go there" |
| 37 | + buttonLink="/meme_generator" |
| 38 | + /> |
| 39 | + |
| 40 | + <Card |
| 41 | + title="Meme Generator" |
| 42 | + description="Mems section here.." |
| 43 | + buttonTitle="Let's go there" |
| 44 | + buttonLink="/meme_generator" |
| 45 | + /> |
| 46 | + </div> |
| 47 | + </div> |
| 48 | + <div className="projects_box"> |
| 49 | + {/* Add your project card below*/} |
| 50 | + |
| 51 | + <div className="project"> |
| 52 | + <h2>Counter</h2> |
| 53 | + <Link to="/counter">Let's go there</Link> |
| 54 | + </div> |
| 55 | + <div className="project"> |
| 56 | + <h2>Meme Generator</h2> |
| 57 | + <Link to="/meme_generator">Let's go there</Link> |
| 58 | + </div> |
| 59 | + <div className="project"> |
| 60 | + <h2>Quote Generator</h2> |
| 61 | + <Link to="/quote_generator">Let's go there</Link> |
| 62 | + </div> |
| 63 | + <div className="project"> |
| 64 | + <h2>Search Functionality</h2> |
| 65 | + <Link to="/search">Let's go there</Link> |
| 66 | + </div> |
| 67 | + <div className="project"> |
| 68 | + <h2>Responsive slider</h2> |
| 69 | + <Link to="/slider">Let's go there</Link> |
39 | 70 | </div> |
40 | | - ) |
| 71 | + </div> |
| 72 | + </div> |
| 73 | + ); |
41 | 74 | } |
42 | 75 |
|
43 | | -export default Home |
| 76 | +export default Home; |
0 commit comments