Skip to content

Commit

Permalink
Update page titles and iframe title
Browse files Browse the repository at this point in the history
  • Loading branch information
candywang committed Jun 14, 2023
1 parent 1cce209 commit 2dd0136
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/grid-aware/DonationBlock/DonationBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const rawLGLForm = {
// - Scrolling has been enabled, since in a worst-case situation, we don't
// want the submit button to be cut off and unable to be scrolled to.
__html: `
<iframe onload="window.parent.scrollTo(0,0)" height="1470" allowTransparency="true" frameborder="0" scrolling="yes" style="width:100%;border:none" src="https://secure.lglforms.com/form_engine/s/0wDrXsUXwzxrT32_RHQGrw"><a href="https://secure.lglforms.com/form_engine/s/0wDrXsUXwzxrT32_RHQGrw">Fill out my LGL Form!</a></iframe>
<iframe title="Donation Form" onload="window.parent.scrollTo(0,0)" height="1470" allowTransparency="true" frameborder="0" scrolling="yes" style="width:100%;border:none" src="https://secure.lglforms.com/form_engine/s/0wDrXsUXwzxrT32_RHQGrw"><a href="https://secure.lglforms.com/form_engine/s/0wDrXsUXwzxrT32_RHQGrw">Fill out my LGL Form!</a></iframe>
`,
};

Expand Down
2 changes: 1 addition & 1 deletion src/pages/impact/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import sfFamiliesLogo from "./sf-families.svg";
export default () => (
<Layout>
<Helmet>
<title>Making an Impact</title>
<title>Our Impact | ShelterTech</title>
</Helmet>
<TextHeader title="Making an Impact" hasBottomPadding={false} />
<StatsBlock
Expand Down
4 changes: 4 additions & 0 deletions src/pages/programs/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from "react";
import { useState } from "react";
import { Helmet } from "react-helmet";

import ArticleSpotlightCard from "../../components/grid-aware/ArticleSpotlightCard";
import Modal from "../../components/grid-aware/Modal";
Expand All @@ -19,6 +20,9 @@ export default () => {

return (
<Layout>
<Helmet>
<title>Our Programs | ShelterTech</title>
</Helmet>
<Modal
isOpen={partnershipFormIsOpen}
setIsOpen={setPartnershipFormIsOpen}
Expand Down

0 comments on commit 2dd0136

Please sign in to comment.