Skip to content

Commit

Permalink
Update [id].tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
joyponader authored Jul 12, 2024
1 parent d1e39fc commit 5d53af2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { getPageProps, Page } from '../utils/getPageProps';
import { Section } from '../components/Section';
import { Hero } from '../components/Hero';
import { Directus } from '@directus/sdk';
import { Widget } from '@typeform/embed-react';
import PageNotFound from './404';

const IS_BERLIN_PROJECT = process.env.NEXT_PUBLIC_PROJECT === 'Berlin';
Expand All @@ -27,6 +28,9 @@ const PageWithSections = ({ page }: PageProps): ReactElement => {
}
return (
<section>
{page.slug === 'sammeln' && (
return <Widget id="01J2ECV3JHPMCP07N5RHFTSGBP" style={{ width: '50%' }} className="my-form" />
)}
{page.hasHero && (page.heroImage || page.heroHTML) && (
<Hero
heroHTML={page.heroHTML ?? null}
Expand Down

0 comments on commit 5d53af2

Please sign in to comment.