I'm trying to load a image in my next.js project, however i'm using the native from react. The image is not loading in the page, so i'll be linkin my two js files (styles and the component) bellow. I hope you can help me
import {Container, ProfileImage, Text} from './styles'
export default function Profile() {
return (
<Container>
<ProfileImage
src="../../../public/images/profile.png"
/>
</Container>
)
}
import styled from 'styled-components'
export const Container = styled.div`
display:flex;
align-items:center;
align-items:center;
flex-direction:column;
`
export const ProfileImage = styled.img`
border-radius:50%;
width:300px;
height:300px;
border: 1px, black;
`
EDIT: The full code is in: https://github.com/FranciscoJLucca/franciscolucca.github.io