Skip to content

Commit

Permalink
replaces next/Image with img
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhijeetMankani committed Dec 4, 2023
1 parent 05500fd commit 6b496c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/components/Home/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import { useState, useEffect } from 'react';

import Image from 'next/image';

function map(value: number, start1: number, stop1: number, start2: number, stop2: number){
let len1 = stop1 - start1;
let len2 = stop2 - start2;
Expand Down Expand Up @@ -46,7 +44,7 @@ export default function Logo() {
}, [setlogoHeight, setlogoWidth, setIsAtTop]);

return (
<Image
<img
src="/logo new.png"
alt="drone image"
id="logo"
Expand Down
4 changes: 1 addition & 3 deletions src/components/Navbar/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import { useState, useEffect } from 'react';

import Image from 'next/image'

function map(value: number, start1: number, stop1: number, start2: number, stop2: number){
let len1 = stop1 - start1;
let len2 = stop2 - start2;
Expand Down Expand Up @@ -44,7 +42,7 @@ export default function Logo() {
}, [setIsAtTop, setLogoLeft]);

return (
<Image
<img
src="/logo new.png"
alt="drone image"
id="logo"
Expand Down

0 comments on commit 6b496c2

Please sign in to comment.