first commit

This commit is contained in:
Dhanraj
2024-09-28 20:48:18 +05:30
commit 8c4706dfde
930 changed files with 74928 additions and 0 deletions

View File

@ -0,0 +1,42 @@
import { Component, Input } from '@angular/core';
import SwiperCore, { SwiperOptions, Navigation, Autoplay } from 'swiper';
// install Swiper modules
SwiperCore.use([Navigation, Autoplay]);
@Component({
moduleId: module.id,
selector: 'testimonial',
templateUrl: './testimonial.html',
})
export class TestimonialComponent {
@Input() mainClass: string = '';
@Input() showTitle: boolean = true;
@Input() type: string = 'common';
@Input() feedbacks: any = [
{
id: 1,
name: 'Allan Branch',
role: 'CEO of Lifted',
thumbnail: '/assets/images/testimonial.png',
message:
"There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable.",
},
];
config: SwiperOptions = {
loop: true,
slidesPerView: 'auto',
spaceBetween: 30,
speed: 1000,
autoplay: {
delay: 3000,
disableOnInteraction: false,
},
navigation: {
nextEl: '.testimonial-swiper-button-next',
prevEl: '.testimonial-swiper-button-prev',
},
modules: [Navigation, Autoplay],
};
constructor() {}
}