Skip to content

Commit 395775e

Browse files
committed
tidy footer
1 parent 6d0720a commit 395775e

1 file changed

Lines changed: 6 additions & 16 deletions

File tree

app/(app)/layout.tsx

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ import { Tables } from "@/supabase/database";
77
import { constructMetadata } from "@/utils/metadata";
88
import { createClient } from "@/utils/supabase/server";
99
import { GoogleAnalytics } from "@next/third-parties/google";
10-
import { IconAffiliate } from "@tabler/icons-react";
1110
import Script from "next/script";
1211

13-
import IconGithub from "@/components/icons/github";
1412
import IconNetlify from "@/components/icons/netlify";
1513
import IconNextjs from "@/components/icons/nextjs";
1614
import IconSupabase from "@/components/icons/supabase";
@@ -57,7 +55,7 @@ export default async function RootLayout({
5755
<Header />
5856
{children}
5957
<div className="mx-4 mt-4 flex flex-col pb-20 align-top text-xs text-zinc-500">
60-
<div className="mb-8 items-center flex gap-4 pl-5">
58+
<div className="mb-4 items-center flex flex-wrap gap-4 pl-5">
6159
<Link
6260
href="https://nextjs.org"
6361
target="_blank"
@@ -82,20 +80,12 @@ export default async function RootLayout({
8280
>
8381
Powered by <IconSupabase className="size-4 inline" />
8482
</Link>
85-
<Link
86-
href="https://github.com/smashing-team/smashing.tools"
87-
target="_blank"
88-
rel="nofollow"
89-
className="items-center flex gap-1"
90-
>
91-
Open Source on <IconGithub className="size-4 inline" />
92-
</Link>
9383
</div>
94-
<span className="font-semibold flex mb-1">
95-
<IconAffiliate className="mr-1 size-4 shrink-0" /> Affiliate
96-
Link Disclosure
97-
</span>
98-
<p className="pl-5">
84+
85+
<p className="pl-5 pr-5">
86+
<span className="font-semibold flex mb-1">
87+
Affiliate Link Disclosure
88+
</span>
9989
Some links on this website are affiliate links, meaning if
10090
you click on them and make a purchase, we may receive a
10191
commission. This supports smashing.tools, enabling us to

0 commit comments

Comments
 (0)