Skip to content

Commit

Permalink
refactor: change footer logo icon
Browse files Browse the repository at this point in the history
  • Loading branch information
techemmy committed Nov 5, 2024
1 parent 3e1e518 commit 14f30ff
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Binary file added public/images/syncswap_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/syncswap_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 13 additions & 3 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
import Logo from "@/components/Logo";
import useImageTheme from "@/hooks/useImageTheme";
import { cn } from "@/lib/utils";

export default function Footer({ className = "" }: { className?: string }) {
const logoTheme = useImageTheme();
const footerLogo = {
light: "/images/syncswap_dark.png",
dark: "/images/syncswap_light.png",
};
return (
<footer
className={cn(
"md:px-32 pt-10 py-28 md:pb-32 grid grid-cols-2 md:grid-cols-5 gap-6 text-center md:text-left",
"md:px-32 pt-10 py-28 md:pb-32 grid grid-cols-2 md:grid-cols-5 gap-8 text-center md:text-left",
className,
)}
>
<Logo className="w-[48px] h-[48px] hidden md:block" />
<img
src={footerLogo[logoTheme]}
height={36}
alt="Sync swap logo"
className=" hidden md:block"
/>

<article className="grid gap-y-5">
<p className="text-card-foreground text-sm font-semibold">Community</p>
Expand Down

0 comments on commit 14f30ff

Please sign in to comment.