Skip to content

Commit

Permalink
use Next Image component
Browse files Browse the repository at this point in the history
  • Loading branch information
octokatherine committed Feb 26, 2023
1 parent ca3025f commit a103f53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Head from 'next/head'
import Image from 'next/image'
import { LanguageDropDown } from '../components/LanguageDropDown'
import Link from 'next/link'
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
Expand Down Expand Up @@ -147,7 +148,7 @@ const Home = () => {
<div className="flex-1 w-full bg-gray-800" />
</div>
<div className="px-4 mx-auto max-w-7xl sm:px-6">
<img
<Image
className="relative rounded-lg shadow-lg"
src="/screenshot.png"
alt="App screenshot"
Expand Down

0 comments on commit a103f53

Please sign in to comment.