gooten-gatsby-example
Version:
Gatsby page demonstrating using Gooten source plugin (npm gatsby-source-gooten)
39 lines (32 loc) • 1.27 kB
JavaScript
import React from "react";
import Layout from "../components/layout";
import SEO from "../components/seo";
import dogIllustration from "../images/dog-illustration.svg";
function AboutPage() {
return (
<Layout>
<SEO
keywords={[`gatsby`, `tailwind`, `react`, `tailwindcss`]}
title="About"
/>
<section className="flex flex-col items-center md:flex-row">
<div className="md:w-2/3 md:mr-8">
<blockquote className="pl-4 font-serif leading-loose text-justify border-l-4 border-gray-900">
The point is... to live one's life in the full complexity of
what one is, which is something much darker, more contradictory,
more of a maelstrom of impulses and passions, of cruelty, ecstacy,
and madness, than is apparent to the civilized being who glides on
the surface and fits smoothly into the world.
</blockquote>
<cite className="block mt-4 text-xs font-bold text-right uppercase">
– Thomas Nagel
</cite>
</div>
<figure className="w-2/3 md:w-1/3">
<img alt="A dog relaxing" src={dogIllustration} />
</figure>
</section>
</Layout>
);
}
export default AboutPage;