Skip to content

Commit

Permalink
add github logo
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrostr committed Sep 7, 2024
1 parent 2f0fdbf commit 897518b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use client";

import React from "react";
import Image from "next/image";
import Link from "next/link";
import { SwitchTheme } from "~~/components/SwitchTheme";
import { RainbowKitCustomConnectButton } from "~~/components/scaffold-eth";
Expand All @@ -18,6 +19,10 @@ export const Header = () => {
<span className="font-bold leading-tight">FairDrop</span>
</div>
</Link>
<Link href="https://github.com/piotrostr/fairdrop" target="_blank" rel="noopener noreferrer" className="ml-2">
<Image src="/github-logo.svg" alt="GitHub" width={24} height={24} className="dark:hidden" />
<Image src="/github-logo-white.svg" alt="GitHub" width={24} height={24} className="hidden dark:block" />
</Link>
</div>
<div className="navbar-end flex-grow mr-4">
<RainbowKitCustomConnectButton />
Expand Down
1 change: 1 addition & 0 deletions packages/nextjs/public/github-logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/nextjs/public/github-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 897518b

Please sign in to comment.