Added expected size to next/image tags
This commit is contained in:
parent
2ff6039acf
commit
15aa9a163a
2 changed files with 4 additions and 4 deletions
|
@ -171,7 +171,7 @@ const CardHeader = ({ content }: { content: Service }) => {
|
|||
{
|
||||
content.icon ? (
|
||||
<CardTitleIcon>
|
||||
<Image alt="icon" src={content.icon} fill />
|
||||
<Image alt="icon" src={content.icon} fill sizes={'1.5rem'}/>
|
||||
</CardTitleIcon>
|
||||
) : (<></>)
|
||||
}
|
||||
|
@ -184,7 +184,7 @@ const CardHeader = ({ content }: { content: Service }) => {
|
|||
{
|
||||
content.icon ? (
|
||||
<CardTitleIcon>
|
||||
<Image alt="icon" src={content.icon} fill />
|
||||
<Image alt="icon" src={content.icon} fill sizes={'1.5rem'}/>
|
||||
</CardTitleIcon>
|
||||
) : (<></>)
|
||||
}
|
||||
|
|
|
@ -131,7 +131,7 @@ const CardTitle = ({ content, href }: { content: Service, href: string }) => {
|
|||
{
|
||||
content.icon ? (
|
||||
<CardTitleIcon>
|
||||
<Image alt="icon" src={content.icon} fill />
|
||||
<Image alt="icon" src={content.icon} fill sizes={'1.5rem'}/>
|
||||
</CardTitleIcon>
|
||||
) : (<></>)
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ const CardTitle = ({ content, href }: { content: Service, href: string }) => {
|
|||
{
|
||||
content.icon ? (
|
||||
<CardTitleIcon>
|
||||
<Image alt="icon" src={content.icon} fill />
|
||||
<Image alt="icon" src={content.icon} fill sizes={'1.5rem'}/>
|
||||
</CardTitleIcon>
|
||||
) : (<></>)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue