Skip to content

Commit 6a94140

Browse files
committed
change logo
1 parent 136703a commit 6a94140

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

declarations.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module '*.png' {
2+
const value: string;
3+
export default value;
4+
}
File renamed without changes.

public/reactimeLogo.png

6.46 KB
Loading

src/pages/components/NavBar.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Fragment, useEffect, useState } from "react";
22
import { Disclosure, Menu, Transition } from "@headlessui/react";
33
import { Bars3Icon, BellIcon, XMarkIcon } from "@heroicons/react/24/outline";
4+
import Image from "next/image";
5+
import logo from "../../../public/reactimeLogo.png"
46

57
function classNames(...classes: string[]) {
68
return classes.filter(Boolean).join(" ");
@@ -35,16 +37,18 @@ export default function NavBar() {
3537
<div className="mx-6 flex h-16 items-center sm:justify-between md:justify-between lg:justify-between">
3638
<div className="flex items-center">
3739
<div className="ml-6 flex-shrink-0">
38-
<img
40+
<Image
3941
className="block h-9 w-auto lg:hidden"
40-
src="https://i.imgur.com/ELBAyVb.png"
42+
//src="https://i.imgur.com/ELBAyVb.png"
4143
//src="blackWhiteSquareIcon.png"
44+
src={logo}
4245
alt="Logo"
4346
/>
44-
<img
47+
<Image
4548
className="hidden h-9 w-auto lg:block"
46-
src="https://i.imgur.com/ELBAyVb.png"
49+
//src="https://i.imgur.com/ELBAyVb.png"
4750
// src="blackWhiteSquareIcon.png"
51+
src={logo}
4852
alt="Logo"
4953
/>
5054
</div>

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"**/*.tsx",
2323
"**/*.cjs",
2424
"**/*.mjs",
25-
"src/pages/components/GifFeatures.js"
25+
"src/pages/components/GifFeatures.js",
26+
"./declarations.d.ts"
2627
],
2728
"exclude": ["node_modules"]
2829
}

0 commit comments

Comments
 (0)