mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 11:36:38 +08:00
img
This commit is contained in:
parent
0f57257921
commit
6a6a2490ed
@ -1,5 +1,5 @@
|
|||||||
import { useEffect, useRef, useMemo, useCallback, useState } from "react";
|
import { useEffect, useRef, useMemo, useCallback, useState } from "react";
|
||||||
import Image from 'next/image'; // Import the Image component from Next.js
|
//import Image from 'next/image'; // Import the Image component from Next.js
|
||||||
|
|
||||||
import styles from "./home.module.scss";
|
import styles from "./home.module.scss";
|
||||||
|
|
||||||
@ -182,7 +182,7 @@ export function SideBar(props: { className?: string }) {
|
|||||||
</div>
|
</div>
|
||||||
<div className={styles["sidebar-logo"] + " no-dark"}>
|
<div className={styles["sidebar-logo"] + " no-dark"}>
|
||||||
{/* Replace img with Image component and add an alt attribute */}
|
{/* Replace img with Image component and add an alt attribute */}
|
||||||
<Image
|
<img
|
||||||
src="https://assets.cdn.personio.de/logos/85756/default/fc91989a7a2e899e3655593e271461aa.jpg"
|
src="https://assets.cdn.personio.de/logos/85756/default/fc91989a7a2e899e3655593e271461aa.jpg"
|
||||||
width="60"
|
width="60"
|
||||||
height="60" // You need to add the height property as well
|
height="60" // You need to add the height property as well
|
||||||
|
Loading…
Reference in New Issue
Block a user