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 ? (
|
content.icon ? (
|
||||||
<CardTitleIcon>
|
<CardTitleIcon>
|
||||||
<Image alt="icon" src={content.icon} fill />
|
<Image alt="icon" src={content.icon} fill sizes={'1.5rem'}/>
|
||||||
</CardTitleIcon>
|
</CardTitleIcon>
|
||||||
) : (<></>)
|
) : (<></>)
|
||||||
}
|
}
|
||||||
|
@ -184,7 +184,7 @@ const CardHeader = ({ content }: { content: Service }) => {
|
||||||
{
|
{
|
||||||
content.icon ? (
|
content.icon ? (
|
||||||
<CardTitleIcon>
|
<CardTitleIcon>
|
||||||
<Image alt="icon" src={content.icon} fill />
|
<Image alt="icon" src={content.icon} fill sizes={'1.5rem'}/>
|
||||||
</CardTitleIcon>
|
</CardTitleIcon>
|
||||||
) : (<></>)
|
) : (<></>)
|
||||||
}
|
}
|
||||||
|
|
|
@ -131,7 +131,7 @@ const CardTitle = ({ content, href }: { content: Service, href: string }) => {
|
||||||
{
|
{
|
||||||
content.icon ? (
|
content.icon ? (
|
||||||
<CardTitleIcon>
|
<CardTitleIcon>
|
||||||
<Image alt="icon" src={content.icon} fill />
|
<Image alt="icon" src={content.icon} fill sizes={'1.5rem'}/>
|
||||||
</CardTitleIcon>
|
</CardTitleIcon>
|
||||||
) : (<></>)
|
) : (<></>)
|
||||||
}
|
}
|
||||||
|
@ -154,7 +154,7 @@ const CardTitle = ({ content, href }: { content: Service, href: string }) => {
|
||||||
{
|
{
|
||||||
content.icon ? (
|
content.icon ? (
|
||||||
<CardTitleIcon>
|
<CardTitleIcon>
|
||||||
<Image alt="icon" src={content.icon} fill />
|
<Image alt="icon" src={content.icon} fill sizes={'1.5rem'}/>
|
||||||
</CardTitleIcon>
|
</CardTitleIcon>
|
||||||
) : (<></>)
|
) : (<></>)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue