Last active
May 15, 2019 14:21
-
-
Save LukasBombach/71a34c302febbbb5def88e71547652d3 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
import { withHydration, HydrationData } from "pool-attendant-preact"; | |
import Header from "@components/header"; | |
import Content from "@components/content"; | |
import TwitterFeed from "@components/twitterFeed"; | |
import Poll from "@components/poll"; | |
import SmallBox from "@components/smallBox"; | |
import LargeBox from "@components/smallBox"; | |
const HydratedTwitterFeed = withHydration(TwitterFeed); | |
const HydratedPoll = withHydration(Poll); | |
export default function Home() { | |
return ( | |
<Layout> | |
<Header /> | |
<Content /> | |
<HydratedTwitterFeed /> | |
<HydratedPoll /> | |
<SmallBox /> | |
<LargeBox /> | |
<HydrationData /> | |
</Layout> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment