Skip to content

Instantly share code, notes, and snippets.

@turingmachine
Created March 4, 2020 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save turingmachine/3b5dd0c0e77a600a46fb6151fdab2f3e to your computer and use it in GitHub Desktop.
Save turingmachine/3b5dd0c0e77a600a46fb6151fdab2f3e to your computer and use it in GitHub Desktop.
const ProductPage = ({ store }) => {
useEffect(() => {
store.loadNotifications()
}, [])
return (
<div className="product-page">
<NotificationBar
notifications={store.notifications}
location="product page"
className="product-page-notification-bar"
/>
<Header />
<HeroContainer />
<JourneyContainer />
<TestimonialsContainer />
<Footer />
{/*language=SCSS*/}
<style jsx>{`
.product-page :global(.product-page-notification-bar) {
top: 0;
}
`}</style>
</div>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment