HamishMW/portfolio

How am i Suppossed to changed the logo on the meta and the logo on the navabar? Someone worked on this pls help

PughalBot opened this issue · 1 comments

How am i Suppossed to changed the logo on the meta and the logo on the navabar? Someone worked on this pls help

use .svg format of logo and replace the path tag in Monogram.js with the path provided in your svg file
`import { forwardRef, useId } from 'react';
import { classes } from 'utils/style';
import styles from './Monogram.module.css';

export const Monogram = forwardRef(({ highlight, className, ...props }, ref) => {
const id = useId();
const clipId = ${id}monogram-clip;
return (
<svg
aria-hidden
className={classes(styles.monogram, className)}
width="60"
height="60"
viewBox="0 0 360 360"
ref={ref}
{...props}
>


Put here the path of your svg file


<rect clipPath={url(#${clipId})} width="100%" height="100%" />
{highlight && (
<g clipPath={url(#${clipId})}>


)}

);
});
`