Full Toolkit for Next-Level Domain Analysis
Rework site footer ✨
Felix Wotschofskyb63550df86e9
diff --git a/app/_components/footer.tsx b/app/_components/footer.tsxindex 36fd4bf..cc4cca1 100644--- a/app/_components/footer.tsx+++ b/app/_components/footer.tsx@@ -1,3 +1,4 @@+import Link from 'next/link';import type { FC, HTMLAttributes } from 'react';import { FaGithub, FaHeart } from 'react-icons/fa';@@ -6,6 +7,8 @@ import { Button } from '@/components/ui/button';import PoweredByVercel from '@/assets/powered-by-vercel.svg';import { cn } from '@/lib/utils';+import { Logo } from './logo';+type VercelBadgeProps = HTMLAttributes<HTMLAnchorElement>;const VercelBadge: FC<VercelBadgeProps> = ({ className, ...props }) => (@@ -23,10 +26,10 @@ const VercelBadge: FC<VercelBadgeProps> = ({ className, ...props }) => (export const Footer: FC = () => (<footer className="w-full p-4 md:px-8">- <div className="flex flex-col items-center gap-4 border-t pt-4">- <VercelBadge className="md:hidden" />+ <div className="flex flex-col items-start gap-6 border-t pt-4">+ <div className="flex w-full flex-col items-center justify-between gap-3 sm:flex-row">+ <Logo />- <div className="flex w-full items-center justify-between"><p className="text-sm">Created with{' '}<FaHeart className="inline text-red-500" fontSize="1.25rem" />@@ -41,19 +44,31 @@ export const Footer: FC = () => (Felix Wotschofsky</a></p>+ </div>- <VercelBadge className="hidden md:block" />+ <div className="flex w-full items-center justify-between">+ <div className="flex flex-col gap-4">+ <div>+ <h2 className="mb-1 font-semibold">Free Tools</h2>+ <div className="space-y-1 text-sm underline decoration-dotted underline-offset-4 [&>*]:block">+ <Link href="/">DNS Lookup</Link>+ </div>+ </div>+ </div>- <Button variant="ghost" asChild>- <a- href="https://github.com/wotschofsky/domain-digger"- target="_blank"- rel="noopener"- >- <FaGithub className="h-6 w-6" />- <span className="sr-only">GitHub Repository</span>- </a>- </Button>+ <div className="flex flex-col gap-3">+ <Button variant="ghost" asChild>+ <a+ href="https://github.com/wotschofsky/domain-digger"+ target="_blank"+ rel="noopener"+ >+ <FaGithub className="mr-1 h-6 w-6" />+ <span>Source on GitHub</span>+ </a>+ </Button>+ <VercelBadge />+ </div></div></div></footer>