File tree Expand file tree Collapse file tree 5 files changed +16
-16
lines changed
Expand file tree Collapse file tree 5 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 11import styled from "styled-components" ;
22import { queries } from "../../../styles/mediaQueries" ;
33import colors from "../../../styles/colors" ;
4- import { Col } from "antd " ;
4+ import Grid from "@mui/material/Grid " ;
55
6- const HomeHeaderStyle = styled ( Col ) `
6+ const HomeHeaderStyle = styled ( Grid ) `
77 display: flex;
88 background-color: ${ colors . blackTertiary } ;
99 align-items: center;
Original file line number Diff line number Diff line change 1- import { Col } from "antd " ;
1+ import Grid from "@mui/material/Grid " ;
22import React from "react" ;
33import CTASection from "../CTA/CTASection" ;
44import HomeHeaderStyle from "./HomeHeader.style" ;
@@ -8,17 +8,17 @@ import HomeHeaderSearch from "./HomeHeaderSearch";
88
99const HomeHeader = ( { stats } ) => {
1010 return (
11- < HomeHeaderStyle >
12- < Col
13- xxl = { 12 }
14- lg = { 16 }
15- sm = { 18 }
16- xs = { 24 }
11+ < HomeHeaderStyle container >
12+ < Grid item
13+ xl = { 6 }
14+ lg = { 8 }
15+ sm = { 9 }
16+ xs = { 12 }
1717 className = "home-header-content"
1818 >
1919 < HomeHeaderTitle />
2020 < CTASection />
21- </ Col >
21+ </ Grid >
2222 < HomeStats stats = { stats } />
2323
2424 < HomeHeaderSearch />
Original file line number Diff line number Diff line change 1- import { Col } from "antd " ;
1+ import Grid from "@mui/material/Grid " ;
22import styled from "styled-components" ;
33import { queries } from "../../../styles/mediaQueries" ;
44import colors from "../../../styles/colors" ;
55
6- const HomeHeaderSearchStyled = styled ( Col ) `
6+ const HomeHeaderSearchStyled = styled ( Grid ) `
77 display: flex;
88 flex-direction: column;
99 justify-content: center;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const HomeHeaderSearch = () => {
4141 } ;
4242
4343 return (
44- < HomeHeaderSearchStyled xxl = { 12 } lg = { 16 } sm = { 18 } xs = { 24 } >
44+ < HomeHeaderSearchStyled container xl = { 6 } lg = { 8 } sm = { 9 } xs = { 12 } >
4545 < h2 className = "title" > { t ( "home:homeHeaderSearchTitle" ) } </ h2 >
4646
4747 < InputSearch
Original file line number Diff line number Diff line change 11import React from "react" ;
2- import { Col } from "antd " ;
2+ import Grid from "@mui/material/Grid " ;
33import { useTranslation } from "next-i18next" ;
44
55const HomeHeaderTitle = ( ) => {
66 const { t } = useTranslation ( ) ;
77 return (
8- < Col className = "home-header-title" >
8+ < Grid item className = "home-header-title" >
99 < h1 > { t ( "home:title" ) } </ h1 >
10- </ Col >
10+ </ Grid >
1111 ) ;
1212} ;
1313
You can’t perform that action at this time.
0 commit comments