Skip to content

Instantly share code, notes, and snippets.

@ryanhanwu
Created January 22, 2021 19:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ryanhanwu/45dde9a00a7abc6ec35fb51d399b3283 to your computer and use it in GitHub Desktop.
Save ryanhanwu/45dde9a00a7abc6ec35fb51d399b3283 to your computer and use it in GitHub Desktop.
A gist for first Tailwind CSS page
export default function Home() {
return (
<main className="container mx-auto px-4">
<div>
<section className="py-12 px-4 text-center">
<div className="w-full max-w-2xl mx-auto">
<span className="text-sm font-semibold">Next.js + Tailwind CSS + Firebase Cloud Functions + Github Actions</span>
< h2 className = "text-5xl mt-2 mb-6 leading-tight font-semibold font-heading" >Project Header</h2>
<a className="text-indigo-600 hover:underline" href="#">Learn more &raquo;</a>
</div>
</section>
</div>
</main>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment