1- import React from " react"
2- import { makeStyles } from " @material-ui/core/styles"
3- import { Grid , Typography , CardMedia , Box } from " @material-ui/core"
1+ import React from ' react'
2+ import { makeStyles } from ' @material-ui/core/styles'
3+ import { Grid , Typography , CardMedia , Box } from ' @material-ui/core'
44
5- import Img from " gatsby-image"
6- import { StaticQuery , graphql } from " gatsby"
5+ import Img from ' gatsby-image'
6+ import { StaticQuery , graphql } from ' gatsby'
77
88const useStyles = makeStyles ( theme => ( {
99 icon : {
1010 marginRight : theme . spacing ( 2 ) ,
1111 } ,
1212 domainsContent : {
1313 padding : theme . spacing ( 5 , 5 , 5 ) ,
14- [ theme . breakpoints . down ( "md" ) ] : {
14+ [ theme . breakpoints . down ( 'md' ) ] : {
1515 padding : theme . spacing ( 5 , 3 , 5 ) ,
1616 } ,
1717 } ,
@@ -20,53 +20,53 @@ const useStyles = makeStyles(theme => ({
2020 paddingBottom : theme . spacing ( 8 ) ,
2121 } ,
2222 card : {
23- height : " 100%" ,
24- display : " flex" ,
25- flexDirection : " column" ,
26- borderRadius : " 10px" ,
23+ height : ' 100%' ,
24+ display : ' flex' ,
25+ flexDirection : ' column' ,
26+ borderRadius : ' 10px' ,
2727 } ,
2828 cardMedia : {
29- width : " 100%" ,
30- height : " auto" ,
29+ width : ' 100%' ,
30+ height : ' auto' ,
3131 // paddingTop: "56.25%", // 16:9
3232 } ,
3333 cardContent : {
3434 flexGrow : 1 ,
3535 } ,
3636 chipActions : {
37- display : " block" ,
37+ display : ' block' ,
3838 } ,
3939 chip : {
40- margin : " 8px 0 3px 8px" ,
40+ margin : ' 8px 0 3px 8px' ,
4141 } ,
4242 extraMargin : {
43- marginTop : " 15px" ,
44- marginBottom : "0" ,
43+ marginTop : ' 15px' ,
44+ marginBottom : '0' ,
4545 } ,
4646 btn : {
47- textTransform : " none" ,
47+ textTransform : ' none' ,
4848 } ,
4949 root : {
5050 backgroundColor : theme . palette . primary . main ,
5151 paddingTop : theme . spacing ( 3 ) ,
5252 paddingBottom : theme . spacing ( 3 ) ,
53- " & dt" : {
53+ ' & dt' : {
5454 marginTop : theme . spacing ( 2 ) ,
5555 } ,
56- color : " #FFF" ,
56+ color : ' #FFF' ,
5757 } ,
5858 paddingCls : {
59- paddingLeft : " 10px" ,
60- paddingRight : " 10px" ,
59+ paddingLeft : ' 10px' ,
60+ paddingRight : ' 10px' ,
6161 } ,
6262 paddingClsxs : {
6363 padding : 0 ,
6464 } ,
6565 iconSize : {
66- fontSize : " 32px" ,
66+ fontSize : ' 32px' ,
6767 } ,
6868 text : {
69- color : " #FFFFFF" ,
69+ color : ' #FFFFFF' ,
7070 } ,
7171 avatarLarge : {
7272 width : theme . spacing ( 16 ) ,
@@ -75,11 +75,11 @@ const useStyles = makeStyles(theme => ({
7575 } ,
7676
7777 avatarGrid : {
78- display : " flex" ,
79- flexDirection : " column" ,
80- alignItems : " center" ,
81- justifyContent : " center" ,
82- padding : " 5px" ,
78+ display : ' flex' ,
79+ flexDirection : ' column' ,
80+ alignItems : ' center' ,
81+ justifyContent : ' center' ,
82+ padding : ' 5px' ,
8383 } ,
8484} ) )
8585
@@ -111,38 +111,40 @@ export default function Choices() {
111111 const choiceImages = data . choiceImages
112112
113113 const leftImage = choiceImages . nodes . find (
114- node => node . childImageSharp . fluid . originalName === " left.png"
114+ node => node . childImageSharp . fluid . originalName === ' left.png'
115115 )
116116
117117 const rightImage = choiceImages . nodes . find (
118- node => node . childImageSharp . fluid . originalName === " right.png"
118+ node => node . childImageSharp . fluid . originalName === ' right.png'
119119 )
120120
121121 return (
122122 < Grid container className = { classes . domainsContent } >
123123 < Grid item lg = { 12 } md = { 12 } sm = { 12 } xs = { 12 } >
124- < Typography
125- variant = "h2"
126- align = "center"
127- color = "textPrimary"
128- style = { {
129- marginBottom : " 24px" ,
130- } }
131- >
132- Make the Best Choice for Your Junior
133- </ Typography >
124+ < Typography
125+ variant = "h2"
126+ align = "center"
127+ color = "textPrimary"
128+ style = { {
129+ marginBottom : ' 24px' ,
130+ } }
131+ >
132+ Make the Best Choice for Your Junior
133+ </ Typography >
134134
135- < Typography
136- variant = "body1"
137- align = "center"
138- style = { {
139- marginBottom : "24px" ,
140- color : "#FF4C00" ,
141- } }
142- >
143- < Box > Give your junior chance to try the best, easing the journey</ Box >
144- < Box > to get him/her closer to their dream </ Box >
145- </ Typography >
135+ < Typography
136+ variant = "body1"
137+ align = "center"
138+ style = { {
139+ marginBottom : '24px' ,
140+ color : '#FF4C00' ,
141+ } }
142+ >
143+ < Box >
144+ Give your junior chance to try the best, easing the journey
145+ </ Box >
146+ < Box > to get him/her closer to their dream </ Box >
147+ </ Typography >
146148 </ Grid >
147149
148150 < Grid container lg = { 12 } md = { 12 } sm = { 12 } xs = { 12 } >
0 commit comments