From 15df874fa3f8b7e04058043840d7efafd816a970 Mon Sep 17 00:00:00 2001 From: Telkens Date: Thu, 9 Nov 2023 16:40:45 -0500 Subject: [PATCH 1/2] =?UTF-8?q?Todos=20los=20elementos=20del=20menuMobile?= =?UTF-8?q?=20se=20abr=C3=ADan=20en=20otra=20pesta=C3=B1a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/navBar/MenuMobile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/navBar/MenuMobile.tsx b/src/components/navBar/MenuMobile.tsx index 3dc679b..6296e92 100644 --- a/src/components/navBar/MenuMobile.tsx +++ b/src/components/navBar/MenuMobile.tsx @@ -26,7 +26,7 @@ const MenuMobile: FC = ({ updateState }) => { key={item.url} href={item.url} className="block p-4 transform hover:scale-125" - target='_blank' + target={item.url === 'https://actualizatucarro.blogspot.com' ? '_blank' : '_self'} > {item.label} From 6a198f47d677236c0ccd8f891ba669000bc0f3f9 Mon Sep 17 00:00:00 2001 From: Telkens Date: Thu, 9 Nov 2023 16:51:15 -0500 Subject: [PATCH 2/2] Updated nextConfig file to the Next.js 14 structure --- next.config.js | 52 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 12 deletions(-) diff --git a/next.config.js b/next.config.js index ace59b6..8c990ce 100644 --- a/next.config.js +++ b/next.config.js @@ -1,18 +1,46 @@ /** @type {import('next').NextConfig} */ const nextConfig = { images: { - domains: [ - 'i.ebayimg.com', - 'i.postimg.cc', - '1000marcas.net', - 'www.autopista.es', - 'assets.stickpng.com', - 'media.gm.com', - 'cdn-icons-png.flaticon.com', - 'user-images.githubusercontent.com', - 'postlmg.cc/7GxXNxBz', - ], // Agrega aquí los dominios permitidos para las imágenes + remotePatterns: [ + { + protocol: 'https', + hostname: 'i.ebayimg.com', + }, + { + protocol: 'https', + hostname: 'i.postimg.cc', + }, + { + protocol: 'https', + hostname: '1000marcas.net', + }, + { + protocol: 'https', + hostname: 'www.autopista.es', + }, + { + protocol: 'https', + hostname: 'assets.stickpng.com', + }, + { + protocol: 'https', + hostname: 'media.gm.com', + }, + { + protocol: 'https', + hostname: 'cdn-icons-png.flaticon.com', + }, + { + protocol: 'https', + hostname: 'user-images.githubusercontent.com', + }, + { + protocol: 'https', + hostname: 'postlmg.cc', + }, + // Agrega otras configuraciones de dominio según sea necesario + ], }, }; -module.exports = nextConfig; +module.exports = nextConfig; \ No newline at end of file