Skip to content

Commit 1f2688f

Browse files
committed
Add footer
1 parent b063a01 commit 1f2688f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

apps/web/app/blog/[slug]/page.tsx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,42 @@ export default async function Page({ params }: { params: { slug: string } }) {
3333
{page.data.description}
3434
</h2>
3535
<MDX />
36+
<Footer />
3637
</main>
3738
)
3839
}
3940

41+
function Footer() {
42+
return (
43+
<>
44+
<hr className="mb-12" />
45+
<footer className="flex sm:flex-row flex-col gap-4 ">
46+
<Image
47+
src={pomber}
48+
alt="Rodrigo Pombo"
49+
width={64}
50+
height={64}
51+
priority={true}
52+
className="rounded-lg my-0 self-center sm:self-start"
53+
/>
54+
<p className="min-w-0 self-start my-0 text-pretty">
55+
<strong>Rodrigo Pombo</strong>, a.k.a.{" "}
56+
<a href="https://x.com/pomber">
57+
<strong>@pomber</strong>
58+
</a>
59+
, is a software overengineer working on{" "}
60+
<Link href="/" className="whitespace-nowrap">
61+
Code Hike
62+
</Link>
63+
, an open-source library that bridges the gap between Markdown and
64+
React to help developers{" "}
65+
<strong>create rich technical content for the modern web</strong>.
66+
</p>
67+
</footer>
68+
</>
69+
)
70+
}
71+
4072
import pomber from "./pomber.jpg"
4173
import Link from "next/link"
4274

0 commit comments

Comments
 (0)