Skip to content

Commit

Permalink
Add Open Source code link in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
monachilada committed Sep 17, 2024
1 parent ff778f4 commit a64ea61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/dito/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ const footerLinks = [
{ url: ROUTE_IMPRINT.url, text: "Impressum" },
{ url: ROUTE_PRIVACY.url, text: "Datenschutzerklärung" },
{ url: ROUTE_A11Y.url, text: "Barrierefreiheit" },
{
url: "https://github.com/digitalservicebund/digitalcheck-apps",
text: "Open Source Code",
},
];

const PageHeader = ({
Expand Down
6 changes: 3 additions & 3 deletions packages/shared/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export default function Footer({ links }: Readonly<{ links: LinkProps[] }>) {
<footer className="text-base leading-snug">
<Container paddingTop="48">
<div className="flex flex-wrap items-start justify-between gap-y-32">
<div className="flex flex-col flex-col-reverse sm:flex-row gap-y-16 gap-x-16">
<div className="py-4 pr-4">
<div className="flex flex-col flex-col-reverse sm:flex-row gap-y-16 gap-x-8">
<div className="py-4 pr-2">
<Image
url={bmiLogo}
width={120}
Expand All @@ -76,7 +76,7 @@ export default function Footer({ links }: Readonly<{ links: LinkProps[] }>) {
},
])}
</div>
<div className="flex flex-wrap gap-x-16 gap-y-8 ml-4">
<div className="flex flex-wrap gap-x-12 gap-y-8">
{renderLinks(linksFirstColumn)}
{renderLinks(linksSecondColumn)}
</div>
Expand Down

0 comments on commit a64ea61

Please sign in to comment.