quotes-nextjs

My favourite quotes. (nextjs)
git clone http://git.hanabi.in/repos/quotes-nextjs.git
Log | Files | Refs | LICENSE

commit 6bb9962f2f1ba8d59c9aa2fe4ca5abbead32491b
parent 86665335a0aabb6dd840ec5a0c260c6f325b64ba
Author: Agastya Chandrakant <me@hanabi.in>
Date:   Sun, 18 Apr 2021 18:00:07 +0530

update gitignore, fix default fn names, tweak style

Diffstat:
M.gitignore | 2++
Apages/400.js | 31+++++++++++++++++++++++++++++++
Mpages/404.js | 4++--
Mstyles/minimo.css | 1+
4 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -32,3 +32,5 @@ yarn-error.log* # vercel .vercel + +random-quotes.js diff --git a/pages/400.js b/pages/400.js @@ -0,0 +1,31 @@ +import CommonHead from "../components/CommonHead.js"; +import Footer from "../components/Footer.js"; +import HeadTitle from "../components/HeadTitle.js"; +import Header from "../components/Header.js"; + +function _400() { + return ( + <div className="site"> + <CommonHead /> + <HeadTitle title="400: Bad request" ogtitle="404" /> + <Header pageTitle="400: Bad request. But that's okay." /> + <main id="main" className="main"> + <article className="entry" lang="en"> + <div className="entry-content"> + <blockquote> + <em> + <p> + You got a broken URL, but you know what? That is completely + okay! + </p> + </em> + </blockquote> + </div> + </article> + </main> + <Footer /> + </div> + ); +} + +export default _400; diff --git a/pages/404.js b/pages/404.js @@ -3,7 +3,7 @@ import Footer from "../components/Footer.js"; import HeadTitle from "../components/HeadTitle.js"; import Header from "../components/Header.js"; -function About() { +function _404() { return ( <div className="site"> <CommonHead /> @@ -34,4 +34,4 @@ function About() { ); } -export default About; +export default _404; diff --git a/styles/minimo.css b/styles/minimo.css @@ -733,6 +733,7 @@ textarea:focus { flex-basis: 6em; -ms-flex-negative: 0; flex-shrink: 0; + margin-right: 1em; } .list-item .meta span { font-size: 0.875em;