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' export default function Home({ allPostsData }) { return ( {siteTitle}

Hello, I’m Shu. I’m a software enginer and a translator (English/Japanese). You can contact me on{' '} Twitter.

(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 } } }