Skip to content

Commit

Permalink
replace all files in home with image url
Browse files Browse the repository at this point in the history
  • Loading branch information
arrahmna-dev committed Nov 6, 2023
1 parent 1031646 commit d5090f2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
11 changes: 1 addition & 10 deletions src/views/public/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@
<template>
<Layout>
<MainSlider />
<Support />
<ProductCategory />
<Baner2 />
<SmartPhone />
<BigBaner />
<Appliances />
<BigBaner2 />
<Accessories />
<Blog />
<Brand />
// <Support /> // <ProductCategory /> // <Baner2 /> // <SmartPhone /> // <BigBaner /> // <Appliances /> // <BigBaner2 /> // <Accessories /> // <Blog /> // <Brand />
</Layout>
</template>
12 changes: 6 additions & 6 deletions src/views/public/home/MainSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="container-lg">
<div class="row gx-lg-2 gap-3 gap-lg-0">
<div class="col-lg-8">
<div id="carouselExampleIndicators" class="carousel slide carousel-fade bg-no-repeat bg-size-cover bg-position-center" data-bs-ride="carousel" :style="`background-image: url(${baseUrl}/public/images/demo/bg-main-slide.jpg); height: 445px; width: auto; overflow: hidden`">
<div id="carouselExampleIndicators" class="carousel slide carousel-fade bg-no-repeat bg-size-cover bg-position-center" data-bs-ride="carousel" style="background-image: url('/images/demo/bg-main-slide.jpg'); height: 445px; width: auto; overflow: hidden">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1" aria-label="Slide 2"></button>
Expand All @@ -27,7 +27,7 @@
</div>
<div class="col-md-7 p-0">
<div class="mt-5 pt-md-3 mt-xl-0 pt-xl-0">
<img class="d-block img-fluid mt-5 pt-lg-5" :src="`${baseUrl}/public/images/demo/slide1-electronic-2.png`" alt="image " />
<img class="d-block img-fluid mt-5 pt-lg-5" src="images/demo/slide1-electronic-2.png" alt="image " />
</div>
</div>
</div>
Expand All @@ -43,7 +43,7 @@
</div>
<div class="col-md-7 p-0">
<div class="mt-4 mx-auto" style="max-height: 500px !important; max-width: 300px !important">
<img class="d-block img-fluid" :src="`${baseUrl}/public/images/demo/slide2-electronic2.png`" alt="image " />
<img class="d-block img-fluid" src="images/demo/slide2-electronic2.png" alt="image " />
</div>
</div>
</div>
Expand All @@ -59,7 +59,7 @@
</div>
<div class="col-md-7 p-0">
<div class="mt-4 mt-md-5 pt-md-5 mx-auto m-auto" style="max-height: 500px !important; max-width: 300px !important">
<img class="d-block img-fluid" :src="`${baseUrl}/public/images/demo/slide3-electronic2.png`" alt="image " />
<img class="d-block img-fluid" src="images/demo/slide3-electronic2.png" alt="image " />
</div>
</div>
</div>
Expand All @@ -71,7 +71,7 @@
<div class="row gap-2 gap-sm-0 gap-lg-2">
<div class="col-sm-6 col-lg-12">
<div class="card rounded-0 border-0 position-relative overflow-hidden group-hover h-100">
<img class="img-fluid hover-scale-115 transition-500" :src="`${baseUrl}/public/images/demo/banner-1-electronic-1.jpg`" alt="icon" />
<img class="img-fluid hover-scale-115 transition-500" src="images/demo/banner-1-electronic-1.jpg" alt="icon" />
<div class="card-img-overlay position-absolute text-start mt-4 ms-3">
<p class="text-uppercase text-red-danger mb-0 fw-bold">new arrivals</p>
<p class="text-uppercase text-black mb-3 h4 fw-bolder">
Expand All @@ -89,7 +89,7 @@
</div>
<div class="col-sm-6 col-lg-12">
<div class="card rounded-0 border-0 position-relative overflow-hidden group-hover h-100">
<img class="img-fluid hover-scale-115 transition-500" :src="`${baseUrl}/public/images/demo/banner-5-electronic-1.jpg`" alt="icon" />
<img class="img-fluid hover-scale-115 transition-500" src="images/demo/banner-5-electronic-1.jpg" alt="icon" />
<div class="card-img-overlay position-absolute text-start mt-4 ms-3">
<p class="text-uppercase text-red-danger mb-0 fw-bold">lg life good</p>
<p class="text-uppercase text-black mb-3 h4 fw-bolder">a perfect <br class=" " />wash</p>
Expand Down
8 changes: 4 additions & 4 deletions src/views/public/home/Support.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="row">
<div class="col-6 col-lg-3 py-4">
<div class="d-flex flex-column flex-sm-row align-items-center text-ms-center">
<img class="d-block p-2 p-sm-0 me-2" src="images/demo/feature-1.png" alt="image" />
<img class="d-block p-2 p-sm-0 me-2" src="/images/demo/feature-1.png" alt="image" />
<div class="">
<p class="mb-0 fw-bold">Delivery in 24H</p>
<p class="mb-0 text-secondary small">Free shipping over $100</p>
Expand All @@ -15,7 +15,7 @@
</div>
<div class="col-6 col-lg-3 py-4">
<div class="d-flex flex-column flex-sm-row align-items-center text-ms-center">
<img class="d-block p-2 p-sm-0 me-2" src="images/demo/feature-2.png" alt="image" />
<img class="d-block p-2 p-sm-0 me-2" src="/images/demo/feature-2.png" alt="image" />
<div class="">
<p class="mb-0 fw-bold">24 hours return</p>
<p class="mb-0 text-secondary small">Free shipping over $100</p>
Expand All @@ -24,7 +24,7 @@
</div>
<div class="col-6 col-lg-3 py-4">
<div class="d-flex flex-column flex-sm-row align-items-center text-ms-center">
<img class="d-block p-2 p-sm-0 me-2" src="images/demo/feature-3.png" alt="image" />
<img class="d-block p-2 p-sm-0 me-2" src="/images/demo/feature-3.png" alt="image" />
<div class="">
<p class="mb-0 fw-bold">quality guarantee</p>
<p class="mb-0 text-secondary small">Quality check by our team</p>
Expand All @@ -33,7 +33,7 @@
</div>
<div class="col-6 col-lg-3 py-4">
<div class="d-flex flex-column flex-sm-row align-items-center text-ms-center">
<img class="d-block p-2 p-sm-0 me-2" src="images/demo/feature-4.png" alt="image" />
<img class="d-block p-2 p-sm-0 me-2" src="/images/demo/feature-4.png" alt="image" />
<div class="">
<p class="mb-0 fw-bold">support 24/7</p>
<p class="mb-0 text-secondary small">Shop with an expert</p>
Expand Down

0 comments on commit d5090f2

Please sign in to comment.