-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from NYPL/feature/DR-2574/page-template
DR-2574 Template for homepage
- Loading branch information
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
import CampaignHero from "../components/hero/campaignHero"; | ||
import { | ||
SkipNavigation, | ||
TemplateAppContainer, | ||
} from "@nypl/design-system-react-components"; | ||
|
||
export default function Home() { | ||
return <CampaignHero />; | ||
return ( | ||
<TemplateAppContainer | ||
aboveHeader={<p> Notification banner </p>} | ||
header={<p> Header </p>} | ||
breakout={<CampaignHero />} | ||
contentPrimary={ | ||
<> | ||
<p>First swim lane</p> | ||
<p>Featured Content</p> | ||
<p>Rest of swim lanes</p> | ||
<p>Explore further links</p> | ||
</> | ||
} | ||
renderSkipNavigation={true} | ||
/> | ||
); | ||
} |