Skip to content

Commit

Permalink
Update layout and delete T&C to match dev
Browse files Browse the repository at this point in the history
  • Loading branch information
krischarbonneau committed Jul 5, 2024
1 parent 0c681ba commit 2ed065a
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 473 deletions.
57 changes: 39 additions & 18 deletions components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,24 +147,45 @@ export default function Layout(props) {

<IdleTimeout locale={props.locale} refPageAA={props.refPageAA} />

<Footer
lang={!props.locale ? 'en' : props.locale}
brandLinks={[
{
href: t.footerTermsAndConditionURL,
id: 'linkTC',
text: t.footerTermsAndCondition,
},
{
href: t.footerPrivacyURL,
id: 'linkPR',
text: t.footerPrivacy,
},
]}
contactLink={contactLink}
btnLink="#top"
id="page-footer"
/>
{process.env.ENVIRONMENT === 'production' ? (
<Footer
lang={!props.locale ? 'en' : props.locale}
brandLinks={[
{
href: t.footerTermsAndConditionURL,
id: 'linkTC',
text: t.footerTermsAndCondition,
},
{
href: t.footerPrivacyURL,
id: 'linkPR',
text: t.footerPrivacy,
},
]}
contactLink={contactLink}
btnLink="#top"
id="page-footer"
/>
) : (
<Footer
lang={!props.locale ? 'en' : props.locale}
brandLinks={[
{
href: t.footerTermsAndConditionDevURL,
id: 'linkTC',
text: t.footerTermsAndCondition,
},
{
href: t.footerPrivacyDevURL,
id: 'linkPR',
text: t.footerPrivacy,
},
]}
contactLink={contactLink}
btnLink="#top"
id="page-footer"
/>
)}
</>
)
}
Expand Down
123 changes: 0 additions & 123 deletions graphql/mappers/privacy-notice-terms-conditions.ts

This file was deleted.

Loading

0 comments on commit 2ed065a

Please sign in to comment.