File tree Expand file tree Collapse file tree 2 files changed +31
-28
lines changed
Expand file tree Collapse file tree 2 files changed +31
-28
lines changed Original file line number Diff line number Diff line change @@ -6,36 +6,10 @@ import {
66 GetStartedCard ,
77 PictureCard ,
88 GenericHeaderSection ,
9- } from '../components' ;
10- import makeStyles from '@material-ui/core/ styles/makeStyles ' ;
9+ } from '../../ components' ;
10+ import useStyles from './ styles' ;
1111import Grid from '@material-ui/core/Grid' ;
1212
13- const useStyles = makeStyles ( ( theme ) => ( {
14- subHeaderStyle : {
15- fontWeight : '400' ,
16- textAlign : 'center' ,
17- [ theme . breakpoints . down ( 'sm' ) ] : {
18- padding : '48px 30px' ,
19- } ,
20- [ theme . breakpoints . up ( 'sm' ) ] : {
21- padding : '48px 100px' ,
22- } ,
23- [ theme . breakpoints . up ( 'md' ) ] : {
24- padding : '48px 200px' ,
25- } ,
26- } ,
27- frameStyle : {
28- border : 'none' ,
29- overflow : 'hidden' ,
30- padding : '0' ,
31- width : '949px' ,
32- height : '629px' ,
33- alignItems : 'center' ,
34- justifyContent : 'center' ,
35- display : 'flex' ,
36- } ,
37- } ) ) ;
38-
3913const About = ( ) => {
4014 const breadCrumbLinks = [
4115 { name : 'Home' , href : '/home' } ,
Original file line number Diff line number Diff line change 1+ import makeStyles from '@material-ui/core/styles/makeStyles' ;
2+
3+ const useStyles = makeStyles ( ( theme ) => ( {
4+ subHeaderStyle : {
5+ fontWeight : '400' ,
6+ textAlign : 'center' ,
7+ [ theme . breakpoints . down ( 'sm' ) ] : {
8+ padding : '48px 30px' ,
9+ } ,
10+ [ theme . breakpoints . up ( 'sm' ) ] : {
11+ padding : '48px 100px' ,
12+ } ,
13+ [ theme . breakpoints . up ( 'md' ) ] : {
14+ padding : '48px 200px' ,
15+ } ,
16+ } ,
17+ frameStyle : {
18+ border : 'none' ,
19+ overflow : 'hidden' ,
20+ padding : '0' ,
21+ width : '949px' ,
22+ height : '629px' ,
23+ alignItems : 'center' ,
24+ justifyContent : 'center' ,
25+ display : 'flex' ,
26+ } ,
27+ } ) ) ;
28+
29+ export default useStyles ;
You can’t perform that action at this time.
0 commit comments