Skip to content

Commit 1a43e3c

Browse files
Merge pull request #47 from StabilityNexus/sarthak
Fixed logo not displaying.
2 parents 81708fa + 4ad2436 commit 1a43e3c

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

app/[hackathon]/InteractionClient.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,6 @@ export default function InteractionClient() {
12531253
<div className="mt-2">
12541254
<Label className="text-sm">Or enter custom ERC20 token address:</Label>
12551255
<Input
1256-
value={depositToken.startsWith('0x') && !depositedTokens.includes(depositToken) ? depositToken : ''}
12571256
onChange={e => setDepositToken(e.target.value)}
12581257
placeholder="0x..."
12591258
className="bg-white border-gray-300 text-black"

components/navigation.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import { Button } from "@/components/ui/button"
66
import { Avatar, AvatarFallback } from "@/components/ui/avatar"
77
import { ConnectButton } from '@rainbow-me/rainbowkit'
88
import Image from "next/image"
9+
const getImagePath = (path: string) => {
10+
return path;
11+
};
912

1013
export default function Navigation() {
1114
const pathname = usePathname()
@@ -17,7 +20,7 @@ export default function Navigation() {
1720
<Link href="/" className="flex items-center gap-3 hover:opacity-80 transition-opacity">
1821
<div className="w-12 h-12 flex items-center justify-center">
1922
<Image
20-
src="/block.png"
23+
src={getImagePath("/block.png")}
2124
alt="HackHub Logo"
2225
width={48}
2326
height={48}
@@ -39,7 +42,7 @@ export default function Navigation() {
3942
: "text-gray-700 hover:text-amber-800 hover:bg-amber-50/80"
4043
} transition-all duration-200 font-medium`}
4144
>
42-
Explorer Hackathons
45+
Explore Hackathons
4346
</Button>
4447
</Link>
4548
<Link href="/createHackathon">

0 commit comments

Comments
 (0)