#the image resizing thing
1 messages · Page 1 of 1 (latest)
this is the code if someone wants to check.
import Image from 'next/image';
import styles from './header.module.css';
import {ytIconPath,searchIconPath,navigationIconPath} from '../../static/images'
export function YoutubeIcon(){
return(
<div className={styles.title}>
<div className={styles.ytIcon}>
<Image src={ytIconPath}
height={100}
width={100}
alt="Youtube Icon"/>
</div>
YouTube
</div>
);
}