Skip to content

Commit

Permalink
nextjs: use suggested 'priority' property on Image
Browse files Browse the repository at this point in the history
  • Loading branch information
chadoh committed Jul 2, 2024
1 parent 8c3602f commit 4b9dfa6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/organisms/campaign/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ export function Campaign() {
<h6>Starfund #821</h6>
<h1>Planetary open-source photography</h1>
<AuthorInfo author="Sam Stroop" dateTime="21 hours ago" image={avatar} />
<Image src={picture} width={642} height={294} alt="project image" />
<Image
priority
src={picture}
width={642}
height={294}
alt="project image"
/>
<p>
Hello! My name is Sam and I’m working with a team of three other
passionate individuals to take photos of the planets in our solar system
Expand Down

0 comments on commit 4b9dfa6

Please sign in to comment.