docs: improve design (#2097)

This commit is contained in:
Marvin Hagemeister
2023-11-29 22:50:51 +01:00
committed by GitHub
parent 9ab8651018
commit de55d80dee
9 changed files with 306 additions and 65 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const LINKS = [
export default function Footer() {
return (
<footer class="border-t-2 border-gray-200 md:h-16 flex my-8 justify-center">
<footer class="border-t-2 border-gray-200 md:h-16 flex mt-16 justify-center md:mx-16">
<div class="flex flex-col sm:flex-row gap-4 justify-between items-center max-w-screen-xl mx-auto w-full sm:px-6 md:px-8 p-4">
<div class="text-gray-600 text-center">
<span>© {new Date().getFullYear()} the Fresh authors</span>
+1 -1
View File
@@ -24,7 +24,7 @@ export default function NavigationBar(
const isHome = props.active == "/";
return (
<nav class={"flex " + props.class ?? ""}>
<ul class="flex justify-center items-center gap-2 sm:gap-4 mx-4 my-2 sm:my-6 flex-wrap">
<ul class="flex justify-center items-center gap-2 sm:gap-4 mx-4 my-2 sm:my-6 flex-wrap lg:mx-8 2xl:mr-0">
{items.map((item) => (
<li>
<a