756b365adf
* Add start of Sanity CMS example * Update cover-image * Clean up example * Apply suggestions from code review Co-Authored-By: Shu Uesugi <shu@chibicode.com> * Make changes from review * Remove extra style * Apply suggestions from code review Co-Authored-By: Shu Uesugi <shu@chibicode.com> * Make tweaks for preview mode and normalize env naming * Update viewing preview step * Delete author.jpg * Delete image.jpg * Update README * Fix environment variable names * Project ID is needed by lambda * Improved steps * Fixed issue with the project URL example * Clarify line * Get the preview post correctly * preview = false * Get unique posts * Show preview mode on index page * typo fix and use next latest * Added related examples section Co-authored-by: Shu Uesugi <shu@chibicode.com> Co-authored-by: Luis Alvarez <luis@zeit.co>
30 lines
1.2 KiB
JavaScript
30 lines
1.2 KiB
JavaScript
import Container from './container'
|
|
import { EXAMPLE_PATH } from '../lib/constants'
|
|
|
|
export default function Footer() {
|
|
return (
|
|
<footer className="bg-accent-1 border-t border-accent-2">
|
|
<Container>
|
|
<div className="py-28 flex flex-col lg:flex-row items-center">
|
|
<h3 className="text-4xl lg:text-5xl font-bold tracking-tighter leading-tight text-center lg:text-left mb-10 lg:mb-0 lg:pr-4 lg:w-1/2">
|
|
Statically Generated with Next.js.
|
|
</h3>
|
|
<div className="flex flex-col lg:flex-row justify-center items-center lg:pl-4 lg:w-1/2">
|
|
<a
|
|
href="https://nextjs.org/docs/basic-features/pages"
|
|
className="mx-3 bg-black hover:bg-white hover:text-black border border-black text-white font-bold py-3 px-12 lg:px-8 duration-200 transition-colors mb-6 lg:mb-0"
|
|
>
|
|
Read Documentation
|
|
</a>
|
|
<a
|
|
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
|
|
className="mx-3 font-bold hover:underline"
|
|
>
|
|
View on GitHub
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</Container>
|
|
</footer>
|
|
)
|
|
}
|