mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-09-11 23:09:22 +02:00
chore: remove deprecated warning Next.js image un-configured qualities
Ref: https://nextjs.org/docs/messages/next-image-unconfigured-qualities
This commit is contained in:
@@ -95,7 +95,6 @@ export const BlogPostContent: React.FC<BlogPostContentProps> = async (
|
|||||||
alt={alt}
|
alt={alt}
|
||||||
width={1000}
|
width={1000}
|
||||||
height={1000}
|
height={1000}
|
||||||
quality={100}
|
|
||||||
className="size-auto"
|
className="size-auto"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
|
@@ -9,7 +9,6 @@ export const AboutLogo: React.FC<AboutLogoProps> = () => {
|
|||||||
return (
|
return (
|
||||||
<div className="max-h-[370px] max-w-[370px] px-2 py-6">
|
<div className="max-h-[370px] max-w-[370px] px-2 py-6">
|
||||||
<Image
|
<Image
|
||||||
quality={100}
|
|
||||||
src="/images/logo.webp"
|
src="/images/logo.webp"
|
||||||
alt={t("meta.title")}
|
alt={t("meta.title")}
|
||||||
width={800}
|
width={800}
|
||||||
|
@@ -32,7 +32,6 @@ export const PortfolioItem: React.FC<PortfolioItemProps> = (props) => {
|
|||||||
>
|
>
|
||||||
<div className="flex justify-center">
|
<div className="flex justify-center">
|
||||||
<Image
|
<Image
|
||||||
quality={100}
|
|
||||||
className="size-[300px] rounded-xl transition-opacity duration-500 group-hover:opacity-20 dark:group-hover:opacity-5"
|
className="size-[300px] rounded-xl transition-opacity duration-500 group-hover:opacity-20 dark:group-hover:opacity-5"
|
||||||
width={300}
|
width={300}
|
||||||
height={300}
|
height={300}
|
||||||
|
@@ -38,7 +38,6 @@ export const SkillItem: React.FC<SkillItemProps> = (props) => {
|
|||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
className="inline size-16"
|
className="inline size-16"
|
||||||
quality={100}
|
|
||||||
width={64}
|
width={64}
|
||||||
height={64}
|
height={64}
|
||||||
alt={`Logo of ${skillName}`}
|
alt={`Logo of ${skillName}`}
|
||||||
|
@@ -14,7 +14,6 @@ export const Header: React.FC<HeaderProps> = () => {
|
|||||||
<h1>
|
<h1>
|
||||||
<Link href="/" className="flex items-center justify-center">
|
<Link href="/" className="flex items-center justify-center">
|
||||||
<Image
|
<Image
|
||||||
quality={100}
|
|
||||||
className="w-16"
|
className="w-16"
|
||||||
src="/images/logo.webp"
|
src="/images/logo.webp"
|
||||||
width={800}
|
width={800}
|
||||||
|
@@ -14,7 +14,6 @@ export const LocaleFlag: React.FC<LocaleFlagProps> = (props) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Image
|
<Image
|
||||||
quality={100}
|
|
||||||
width={35}
|
width={35}
|
||||||
height={35}
|
height={35}
|
||||||
src={`/images/locales/${locale}.svg`}
|
src={`/images/locales/${locale}.svg`}
|
||||||
|
Reference in New Issue
Block a user