Skip to content

Commit

Permalink
feat(image-component): integrate next/image component
Browse files Browse the repository at this point in the history
it's not ready from next yet, there's a PR in the works to fix the current wrapper issues
  • Loading branch information
MathiasKandelborg committed Oct 29, 2020
1 parent 7f8884c commit b5a77a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/UI/Pages/Home/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ const HomePage: React.FC<IHomePageProps> = (props) => {
<Grid component={MUI.Paper} className={classes.root}>
<Image
className={classes.headerImg}
sizes="30vw"
sizes="60vw"
priority
quality={100}
width={960}
height={480}
// /images/TRUE-logo/TRUE-logo-social-large-blue.png 2x"
src="/images/TRUE-logo/TRUE-logo-social-large-blue.png"
alt="TRUE Framework Logo Header"
/>
Expand Down

0 comments on commit b5a77a1

Please sign in to comment.