@@ -2,6 +2,8 @@ import React, {Component} from "react";
2
2
import NavBar from "../components/NavBar" ;
3
3
import BottomBar from "../components/BottomBar" ;
4
4
import Head from 'next/head'
5
+ import { VerticalTimeline , VerticalTimelineElement } from 'react-vertical-timeline-component' ;
6
+ import 'react-vertical-timeline-component/style.min.css' ;
5
7
import { scheduleData } from '../data/scheduleData.js' ;
6
8
import { Grid , Typography } from "@mui/material" ;
7
9
@@ -21,32 +23,115 @@ const Schedule = () => {
21
23
< title > Schedule | GT WebDev</ title >
22
24
</ Head >
23
25
< NavBar />
26
+ < VerticalTimeline >
27
+ < VerticalTimelineElement
28
+ className = "vertical-timeline-element--work"
29
+ contentStyle = { { background : '#f0cd42' , color : '#222220' } }
30
+ contentArrowStyle = { { borderRight : '7px solid #f0cd42' } }
31
+ date = ""
32
+ // iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
33
+ // icon={< WorkIcon />}
34
+ >
35
+ < h3 className = "vertical-timeline-element-title" > General Board Meeting </ h3 >
36
+ < h4 className = "vertical-timeline-element-subtitle" > February 24, 2023 - Howey L4</ h4 >
37
+ < p >
38
+ Project meeting, Git/GitHub tutorial
39
+ </ p >
40
+ </ VerticalTimelineElement >
41
+
42
+ < VerticalTimelineElement
43
+ className = "vertical-timeline-element--work"
44
+ contentStyle = { { background : '#f0cd42' , color : '#222220' } }
45
+ contentArrowStyle = { { borderRight : '7px solid #f0cd42' } }
46
+ date = ""
47
+ // iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
48
+ // icon={<WorkIcon />}
49
+ >
50
+ < h3 className = "vertical-timeline-element-title" > General Board Meeting </ h3 >
51
+ < h4 className = "vertical-timeline-element-subtitle" > February 24, 2023 - Howey L4</ h4 >
52
+ < p >
53
+ Project meeting, Git/GitHub tutorial
54
+ </ p >
55
+ </ VerticalTimelineElement >
56
+
57
+ < VerticalTimelineElement
58
+ className = "vertical-timeline-element--work"
59
+ contentStyle = { { background : '#f0cd42' , color : '#222220' } }
60
+ contentArrowStyle = { { borderRight : '7px solid #f0cd42' } }
61
+ date = ""
62
+ // iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
63
+ // icon={<WorkIcon />}
64
+ >
65
+ < h3 className = "vertical-timeline-element-title" > General Board Meeting </ h3 >
66
+ < h4 className = "vertical-timeline-element-subtitle" > February 24, 2023 - Howey L4</ h4 >
67
+ < p >
68
+ Project meeting, Git/GitHub tutorial
69
+ </ p >
70
+ </ VerticalTimelineElement >
71
+
72
+ < VerticalTimelineElement
73
+ className = "vertical-timeline-element--work"
74
+ contentStyle = { { background : '#f0cd42' , color : '#222220' } }
75
+ contentArrowStyle = { { borderRight : '7px solid #f0cd42' } }
76
+ date = ""
77
+ // iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
78
+ // icon={<WorkIcon />}
79
+ >
80
+ < h3 className = "vertical-timeline-element-title" > General Board Meeting </ h3 >
81
+ < h4 className = "vertical-timeline-element-subtitle" > February 24, 2023 - Howey L4</ h4 >
82
+ < p >
83
+ Project meeting, Git/GitHub tutorial
84
+ </ p >
85
+ </ VerticalTimelineElement >
86
+
87
+ < VerticalTimelineElement
88
+ className = "vertical-timeline-element--work"
89
+ contentStyle = { { background : '#f0cd42' , color : '#222220' } }
90
+ contentArrowStyle = { { borderRight : '7px solid #f0cd42' } }
91
+ date = ""
92
+ // iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
93
+ // icon={<WorkIcon />}
94
+ >
95
+ < h3 className = "vertical-timeline-element-title" > General Board Meeting </ h3 >
96
+ < h4 className = "vertical-timeline-element-subtitle" > February 24, 2023 - Howey L4</ h4 >
97
+ < p >
98
+ Project meeting, Git/GitHub tutorial
99
+ </ p >
100
+ </ VerticalTimelineElement >
101
+
102
+ < VerticalTimelineElement
103
+ className = "vertical-timeline-element--work"
104
+ contentStyle = { { background : '#f0cd42' , color : '#222220' } }
105
+ contentArrowStyle = { { borderRight : '7px solid #f0cd42' } }
106
+ date = ""
107
+ // iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
108
+ // icon={<WorkIcon />}
109
+ >
110
+ < h3 className = "vertical-timeline-element-title" > General Board Meeting </ h3 >
111
+ < h4 className = "vertical-timeline-element-subtitle" > February 24, 2023 - Howey L4</ h4 >
112
+ < p >
113
+ Project meeting, Git/GitHub tutorial
114
+ </ p >
115
+ </ VerticalTimelineElement >
116
+
117
+ < VerticalTimelineElement
118
+ className = "vertical-timeline-element--work"
119
+ contentStyle = { { background : '#f0cd42' , color : '#222220' } }
120
+ contentArrowStyle = { { borderRight : '7px solid #f0cd42' } }
121
+ date = ""
122
+ // iconStyle={{ background: 'rgb(33, 150, 243)', color: '#fff' }}
123
+ // icon={<WorkIcon />}
124
+ >
125
+ < h3 className = "vertical-timeline-element-title" > General Board Meeting </ h3 >
126
+ < h4 className = "vertical-timeline-element-subtitle" > February 24, 2023 - Howey L4</ h4 >
127
+ < p >
128
+ Project meeting, Git/GitHub tutorial
129
+ </ p >
130
+ </ VerticalTimelineElement >
131
+
132
+
133
+ </ VerticalTimeline >
24
134
25
- < Grid container rowGap = { 3 } className = "scheduleContainer" >
26
- { scheduleData . map ( ( cur , ind ) => {
27
- return (
28
- < Grid container item className = "scheduleGrid" >
29
- < Grid xs = { 4 } className = "scheduleDateGrid" >
30
- < Typography className = "scheduleDateText" >
31
- { oneColText ( cur [ 'date' ] ) }
32
- </ Typography >
33
- </ Grid >
34
- < Grid xs = { 6 } >
35
- < Typography className = "scheduleAgendaTxt" >
36
- { cur [ 'agenda' ] }
37
- </ Typography >
38
- </ Grid >
39
- < Grid xs = { 2 } >
40
- { cur [ 'link' ] != 'N/A'
41
- ?
42
- < a href = { cur [ 'link' ] } > < img src = "camera.png" className = "bottomBarImg" /> </ a >
43
- :
44
- < span /> }
45
- </ Grid >
46
- </ Grid >
47
- )
48
- } ) }
49
- </ Grid >
50
135
< BottomBar />
51
136
</ div >
52
137
)
0 commit comments