diff --git a/next.config.js b/next.config.js index bf93b01..6950269 100644 --- a/next.config.js +++ b/next.config.js @@ -5,7 +5,7 @@ const nextConfig = { remotePatterns: [ { protocol: 'https', - hostname: 'avatars3.githubusercontent.com' + hostname: '*' // Add image hostname to keep secure } ] } diff --git a/package-lock.json b/package-lock.json index 4ac886e..23d9889 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "linksforall", - "version": "3.0.1", + "version": "3.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "linksforall", - "version": "3.0.1", + "version": "3.0.2", "license": "MIT", "dependencies": { "@types/node": "18.11.18", diff --git a/package.json b/package.json index 157c7d1..dbb80c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "linksforall", - "version": "3.0.1", + "version": "3.0.2", "author": "Bruno Rodrigues", "repository": "itbruno/linksforall", "license": "MIT", diff --git a/src/themes/alpha/components/Header.tsx b/src/themes/alpha/components/Header.tsx index 85a153f..6d42e46 100644 --- a/src/themes/alpha/components/Header.tsx +++ b/src/themes/alpha/components/Header.tsx @@ -17,6 +17,7 @@ function Header({ fullname, image, role, socialLinks }: UserProps) { alt={fullname} width={90} height={90} + priority /> )} diff --git a/src/themes/dracula/components/Header.tsx b/src/themes/dracula/components/Header.tsx index 3daf010..f556f02 100644 --- a/src/themes/dracula/components/Header.tsx +++ b/src/themes/dracula/components/Header.tsx @@ -15,6 +15,7 @@ function Header({ fullname, image, role, socialLinks }: UserProps) { alt={fullname} width={90} height={90} + priority /> )}