Skip to content

Commit

Permalink
Merge pull request #150 from CivicActions/images
Browse files Browse the repository at this point in the history
Convert team image to StaticImage.
  • Loading branch information
iris-i authored Jul 5, 2021
2 parents 87abfcc + e6aca6f commit b32a735
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import '../sass/styles.scss';
import React, { useEffect, useRef } from 'react';
import { StaticImage } from "gatsby-plugin-image"
import HomepageLayout from '../layouts/homepage';
import Card from '../components/card.js';
import PrimaryPageCTA from '../components/primary-page-cta.js';
Expand All @@ -11,7 +12,6 @@ import SEO from '../components/seo';

// Images
import homeIntroGraphic from '../files/images/homepage-hero.png';
import homeTeamImage from '../files/images/home-team-img.png';
import quotePatternGraphic from '../files/images/quote-pattern-graphic.png';
import caseStudyTeaserImg3 from '../files/images/case-study-teasers/case-study-teaser-img-3.png';
import caseStudyTeaserImg4 from '../files/images/case-study-teasers/case-study-teaser-img-4.png';
Expand Down Expand Up @@ -261,7 +261,7 @@ const HomePage = () => {
<LinkButton src='/team' type='primary' text='Meet our team' />
</div>
<div className='team-picture-column'>
<img src={homeTeamImage} alt='Large group of smiling CivicActions team members on a video call.'></img>
<StaticImage src='../files/images/home-team-img.png' alt='Large group of smiling CivicActions team members on a video call.'/>
</div>
</div>
</div>
Expand Down

0 comments on commit b32a735

Please sign in to comment.