|
1 |
| -import Head from 'next/head' |
2 |
| -import Image from 'next/image' |
3 |
| -import { Inter } from '@next/font/google' |
4 |
| -import styles from '../styles/Home.module.css' |
5 |
| -import Signup from './signup' |
6 |
| -import Signin from './signin' |
7 |
| -import Navbar from "../components/navbar" |
8 | 1 |
|
9 |
| -const inter = Inter({ subsets: ['latin'] }) |
| 2 | +import { Box, Image } from "@chakra-ui/react"; |
| 3 | +import { Carousel } from "react-responsive-carousel"; |
| 4 | +import "react-responsive-carousel/lib/styles/carousel.min.css"; |
10 | 5 |
|
11 | 6 | export default function Home() {
|
| 7 | + |
| 8 | + const slides = [ |
| 9 | + { |
| 10 | + id: "1", |
| 11 | + image: "https://www.unicef.org/india/sites/unicef.org.india/files/styles/hero_extended/public/UN0272155.jpg?itok=twDTRX5Q" |
| 12 | + }, |
| 13 | + { |
| 14 | + id: "2", |
| 15 | + image: "https://www.teachforindia.org/assets/fellowship-desktop.png" |
| 16 | + }, |
| 17 | + { |
| 18 | + id: "3", |
| 19 | + image: "https://www.teachforindia.org/assets/Annual_Report_website.png" |
| 20 | + }, |
| 21 | + { |
| 22 | + id: "4", |
| 23 | + image: "https://www.teachforindia.org/assets/website-carousel-alumni.png" |
| 24 | + }, |
| 25 | + { |
| 26 | + id: "5", |
| 27 | + image: "https://www.teachforindia.org/assets/website-carousel-1.png" |
| 28 | + } |
| 29 | + ]; |
| 30 | + |
12 | 31 | return (
|
| 32 | + <Carousel infiniteLoop> |
| 33 | + {slides.map((slide) => { |
| 34 | + return ( |
| 35 | + <Box key={slide.id}> |
| 36 | + <Image src={slide.image} height="500px" width="200px" /> |
| 37 | + </Box> |
| 38 | + ); |
| 39 | + })} |
| 40 | + </Carousel> |
| 41 | + ); |
| 42 | +}; |
13 | 43 |
|
14 |
| - <div > |
15 |
| - <div> |
16 |
| - <img src="https://www.teachforindia.org/assets/fellowship-desktop.png" alt="image"></img> |
17 |
| - </div> |
18 |
| - <div> |
19 |
| - <h2>Our Mission</h2> |
20 |
| - <h3>We believe leadership for education is the solution. We are building a movement of leaders who will eliminate educational inequity in India using technology. </h3> |
21 |
| - </div> |
22 |
| - <div> |
23 |
| - <h2>The Fellowship</h2> |
24 |
| - <h3>We are providing an opportunity for the brightest and most promising youth, from the best universities and workplaces, to serve as full-time teachers to children from low-income communities in under-resourced schools. Through two years of teaching and working with key education stakeholders, our Fellows are exposed to the grassroots realities of education system and cultivate the knowledge, skills, and mindsets needed to attain positions of leadership in and beyond education, working collectively to build a vibrant movement for educational equity across the globe. </h3> |
25 |
| - </div> |
26 |
| - <div> |
27 |
| - <h2>Join The Movement</h2> |
28 |
| - <h3>The pandemic has hit the youth in poor families the most. Now more than ever we need to solve the education crisis. This will lead to a safer, happier, more prosperous socirty for all of us. Getting there will take a movement of all of us, for all our youth. Join the movement.</h3> |
29 |
| - </div> |
30 |
| - </div> |
31 | 44 |
|
32 |
| - ) |
33 |
| -} |
|
0 commit comments