Skip to content

Commit

Permalink
add case study page
Browse files Browse the repository at this point in the history
  • Loading branch information
seanjermey committed Oct 16, 2023
1 parent bcf2adc commit 3411303
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/components/Header/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,12 @@
}

&[class*="has-img"] &__body {
color: $card-text-color;

& > div {
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
}

h1 {
color: $card-text-color;
}
}

&[class*="has-img"] &__body {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function CaseStudyContent({
<div dangerouslySetInnerHTML={{ __html: challenge }} />
</Col>
<Col xs={12} md={6}>
{challenge_image && <SourceFlowImage src={challenge_image} size="540x518" alt="Challenge image" />}
{challenge_image && <SourceFlowImage src={challenge_image} size="540x" alt="Challenge image" />}
</Col>
</Row>
</Container>
Expand All @@ -126,7 +126,7 @@ export default function CaseStudyContent({
<Container>
<Row>
<Col xs={12} md={6}>
{solution_image && <SourceFlowImage src={solution_image} size="540x531" alt="Solution image" />}
{solution_image && <SourceFlowImage src={solution_image} size="540x" alt="Solution image" />}
</Col>
<Col xs={12} md={6}>
<DynamicText path={`page.${url_slug}.component.CaseStudyContent.solution.title`} tag="h2">
Expand All @@ -147,7 +147,7 @@ export default function CaseStudyContent({
<div dangerouslySetInnerHTML={{ __html: journey }} />
</Col>
<Col xs={12} md={6}>
{journey_image && <SourceFlowImage src={journey_image} size="540x291" alt="Journey image" />}
{journey_image && <SourceFlowImage src={journey_image} size="540x" alt="Journey image" />}
</Col>
</Row>
</Container>
Expand Down

0 comments on commit 3411303

Please sign in to comment.