Created
March 4, 2020 13:27
-
-
Save turingmachine/3b5dd0c0e77a600a46fb6151fdab2f3e to your computer and use it in GitHub Desktop.
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
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