Skip to content

Commit

Permalink
Changed logo
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Sep 26, 2024
1 parent dd1268d commit a712ec7
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/nextjs/app/not-found/NotFound.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { NextPage } from "next";

export const NotFound: NextPage = () => {
return (
<div className="flex flex-col justify-center items-center min-h-screen p-2">
<div className="flex flex-col bg-blue-800 justify-center items-center min-h-screen p-2">
{/* Not Found Section */}
<div className="relative text-red-500 flex flex-col justify-center items-center bg-base-100 p-6 rounded-lg shadow-md w-full">
<p className="font-bold text-2xl">Page under development</p>
Expand Down
18 changes: 13 additions & 5 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use client";

import React, { useRef, useState } from "react";
import Image from "next/image";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { SwitchTheme } from "./SwitchTheme";
Expand Down Expand Up @@ -82,11 +83,18 @@ export const Header = () => {
</div>

<div className="navbar-center flex-1 flex justify-center items-center">
<Link href="/" passHref>
<div className="rounded-full bg-blue-900">
<span className={`text-xl font-bold hover:text-blue-600 ${pathname === "/" ? "" : ""}`}>🐰</span>
</div>
</Link>
<div className="w-7 h-7 relative">
<Link href="/" passHref>
<Image src="/logo.png" alt="Logo" width={50} height={50} style={{ objectFit: "contain" }} />
</Link>
{/* <Image
src="/usdc-logo.png" // Ensure you use the correct path for Next.js
alt="USDC Logo"
width={28} // 7 * 4px = 28px
height={28} // 7 * 4px = 28px
style={{ objectFit: "contain" }} // Ensures the image behaves like 'object-contain'
/> */}
</div>
</div>

<div className="navbar-end mr-4 relative" ref={menuRef}>
Expand Down
Binary file modified packages/nextjs/public/favicon.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 packages/nextjs/public/logo.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 packages/nextjs/public/old-favicon.png
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 a712ec7

Please sign in to comment.