Skip to content

Commit

Permalink
Merge pull request #2 from therealpadams/welcome
Browse files Browse the repository at this point in the history
Welcome
  • Loading branch information
baggerspion committed Nov 18, 2020
2 parents a243ac0 + 264cf57 commit 9ad34f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/welcome.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export default function Welcome() {
return (
<section className="w-full py-20">
<h2 className="text-2xl">
Welcome to Baggerspion
</h2>
<h3 className="text-2xl leading-9 font-extrabold tracking-tight text-gray-900 sm:text-4xl sm:leading-10">A blog dedicated to engineering leadership.</h3>
</section>
)
}
2 changes: 2 additions & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import HeroSection from '../components/hero-section'
import Layout from '../components/layout'
import { getAllPosts } from '../lib/api'
import Head from 'next/head'
import WelcomeSection from '../components/welcome'

export default function Index({ allPosts }) {
const heroPost = allPosts[0]
Expand All @@ -13,6 +14,7 @@ export default function Index({ allPosts }) {
<title>Baggerspion</title>
</Head>
<HeroSection hero={heroPost} more={morePosts} />
<WelcomeSection />
</Layout>
</>
)
Expand Down

1 comment on commit 9ad34f5

@vercel
Copy link

@vercel vercel bot commented on 9ad34f5 Nov 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.