diff --git a/src/app/page.tsx b/src/app/page.tsx index af22328..699d452 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,6 +9,7 @@ import BrandCategory from '~/components/containerCards/containerCardsBrands'; import PaymentMethodsList from '~/components/paymentMethod/paymentMethodsList'; import ReviewsContainer from '~/components/containerCards/containerCardsReviews'; import reviews from '~/mockData/mockReviwes'; +import Banner from '~/components/Banner'; export default function Home() { createIconsTypes(); @@ -16,9 +17,10 @@ export default function Home() { }> - + + ); } diff --git a/src/assets/img/banners/BannerBg.webp b/src/assets/img/banners/BannerBg.webp new file mode 100644 index 0000000..233d45c Binary files /dev/null and b/src/assets/img/banners/BannerBg.webp differ diff --git a/src/assets/img/banners/BannerTitle.webp b/src/assets/img/banners/BannerTitle.webp new file mode 100644 index 0000000..a7750b5 Binary files /dev/null and b/src/assets/img/banners/BannerTitle.webp differ diff --git a/src/assets/img/index.ts b/src/assets/img/index.ts index ba724be..a4fb1d7 100644 --- a/src/assets/img/index.ts +++ b/src/assets/img/index.ts @@ -30,6 +30,8 @@ import BannerWomenAndCar from './banners/BannerWomenAndCar.webp'; import CategoryFarolas from './banners/CategoryFarolas.webp'; import FlyerCategores from './banners/FlyerCategories.webp'; import LogoCardBanner from './banners/LogoCardBanner.webp'; +import BannerBg from './banners/BannerBg.webp' +import BannerTitle from './banners/BannerTitle.webp' // Importa las imágenes de la carpeta 'categories' import Cat01 from './categories/Cat01.png'; @@ -77,6 +79,8 @@ export const Images = { CategoryFarolas, FlyerCategores, LogoCardBanner, + BannerBg, + BannerTitle }, categories: { Cat01, diff --git a/src/components/Banner.tsx b/src/components/Banner.tsx new file mode 100644 index 0000000..f08070a --- /dev/null +++ b/src/components/Banner.tsx @@ -0,0 +1,32 @@ +import Image from 'next/image'; +import React from 'react'; +import { Images } from '~/assets/img'; + +const Banner: React.FC = () => { + return ( +
+
+ {/* Fondo del banner (imagen) */} +
+ Fondo del Blog +
+
+
+
+ {/* Imagen del título con efecto de paralaje */} + Título del Blog +
+
+ ); +}; + +export default Banner; \ No newline at end of file