File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import React from 'react' ;
2+ import LaptopScreen from './LaptopScreen' ;
3+ import Image from 'next/image' ;
4+
5+ import LabReport from '../../public/promo/Lab-Report-Example.png' ;
6+ import ShareExample from '../../public/promo/Share-Example.png' ;
7+
8+ const Info = ( ) => (
9+ < div className = "max-w-4xl mx-auto" >
10+ < p className = "flex flex-col items-center m-8 mx-auto text-6xl font-bold text-center" >
11+ Collaborate
12+ </ p >
13+ < p className = "my-8 text-2xl font-bold" >
14+ Collaborate effortlessly with Note Rack and work together with classmates.
15+ No more endless scrolling through handwritten notes or spending
16+ hours trying to find the right information.
17+ </ p >
18+
19+ < div className = "flex w-full mx-8 my-24" >
20+ < div className = "w-1/2" >
21+ < p className = "text-4xl font-bold" >
22+ Share
23+ </ p >
24+ < p className = "my-2 text-lg font-bold" >
25+ Share your notes with ease using Note Rack
26+ < br />
27+ and collaborate seamlessly with your classmates.
28+ </ p >
29+ </ div >
30+ < div className = "flex items-center justify-center w-1/2 h-full" >
31+ < div className = "relative flex" >
32+ < LaptopScreen >
33+ < Image
34+ src = { LabReport }
35+ className = "rounded-md aspect-square"
36+ height = { 300 }
37+ width = { 300 }
38+ />
39+ </ LaptopScreen >
40+ < div className = "absolute bottom-0 right-0 translate-x-[20%] translate-y-[20%]" >
41+ < LaptopScreen >
42+ < Image
43+ src = { ShareExample }
44+ width = { 177 }
45+ height = { 137 }
46+ />
47+ </ LaptopScreen >
48+ </ div >
49+ </ div >
50+ </ div >
51+ </ div >
52+ </ div >
53+ ) ;
54+
55+ export default Info ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import React from 'react';
33import LaptopScreen from './LaptopScreen' ;
44import Image from 'next/image' ;
55
6- import NotesExample from '../../public/Notes-Example.png' ;
6+ import NotesExample from '../../public/promo/ Notes-Example.png' ;
77
88const Intro = ( ) => (
99 < div className = "mt-12" >
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import Session from 'supertokens-auth-react/recipe/session';
55
66import NavBar from '../components/home/NavBar' ;
77import Intro from '../components/home/Intro' ;
8+ import Info from '../components/home/Info' ;
89
910const Home : NextPage = ( ) => {
1011 // TODO:EROXL: (2023-01-24) This should be done server side when the request is made
@@ -29,6 +30,8 @@ const Home: NextPage = () => {
2930 < NavBar />
3031
3132 < Intro />
33+
34+ < Info />
3235 </ div >
3336 ) ;
3437} ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments