Skip to content

Commit

Permalink
testing image optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo authored and Marcelo committed Feb 16, 2024
1 parent d70e1d5 commit 5d734b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/components/Banner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import Image from 'next/image';
import React, { useState } from 'react';
import ModalVideo from 'react-modal-video';
import bannerRayssa from '@/public/assets/banner/rayssa.png'

const Banner = () => {
const [isOpen, setOpen] = useState(false)
Expand Down Expand Up @@ -68,7 +69,7 @@ const Banner = () => {
</div>

<div className='col-span-6 flex justify-center'>
<Image src="./assets/banner/rayssa.png" alt="Foto da Rayssa uma menina, morena de cabelo longo sorrindo." priority />
<Image src={bannerRayssa} alt="Foto da Rayssa uma menina, morena de cabelo longo sorrindo." priority />
</div>
</div>
</div>
Expand Down

0 comments on commit 5d734b4

Please sign in to comment.