-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathreact js
227 lines (217 loc) · 7.49 KB
/
react js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Paper from '@material-ui/core/Paper';
import Grid from '@material-ui/core/Grid';
import Box from '@material-ui/core/Box';
import call from './img/blober.png';
import java from './img/java.png';
import python from './img/python.png';
import chip from './img/chip.png';
import computer from './img/computer.png';
import moniter from './img/monitor.png';
import c from './img/c.png';
import cplus from './img/c++.png';
import hacker from './img/hacker.png';
const useStyles = makeStyles((theme) => ({
root: {
flexGrow: 1,
},
paper: {
padding: theme.spacing(1),
border: '6px solid White',
backgroundColor: '#F0F8FF',
marginLeft: theme.spacing(5),
marginBottom: theme.spacing(8),
verticalAlign: 'middle',
marginRight: '20%',
textIndent: '80px',
fontFamily: "sans-serif",
color: "#040f4f",
boxShadow: ' 0 16px 70px -12.125px rgba(0,0,0,0.3)',
borderTopLeftRadius: '20px',
borderBottomLeftRadius: '20px'
},
p:{
Color: "#040f4f",
/*textAlign:"right",
paddingRight: '3rem',
paddingLeft: '3rem'*/
},
textAlign: {
textAlign:"center",
color: "#040f4f",
paddingBottom: '40px'
},
line : {
textDecoration: "underline",
textDecorationColor: "#ffab00",
},
media: {
/*height: '80px',*/
/* marginLeft: 'auto',
marginRight: 'auto',
width: '100%',*/
backgroundColor: 'white',
padding: '10px', /* Some padding */
width: '80px' /* Set a small width */
},
image: {
backgroundImage: 'url('+call+')',
display: 'block',
backgroundPosition: 'center',
backgroundRepeat: 'no-repeat',
},
spacing: {
marginRight: theme.spacing(5),
marginLeft: '20%',
padding: theme.spacing(1),
border: '6px solid White',
backgroundColor: '#F0F8FF',
marginBottom: theme.spacing(5),
verticalAlign: 'middle',
textIndent: '80px',
fontFamily: "sans-serif",
color: "#040f4f",
boxShadow: ' 0 16px 70px -12.125px rgba(0,0,0,0.3)',
}
}));
/*const defaultProps = {
bgcolor: 'background.paper',
m: 1,
style: { width: '5rem', height: '5rem' },
borderColor: 'text.primary',
border: '3px solid Black',
};*/
const defaultProps = {
bgcolor: 'background.paper',
m: -6,
style: { width: '100px', height: '100px' },
borderColor: 'text.primary',
border: '3px solid Black',
borderRadius: '2px',
boxShadow: ' 0 16px 70px -12.125px rgba(0,0,0,0.3)',
display: 'flex',
};
export default function FullWidthGrid() {
const classes = useStyles();
return (
<div className={classes.root}>
<h1 className={classes.textAlign}> OUR MARV<span className={classes.line}>ALLOUS</span> Approch</h1>
<div class="center" className={classes.image}>
<Grid container spacing={2}>
<Grid item xs={12} sm={6}>
<Paper className={classes.spacing} ><h3>Faculty</h3>
<p className={classes.p}>java is a general purpose language which is now used </p>
<Box display="flex" border={1} {...defaultProps} >
<img className={classes.media}
display="flex"
src={java} alt="Math Problems"/ >
</Box>
</Paper>
</Grid>
<Grid item xs={12} sm={6}>
<Paper className={classes.paper}><h3>Curriculum</h3>
<p className={classes.p}>java is a general purpose language wbhbhbhbhbhbhbhbhhich is now used in every day life
java is a general purpose language which is now used in every day life day life
</p>
<Box display='flex'
justifyContent= "flex-end">
<Box {...defaultProps}>
<img className={classes.media}
src={python} alt="Math Problems"/ >
</Box>
</Box>
</Paper>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid item xs={12} sm={6}>
<Paper className={classes.spacing} ><h3>Teaching Assistance</h3>
<p className={classes.p}>java is a general purpose language which is now used in every day life
java is a general purpose language which is now used in every day life ndvjksbvjsbdjvkbdsjkvbsjkdvbjksdbvjksd vjkds jvk sdjkv jkvs d
</p>
<Box display="flex" justifyContent="flex-end" border={1} {...defaultProps} >
<img className={classes.media}
justifyContent="Left"
display="flex"
src={chip} alt="Math Problems"/ >
</Box>
</Paper>
</Grid>
<Grid item xs={12} sm={6}>
<Paper className={classes.paper}><h3>Slack Groups</h3>
<p className={classes.p}>java is a general purpose language which is now used in every day life
java is a general purpose language which is now used in every day life day life
</p>
<Box display='flex'
justifyContent= "flex-end">
<Box {...defaultProps}>
<img className={classes.media}
src={computer} alt="Math Problems"/ >
</Box>
</Box>
</Paper>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid item xs={12} sm={6}>
<Paper className={classes.spacing} ><h3>preimum account</h3>
<p className={classes.p}>java is a general purpose language which is now used in every day life
java is a general purpose language which is now used in every day life
</p>
<Box display="flex" border={1} {...defaultProps} >
<img className={classes.media}
display="flex"
src={moniter} alt="Math Problems"/ >
</Box>
</Paper>
</Grid>
<Grid item xs={12} sm={6}>
<Paper className={classes.paper}><h3>No Emi</h3>
<p className={classes.p}>java is a general purpose language which is now used in every day life
java is a general purpose language which is now used in every day life
</p>
<Box display='flex'
justifyContent= "flex-end">
<Box {...defaultProps}>
<img className={classes.media}
src={c} alt="Math Problems"/ >
</Box>
</Box>
</Paper>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid item xs={12} sm={6}>
<Paper className={classes.spacing} ><h3>Certificate</h3>
<p className={classes.p}>java is a general purpose language which is now used in every day life
java is a general purpose language which is now used in every day life
</p>
<Box display="flex"
{...defaultProps} >
<img className={classes.media}
src={cplus} alt="Math Problems"/ >
</Box>
</Paper>
</Grid>
<Grid item xs={12} sm={6}>
<Paper className={classes.paper}><h3>7 Day refund</h3>
<p className={classes.p}>java is a general purpose language which is now used in every day life
java is a general purpose language which is now used in every day life
</p>
<Box display='flex'
justifyContent= "flex-end">
<Box {...defaultProps}>
<img className={classes.media}
src={hacker} alt="Math Problems"/ >
</Box>
</Box>
</Paper>
</Grid>
</Grid>
</div>
</div>
);
}
/*marginRight: theme.spacing(10),
marginLeft: theme.spacing(10),*/