11import React from 'react' ;
2+ import { ImageContainer } from './ImageContainer' ;
23
34import './Home.scss'
45
@@ -28,7 +29,7 @@ export const Home: React.FC = () => {
2829 return (
2930 < div className = "home-page-b2c" >
3031 < section className = "main-banner" >
31- < img src = { bannerImage1 } alt = { bannerFileName1 } className = "main-banner-image" />
32+ < ImageContainer imgUrl = { bannerImage1 } alt = { bannerFileName1 } imgClassName = "main-banner-image" />
3233 < div className = "main-banner-title-wrap" >
3334 < div className = "container" >
3435 < h1 className = "goods-heading" > Go from bean to cup at the touch of a button</ h1 >
@@ -57,7 +58,7 @@ export const Home: React.FC = () => {
5758 < button type = "button" className = "epbtn primary learn-more-btn" > Learn more</ button >
5859 </ div >
5960 </ div >
60- < img src = { productImage1 } alt = { productFileName1 } className = "main-goods-image" />
61+ < ImageContainer imgUrl = { productImage1 } alt = { productFileName1 } imgClassName = "main-goods-image" />
6162 </ div >
6263 </ li >
6364 < li className = "main-goods__cell" >
@@ -68,7 +69,7 @@ export const Home: React.FC = () => {
6869 < p className = "goods-description" > Make the most of your fresh ingredients with the 3X Bluicer Pro. This high performance blender juicer features our Kinetix®</ p >
6970 < button type = "button" className = "epbtn primary learn-more-btn" > Add to cart</ button >
7071 </ div >
71- < img src = { productImage2 } alt = { productFileName2 } className = "main-goods-image" />
72+ < ImageContainer imgUrl = { productImage2 } alt = { productFileName2 } imgClassName = "main-goods-image" />
7273 </ div >
7374 </ li >
7475 < li className = "main-goods__cell" >
@@ -81,7 +82,7 @@ export const Home: React.FC = () => {
8182 </ p >
8283 < button type = "button" className = "epbtn primary learn-more-btn" > Ice cream makers</ button >
8384 </ div >
84- < img src = { productImage3 } alt = { productFileName3 } className = "main-goods-image" />
85+ < ImageContainer imgUrl = { productImage3 } alt = { productFileName3 } imgClassName = "main-goods-image" />
8586 </ div >
8687 </ li >
8788 < li className = "main-goods__cell" >
@@ -93,7 +94,7 @@ export const Home: React.FC = () => {
9394 Free shipping on all orders of $50!
9495 </ p >
9596 </ div >
96- < img src = { productImage4 } alt = { productFileName4 } className = "main-goods-image" />
97+ < ImageContainer imgUrl = { productImage4 } alt = { productFileName4 } imgClassName = "main-goods-image" />
9798 </ div >
9899 </ li >
99100 < li className = "main-goods__cell" >
@@ -104,7 +105,7 @@ export const Home: React.FC = () => {
104105 View Our Products in 360
105106 </ p >
106107 </ div >
107- < img src = { productImage5 } alt = { productFileName5 } className = "main-goods-image" />
108+ < ImageContainer imgUrl = { productImage5 } alt = { productFileName5 } imgClassName = "main-goods-image" />
108109 </ div >
109110 </ li >
110111 </ ul >
@@ -113,7 +114,7 @@ export const Home: React.FC = () => {
113114 </ section >
114115
115116 < section className = "main-banner banner-section-2" >
116- < img src = { bannerImage2 } alt = { bannerFileName2 } className = "main-banner-image" />
117+ < ImageContainer imgUrl = { bannerImage2 } alt = { bannerFileName2 } imgClassName = "main-banner-image" />
117118 < div className = "main-banner-title-wrap" >
118119 < div className = "container" >
119120 < h2 className = "goods-heading" > Immersion Blenders</ h2 >
@@ -141,7 +142,7 @@ export const Home: React.FC = () => {
141142 < p className = "goods-title" > Our blenders were voted the best value 3 years in a row</ p >
142143 < p className = "goods-description" > “Bellevie is a quality blender maker that will process your ingredients into smooth, creamy perfection”</ p >
143144 </ div >
144- < img src = { productImage6 } alt = { productFileName6 } className = "main-goods-image" />
145+ < ImageContainer imgUrl = { productImage6 } alt = { productFileName6 } imgClassName = "main-goods-image" />
145146 </ div >
146147 </ li >
147148 < li className = "main-goods__cell" >
@@ -151,7 +152,7 @@ export const Home: React.FC = () => {
151152 < p className = "goods-title" > Stainless steel perfection</ p >
152153 < p className = "goods-description" > Our blenders are made with top of the line stainless steel. The appliances are built strong and to last. These appliances can wistand even the most active chefs kitchen.</ p >
153154 </ div >
154- < img src = { productImage7 } alt = { productFileName7 } className = "main-goods-image" />
155+ < ImageContainer imgUrl = { productImage7 } alt = { productFileName7 } imgClassName = "main-goods-image" />
155156 </ div >
156157 </ li >
157158 </ ul >
@@ -160,7 +161,7 @@ export const Home: React.FC = () => {
160161 </ section >
161162
162163 < section className = "main-banner banner-section-3" >
163- < img src = { bannerImage3 } alt = { bannerFileName3 } className = "main-banner-image" />
164+ < ImageContainer imgUrl = { bannerImage3 } alt = { bannerFileName3 } imgClassName = "main-banner-image" />
164165 < div className = "main-banner-title-wrap" >
165166 < div className = "container" >
166167 < h2 className = "goods-heading" > The BellVie Difference</ h2 >
0 commit comments