import Head from 'next/head' import Layout, { siteTitle } from '../components/Layout' import utilStyles from '../styles/utils.module.css' import { getSortedPostsData } from '../lib/posts' import Link from 'next/link' import Date from '../components/Date' const Home = ({ allPostsData }) => ( {siteTitle}

Hello, I’m Shu. I write code at{' '} ZEIT, the team behind{' '} Next.js. You can contact me via{' '} Twitter or{' '} email.

(This is a sample website - you’ll be building a site like this on{' '} our Next.js tutorial.)

Blog

) export async function getStaticProps() { const allPostsData = getSortedPostsData() return { props: { allPostsData } } } export default Home