Skip to content

Commit

Permalink
Move featured elections to an environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Arend Peter committed Dec 3, 2023
1 parent b4fbd75 commit 24ff5b7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions frontend/src/components/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ const LandingPage = () => {
paddingBottom: '8rem',
}}>
<LandingPageHero />
<LandingPageFeatureElections electionIds={[
'658043c3-27a6-4944-802e-1dfc8825a6dd',
'ec8cd5d2-8fbe-45d5-be4a-895c8e6d9ad7',
'07269fb8-4ad3-4f0f-8f0c-32c5a70ec45b',
]}/>
<LandingPageFeatureElections electionIds={
(process.env.REACT_APP_FEATURED_ELECTIONS ?? '').split(',')
}/>
<LandingPageFeatures/>
<LandingPageSignUpBar />
{process.env.REACT_APP_FF_ELECTION_TESTIMONIALS === 'true' && <LandingPageTestimonials testimonials={[
Expand Down

0 comments on commit 24ff5b7

Please sign in to comment.