File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/components/SectionTitle Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- import { BIG_BREAKPOINT , LARGE_BREAKPOINT } from "../../ constants/BreakPoints" ;
2- import { Color } from "../../ styles/colors" ;
1+ import { BIG_BREAKPOINT , LARGE_BREAKPOINT } from "@ constants/BreakPoints" ;
2+ import { Color } from "@ styles/colors" ;
33import { FC } from "react" ;
44import { styled } from "styled-components" ;
55
@@ -33,7 +33,7 @@ const StyledTitleContainer = styled.div`
3333` ;
3434
3535const StyledTitle = styled . h1 `
36- color: ${ ( props ) => ( props . color ? props . color : Color . WHITE ) } ;
36+ color: ${ ( props ) => props . color ?? Color . WHITE } ;
3737 font-family: "Square 721 Regular", sans-serif;
3838 padding-bottom: 1.5rem;
3939 text-align: center;
@@ -45,7 +45,7 @@ const StyledTitle = styled.h1`
4545` ;
4646
4747const StyledSubTitle = styled . p `
48- color: ${ ( props ) => ( props . color ? props . color : Color . WHITE ) } ;
48+ color: ${ ( props ) => props . color ?? Color . WHITE } ;
4949 @media (min-width: 480px) {
5050 width: 70%;
5151 }
You can’t perform that action at this time.
0 commit comments