Skip to content

Commit

Permalink
main page updated
Browse files Browse the repository at this point in the history
  • Loading branch information
heli0707 committed Jun 24, 2024
1 parent 995d0e1 commit 474dc52
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 16 deletions.
17 changes: 2 additions & 15 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,8 @@ body {

.owl-carousel .item img {
width: 100%;
filter: blur(2px);
-webkit-filter: blur(2px);
}

.owl-carousel .item .container-1 {
position: absolute;
top: 40%;
width: 100%;
}

.owl-carousel .item .container-1 .row {
display: flex;
align-items: center;
justify-content: center;

height: 100%;
object-fit: cover;
}

@media (max-width: 1200px) {
Expand Down
Binary file added public/img/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 29 additions & 1 deletion views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
<link rel="stylesheet" href="/css/style.css">
<!-- Icon -->

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- BOOTSTRAP CDN -->
Expand Down Expand Up @@ -101,7 +106,7 @@
<main class="main mt-5">

<!-- HOME PAGE IMAGE SECTION -->
<div class="owl-carousel ">
<!-- <div class="owl-carousel ">
<div class="item">
<img src="img/slider-7.jpg" alt="">
<div class="container-1">
Expand All @@ -121,7 +126,30 @@
</div>
</div>
</div>
</div> -->
<script>
$(document).ready(function(){
$(".owl-carousel").owlCarousel({
items: 1,
loop: true,
autoplay: true,
autoplayTimeout: 3000,
animateOut: 'fadeOut'
});
});
</script>
<div class="owl-carousel">
<div class="item">
<img src="img/1.png" alt="Image 1">
</div>
<div class="item">
<img src="img/2.png" alt="Image 2">
</div>
<div class="item">
<img src="img/3.png" alt="Image 3">
</div>
</div>


<!-- ABOUT -->
<section class="about-us container-fluid my-5" id="about">
Expand Down

0 comments on commit 474dc52

Please sign in to comment.