Skip to content

Commit

Permalink
feat: Update Footer component to improve layout and add useful links
Browse files Browse the repository at this point in the history
  • Loading branch information
jnaraujo committed Aug 4, 2024
1 parent c7863ab commit 948defb
Showing 1 changed file with 42 additions and 10 deletions.
52 changes: 42 additions & 10 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,48 @@
import Link from "next/link";

const Footer: React.FC = () => (
<footer className="py-4 text-center text-sm text-gray-500">
Feito com ❤️ por{" "}
<Link
href="https://jnaraujo.com/"
target="_blank"
className="text-violet-600 underline hover:text-violet-700"
>
Jônatas Araújo
</Link>{" "}
- {new Date().getFullYear()}
<footer className="container grid grid-cols-1 gap-4 py-4 text-center text-gray-500 md:grid-cols-2 md:text-start">
<p className="text-sm text-zinc-500 dark:text-stone-400">
Feito com ❤️ por{" "}
<Link
href="https://jnaraujo.com/"
target="_blank"
className="text-violet-600 underline hover:text-violet-700 dark:text-violet-400"
>
Jônatas Araújo
</Link>{" "}
- {new Date().getFullYear()}
</p>

<div className="md:justify-self-end">
<h5 className="text-lg font-semibold text-zinc-700">Links úteis:</h5>
<ul className="space-y-1">
<li>
<a
className="text-sm text-violet-600 underline hover:text-violet-700 dark:text-violet-400"
href="/contador-de-palavras"
>
Contador de Palavras
</a>
</li>
<li>
<a
className="text-sm text-violet-600 underline hover:text-violet-700 dark:text-violet-400"
href="/editor"
>
Editor de Leiturabilidade
</a>
</li>
<li>
<a
className="text-sm text-violet-600 underline hover:text-violet-700 dark:text-violet-400"
href="/blog"
>
Blog
</a>
</li>
</ul>
</div>
</footer>
);

Expand Down

0 comments on commit 948defb

Please sign in to comment.