Skip to content

Commit

Permalink
Merge pull request #66 from DedSec2050/FE_Testimonials
Browse files Browse the repository at this point in the history
Fe testimonials
  • Loading branch information
Anushka-Singh1 authored Nov 10, 2023
2 parents 0437a76 + cb3d74c commit d527693
Show file tree
Hide file tree
Showing 14 changed files with 290 additions and 294 deletions.
22 changes: 0 additions & 22 deletions static/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1001,33 +1001,11 @@ section {
/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients .clients-slider .swiper-slide img {

opacity: 0.5;
transition: 0.3s;
}

.clients .clients-slider .swiper-slide img:hover {

opacity: 1;
}

.clients .clients-slider .swiper-pagination {
margin-top: 20px;
position: relative;
}

.clients .clients-slider .swiper-pagination .swiper-pagination-bullet {
width: 12px;
height: 12px;
background-color: #fff;
opacity: 1;
border: 1px solid #eb5d1e;
}

.clients .clients-slider .swiper-pagination .swiper-pagination-bullet-active {
background-color: #eb5d1e;
}

/*--------------------------------------------------------------
# Contact Us
Expand Down
133 changes: 133 additions & 0 deletions static/assets/css/testamonials.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
#slidecontainer{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
align-items: center;
/* background-color: red; */
flex-direction: column;
}
.slide-container{
max-width: 1120px;

width: 100%;
background-color: transparent;
}

.slide-content{
margin: 0 40px;
margin-left: 60px;
margin-right: 60px;
margin-bottom: 50px;
overflow: hidden;
}
.card{
border-color: #fef8f5;
/* width: 320px; */
/* Change height here */
border-radius: 25px;
background-color: #fef8f5;
}
.image-content,
.card-content{
display: flex;
flex-direction: column;
align-items: center;
padding: 10px 14px;
}


.card-image{
position: relative;
height: 150px;
width: 150px;
border-radius: 50%;
background: #fff;
padding: 3px;

}
.image-content{
position: relative;
row-gap: 5px;
padding: 25px 0;
}
.overlay{
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
background-color: #fb771a;
border-radius: 25px 25px 0 25px;
}
.overlay::before,
.overlay::after{
content: '';
position: absolute;
right: 0;
bottom: -40px;
height: 40px;
width: 40px;
background-color: #fb771a;
}
.overlay::after{
border-radius: 0 25px 0 0;
background-color: #fef8f5;
}
.card-image .card-img{
height: 100%;
width: 100%;
object-fit: cover;
border-radius: 50%;
border: 4px solid #fb771a;
}

.name{
font-size: 18px;
font-weight: 500;
color: #333;
}
.description{
font-size: 14px;
color: #707070;
text-align: center;
}

.domain p{
border: none;
font-size: 16px;
color: #fff;
padding: 8px 16px;
background-color: #fb771a;
border-radius: 6px;
}
.swiper-pagination-bullet{
background-color: #fb8633;
opacity: 1;
}
.swiper-button-prev{
width: 40px;
opacity: 1;
transition: 0.3s ease-in;
}
.swiper-button-prev:hover{
opacity: 0.85;
}

.swiper-button-next{
width: 40px;
opacity: 1;
transition: 0.3s ease-in;
}
.swiper-button-next:hover{
opacity: 0.85;
}

@media screen and (max-width: 750px){
.swiper-button-next{
display: none;
}
.swiper-button-prev{
display: none;
}
}
7 changes: 7 additions & 0 deletions static/assets/img/left-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions static/assets/img/right-arrow.svg
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 static/assets/img/testamonials/anuj.jpg
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 static/assets/img/testamonials/manish.jpg
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 static/assets/img/testamonials/manyata.jpg
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 static/assets/img/testamonials/pooja.jpg
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 static/assets/img/testamonials/rishav.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 1 addition & 32 deletions static/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,38 +209,7 @@
/**
* Clients Slider
*/
new Swiper('.clients-slider', {
speed: 400,
loop: true,
autoplay: {
delay: 5000,
disableOnInteraction: false
},
slidesPerView: 'auto',
pagination: {
el: '.swiper-pagination',
type: 'bullets',
clickable: true
},
breakpoints: {
320: {
slidesPerView: 2,
spaceBetween: 40
},
480: {
slidesPerView: 3,
spaceBetween: 60
},
640: {
slidesPerView: 4,
spaceBetween: 80
},
992: {
slidesPerView: 6,
spaceBetween: 120
}
}
});


/**
* Animation on scroll
Expand Down
33 changes: 33 additions & 0 deletions static/assets/js/testamonials.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
var swiper = new Swiper(".slide-content", {
watchSlidesProgress: true,
spaceBetween: 25,
loop: true,
centeredSlides: false,
loopFillGroupWithBlank: true,
fade: true,
grabCursor: true,
pagination: {
el: ".swiper-pagination",
clickable: true,
dynamicBullets: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
breakpoints: {
520: {
slidesPerView: 1,
},
1000: {
slidesPerView: 2,
},
1200: {
slidesPerView: 3,
},
},
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
});
6 changes: 3 additions & 3 deletions static/assets/vendor/swiper/swiper-bundle.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions static/assets/vendor/swiper/swiper-bundle.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit d527693

Please sign in to comment.