nothing much added the darkmode for the testimonial's and fixed the responsive issue's
This commit is contained in:
133
public/componets/testimonial/15_testimonial.html
Normal file
133
public/componets/testimonial/15_testimonial.html
Normal file
@@ -0,0 +1,133 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="../../../dist/tailshape.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css" />
|
||||
<script src="https://unpkg.com/swiper/swiper-bundle.min.js" defer></script>
|
||||
<title>Testimonial 11</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
|
||||
d
|
||||
</button>
|
||||
|
||||
|
||||
<!-- testimonail 15 start -->
|
||||
<section class="section_divider">
|
||||
<div>Testimonail 15</div>
|
||||
</section>
|
||||
<section class=" dark:bg-gray-800 dark:text-gray-100">
|
||||
<div class="container flex flex-col items-center mx-auto mb-12 md:p-10 md:px-12">
|
||||
<h1 class="p-4 text-4xl font-semibold leading-none text-center">What our customers are saying about us</h1>
|
||||
</div>
|
||||
<div class="container flex flex-col items-center justify-center mx-auto lg:flex-row lg:flex-wrap lg:justify-evenly lg:px-10">
|
||||
<div class="flex flex-col max-w-sm mx-4 my-6 shadow-lg">
|
||||
<div class="px-4 py-12 rounded-t-lg sm:px-8 md:px-12 dark:bg-coolGray-900">
|
||||
<p class="relative px-6 py-1 text-lg italic text-center dark:text-coolGray-100">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" class="w-8 h-8 dark:text-indigo-400">
|
||||
<path d="M232,246.857V16H16V416H54.4ZM48,48H200V233.143L48,377.905Z"></path>
|
||||
<path d="M280,416h38.4L496,246.857V16H280ZM312,48H464V233.143L312,377.905Z"></path>
|
||||
</svg>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Voluptatibus quibusdam, eligendi exercitationem molestias possimus facere.
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" class="absolute right-0 w-8 h-8 dark:text-indigo-400">
|
||||
<path d="M280,185.143V416H496V16H457.6ZM464,384H312V198.857L464,54.1Z"></path>
|
||||
<path d="M232,16H193.6L16,185.143V416H232ZM200,384H48V198.857L200,54.1Z"></path>
|
||||
</svg>
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex flex-col items-center justify-center p-8 rounded-b-lg dark:bg-indigo-400 dark:text-coolGray-900">
|
||||
<img src="https://source.unsplash.com/50x50/?portrait?1" alt="" class="w-16 h-16 mb-2 -mt-16 bg-center bg-cover rounded-full dark:bg-coolGray-500 dark:bg-coolGray-700">
|
||||
<p class="text-xl font-semibold leading-tight">Distinctio Animi</p>
|
||||
<p class="text-sm uppercase">Aliquam illum</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-col max-w-sm mx-4 my-6 shadow-lg">
|
||||
<div class="px-4 py-12 rounded-t-lg sm:px-8 md:px-12 dark:bg-coolGray-900">
|
||||
<p class="relative px-6 py-1 text-lg italic text-center dark:text-coolGray-100">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" class="w-8 h-8 dark:text-indigo-400">
|
||||
<path d="M232,246.857V16H16V416H54.4ZM48,48H200V233.143L48,377.905Z"></path>
|
||||
<path d="M280,416h38.4L496,246.857V16H280ZM312,48H464V233.143L312,377.905Z"></path>
|
||||
</svg>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Voluptatibus quibusdam, eligendi exercitationem molestias possimus facere.
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" class="absolute right-0 w-8 h-8 dark:text-indigo-400">
|
||||
<path d="M280,185.143V416H496V16H457.6ZM464,384H312V198.857L464,54.1Z"></path>
|
||||
<path d="M232,16H193.6L16,185.143V416H232ZM200,384H48V198.857L200,54.1Z"></path>
|
||||
</svg>
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex flex-col items-center justify-center p-8 rounded-b-lg dark:bg-indigo-400 dark:text-coolGray-900">
|
||||
<img src="https://source.unsplash.com/50x50/?portrait?2" alt="" class="w-16 h-16 mb-2 -mt-16 bg-center bg-cover rounded-full dark:bg-coolGray-500 dark:bg-coolGray-700">
|
||||
<p class="text-xl font-semibold leading-tight">Distinctio Animi</p>
|
||||
<p class="text-sm uppercase">Aliquam illum</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-col max-w-sm mx-4 my-6 shadow-lg">
|
||||
<div class="px-4 py-12 rounded-t-lg sm:px-8 md:px-12 dark:bg-coolGray-900">
|
||||
<p class="relative px-6 py-1 text-lg italic text-center dark:text-coolGray-100">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" class="w-8 h-8 dark:text-indigo-400">
|
||||
<path d="M232,246.857V16H16V416H54.4ZM48,48H200V233.143L48,377.905Z"></path>
|
||||
<path d="M280,416h38.4L496,246.857V16H280ZM312,48H464V233.143L312,377.905Z"></path>
|
||||
</svg>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Voluptatibus quibusdam, eligendi exercitationem molestias possimus facere.
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" class="absolute right-0 w-8 h-8 dark:text-indigo-400">
|
||||
<path d="M280,185.143V416H496V16H457.6ZM464,384H312V198.857L464,54.1Z"></path>
|
||||
<path d="M232,16H193.6L16,185.143V416H232ZM200,384H48V198.857L200,54.1Z"></path>
|
||||
</svg>
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex flex-col items-center justify-center p-8 rounded-b-lg dark:bg-indigo-400 dark:text-coolGray-900">
|
||||
<img src="https://source.unsplash.com/50x50/?portrait?3" alt="" class="w-16 h-16 mb-2 -mt-16 bg-center bg-cover rounded-full dark:bg-coolGray-500 dark:bg-coolGray-700">
|
||||
<p class="text-xl font-semibold leading-tight">Distinctio Animi</p>
|
||||
<p class="text-sm uppercase">Aliquam illum</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-col max-w-sm mx-4 my-6 shadow-lg">
|
||||
<div class="px-4 py-12 rounded-t-lg sm:px-8 md:px-12 dark:bg-coolGray-900">
|
||||
<p class="relative px-6 py-1 text-lg italic text-center dark:text-coolGray-100">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" class="w-8 h-8 dark:text-indigo-400">
|
||||
<path d="M232,246.857V16H16V416H54.4ZM48,48H200V233.143L48,377.905Z"></path>
|
||||
<path d="M280,416h38.4L496,246.857V16H280ZM312,48H464V233.143L312,377.905Z"></path>
|
||||
</svg>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Voluptatibus quibusdam, eligendi exercitationem molestias possimus facere.
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" class="absolute right-0 w-8 h-8 dark:text-indigo-400">
|
||||
<path d="M280,185.143V416H496V16H457.6ZM464,384H312V198.857L464,54.1Z"></path>
|
||||
<path d="M232,16H193.6L16,185.143V416H232ZM200,384H48V198.857L200,54.1Z"></path>
|
||||
</svg>
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex flex-col items-center justify-center p-8 rounded-b-lg dark:bg-indigo-400 dark:text-coolGray-900">
|
||||
<img src="https://source.unsplash.com/50x50/?portrait?4" alt="" class="w-16 h-16 mb-2 -mt-16 bg-center bg-cover rounded-full dark:bg-coolGray-500 dark:bg-coolGray-700">
|
||||
<p class="text-xl font-semibold leading-tight">Distinctio Animi</p>
|
||||
<p class="text-sm uppercase">Aliquam illum</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- testimonail 15 end -->
|
||||
|
||||
|
||||
<!-- start of script section -->
|
||||
<script type="text/javascript">
|
||||
let toogler = document.getElementById("dark_mood_toogler");
|
||||
let doc_html_el = document.getElementsByTagName('html')[0];
|
||||
|
||||
doc_html_el.addEventListener('keyup',(e)=>{
|
||||
// key 220 is the backward slash , need to press ctrl+ \ to activate or deactivate darkmode
|
||||
if(e.ctrlKey && e.keyCode =='220'){
|
||||
doc_html_el.className =='' ? doc_html_el.classList.add('dark'):doc_html_el.classList.remove('dark');
|
||||
|
||||
}
|
||||
})
|
||||
toogler.addEventListener('click',()=>{
|
||||
doc_html_el.className =='' ? doc_html_el.classList.add('dark'):doc_html_el.classList.remove('dark');
|
||||
console.log(doc_html_el.className);
|
||||
})
|
||||
</script>
|
||||
<!-- end of script section -->
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user