|
1 | | -import React from 'react'; |
| 1 | +import openOrCreate from '../../Assets/openclass.png'; |
| 2 | +import registerImg from '../../Assets/registerstudents.png'; |
| 3 | +import startImg from '../../Assets/startsession.png'; |
| 4 | +import attendanceImg from '../../Assets/classdata.png'; |
| 5 | +import studentData from '../../Assets/studentdata.png'; |
| 6 | + |
| 7 | +const imgStyle = "bg-white rounded-full h-16 w-16 flex justify-center items-center" |
| 8 | +const info = "w-2/3 text-2xl h-20 flex md:pl-8 pl-1 pr-2 items-center rounded-full justify-between" |
2 | 9 |
|
3 | 10 | const Instruction = () => { |
4 | 11 | return ( |
5 | | - <div className="text-center text-lg flex flex-col justify-evenly h-48"> |
6 | | - <h2 className="p-8"> |
7 | | - <-- Click here to add a new course to your list |
8 | | - </h2> |
9 | | - <h2 className="p-8"><-- or choose one that already exists</h2> |
| 12 | + <div className="h-screen flex flex-col items-center"> |
| 13 | + <h1 className="text-5xl my-8">Quick start</h1> |
| 14 | + <p className={`${info} mb-4 bg-shades-one`}> |
| 15 | + Create or open a class |
| 16 | + <div className={imgStyle}> |
| 17 | + <img src={openOrCreate} alt="Open or create class" className="h-10 w-10" /> |
| 18 | + </div> |
| 19 | + </p> |
| 20 | + <p className={`${info} my-4 bg-shades-two`}> |
| 21 | + Register students |
| 22 | + <div className={imgStyle}> |
| 23 | + <img src={registerImg} alt="Open or create class" className="h-10 w-10" /> |
| 24 | + </div> |
| 25 | + </p> |
| 26 | + <p className={`${info} my-4 bg-shades-three`}> |
| 27 | + Start a session |
| 28 | + <div className={imgStyle}> |
| 29 | + <img src={startImg} alt="Open or create class" className="h-10 w-10" /> |
| 30 | + </div> |
| 31 | + </p> |
| 32 | + <p className={`${info} my-4 bg-shades-four`}> |
| 33 | + Access attendance data |
| 34 | + <div className={imgStyle}> |
| 35 | + <img src={attendanceImg} alt="Open or create class" className="h-10 w-10" /> |
| 36 | + </div> |
| 37 | + </p> |
| 38 | + <p className={`${info} my-4 bg-shades-five`}> |
| 39 | + Check individual student data |
| 40 | + <div className={imgStyle}> |
| 41 | + <img src={studentData} alt="Open or create class" className="h-10 w-10" /> |
| 42 | + </div> |
| 43 | + </p> |
10 | 44 | </div> |
11 | 45 | ); |
12 | 46 | }; |
|
0 commit comments