diff --git a/.gitignore b/.gitignore index 5d3b83b..13f49c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - +Makefile +yarn.lock # dependencies /node_modules /.pnp diff --git a/README.md b/README.md index b12f3e3..407a95c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). +[![Netlify Status](https://api.netlify.com/api/v1/badges/43c4f6d6-87cb-4e10-863b-96e0b7d298b1/deploy-status)](https://app.netlify.com/sites/portfolio-nextjs-v2/deploys) + ## Getting Started First, run the development server: diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..e69de29 diff --git a/pages/index.js b/pages/index.js index af11c94..2fd7ed2 100644 --- a/pages/index.js +++ b/pages/index.js @@ -10,7 +10,6 @@ export default function Home(props) { const [showTip, setShowTip] = useState(false); useEffect(() => { - getStaticProps(); setShowTip(true); }, []); @@ -229,7 +228,7 @@ export default function Home(props) {

Latest Updates 👇

- {props.latest.map((issue, i) => ( + {props.latest && props.latest.map((issue, i) => (