docs: Enhanced CSR Layout (#1908)

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Birk Skyum
2023-10-12 12:23:37 +00:00
committed by GitHub
co-authored by Marvin Hagemeister
parent 7d954584a6
commit eb41b65d4c
6 changed files with 109 additions and 136 deletions
+1 -22
View File
@@ -17,7 +17,7 @@ const LINKS = [
export default function Footer() {
return (
<footer class="border-t-2 border-gray-200 bg-gray-100 md:h-16 flex gap-4 justify-center">
<footer class="border-t-2 border-gray-200 md:h-16 flex my-8 justify-center">
<div class="flex flex-col sm:flex-row gap-4 justify-between items-center max-w-screen-xl mx-auto w-full px(4 sm:6 md:8) p-4">
<div class="text(gray-600 center)">
<span>© {new Date().getFullYear()} the Fresh authors</span>
@@ -30,27 +30,6 @@ export default function Footer() {
</a>
))}
</div>
<ul class="flex justify-center items-center gap-4 md:ml-4 mt-2 mb-4 sm:mt-0 sm:mb-0 flex-wrap">
<li class="flex items-center">
<a
href="https://github.com/denoland/fresh"
class="hover:text-green-600 inline-block transition"
aria-label="GitHub"
>
<Icons.GitHub />
</a>
</li>
<li class="flex items-center">
<a
href="https://discord.com/invite/deno"
class="hover:text-green-600 inline-block transition"
aria-label="Discord"
>
<Icons.Discord />
</a>
</li>
</ul>
</div>
</footer>
);