nothing much added the darkmode for the testimonial's and fixed the responsive issue's
This commit is contained in:
214
public/componets/testimonial/10_testimonial.html
Normal file
214
public/componets/testimonial/10_testimonial.html
Normal file
@@ -0,0 +1,214 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="dark">
|
||||
<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 10</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
|
||||
d
|
||||
</button>
|
||||
|
||||
|
||||
<!-- testimonial 10 start -->
|
||||
<section class="section_divider" id="testimonial_10">
|
||||
<div>Testimonial 10</div>
|
||||
</section>
|
||||
|
||||
<section class="bg-white dark:bg-gray-800">
|
||||
<div class="max-w-screen-xl px-4 py-16 mx-auto sm:px-6 lg:px-8 sm:py-24">
|
||||
<div class="max-w-xl mx-auto text-center">
|
||||
<h2 class="text-4xl font-bold tracking-tight sm:text-5xl dark:text-emerald-400">
|
||||
Read trusted reviews from our customers
|
||||
</h2>
|
||||
|
||||
<p class="max-w-lg mx-auto mt-4 text-gray-500 dark:text-gray-300">
|
||||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aspernatur
|
||||
praesentium natus sapiente commodi. Aliquid sunt tempore iste
|
||||
repellendus explicabo dignissimos placeat, autem harum dolore
|
||||
reprehenderit quis! Quo totam dignissimos earum.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="grid grid-cols-1 gap-8 pt-16 mt-16 border-t border-gray-100 sm:grid-cols-2 lg:grid-cols-3 sm:gap-16"
|
||||
>
|
||||
<blockquote
|
||||
class="flex flex-col items-center justify-between text-center sm:items-start sm:text-left"
|
||||
>
|
||||
<h5 class="text-xl font-medium text-gray-700 dark:text-gray-300">
|
||||
"Lorem ipsum dolor sit amet consectetur adipisicing elit"
|
||||
</h5>
|
||||
|
||||
<footer class="flex items-center mt-6 text-gray-500">
|
||||
<img
|
||||
src="https://www.hyperui.dev/photos/man-5.jpeg"
|
||||
alt=""
|
||||
class="object-cover w-12 h-12 rounded-full"
|
||||
/>
|
||||
|
||||
<div class="ml-3 text-left">
|
||||
<p class="text-sm font-medium text-gray-700 dark:text-emerald-400 ">Barry Scott</p>
|
||||
|
||||
<p class="mt-1 text-xs text-gray-500 dark:text-gray-300">
|
||||
Digital Marketing at Studio
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
</blockquote>
|
||||
|
||||
<blockquote
|
||||
class="flex flex-col items-center justify-between text-center sm:items-start sm:text-left"
|
||||
>
|
||||
<h5 class="text-xl font-medium text-gray-700 dark:text-gray-300">
|
||||
"Lorem ipsum dolor sit amet consectetur adipisicing elit"
|
||||
</h5>
|
||||
|
||||
<footer class="flex items-center mt-8 text-gray-500">
|
||||
<img
|
||||
src="https://www.hyperui.dev/photos/man-5.jpeg"
|
||||
alt=""
|
||||
class="object-cover w-12 h-12 rounded-full"
|
||||
/>
|
||||
|
||||
<div class="ml-3 text-left">
|
||||
<p class="text-sm font-medium text-gray-700 dark:text-emerald-400">Barry Scott</p>
|
||||
|
||||
<p class="mt-1 text-xs text-gray-500 dark:text-gray-300">
|
||||
Digital Marketing at Studio
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
</blockquote>
|
||||
|
||||
<blockquote
|
||||
class="flex flex-col items-center justify-between text-center sm:items-start sm:text-left"
|
||||
>
|
||||
<h5 class="text-xl font-medium text-gray-700 dark:text-gray-300 ">
|
||||
"Lorem ipsum dolor sit amet consectetur adipisicing elit"
|
||||
</h5>
|
||||
|
||||
<footer class="flex items-center mt-8 text-gray-500">
|
||||
<img
|
||||
src="https://www.hyperui.dev/photos/man-5.jpeg"
|
||||
alt=""
|
||||
class="object-cover w-12 h-12 rounded-full"
|
||||
/>
|
||||
|
||||
<div class="ml-3 text-left">
|
||||
<p class="text-sm font-medium text-gray-700 dark:text-emerald-400">Barry Scott</p>
|
||||
|
||||
<p class="mt-1 text-xs text-gray-500 dark:text-gray-300 ">
|
||||
Digital Marketing at Studio
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
</blockquote>
|
||||
|
||||
<blockquote
|
||||
class="flex flex-col items-center justify-between text-center sm:items-start sm:text-left"
|
||||
>
|
||||
<h5 class="text-xl font-medium text-gray-700 dark:text-gray-300">
|
||||
"Lorem ipsum dolor sit amet consectetur adipisicing elit"
|
||||
</h5>
|
||||
|
||||
<footer class="flex items-center mt-8 text-gray-500">
|
||||
<img
|
||||
src="https://www.hyperui.dev/photos/man-5.jpeg"
|
||||
alt=""
|
||||
class="object-cover w-12 h-12 rounded-full"
|
||||
/>
|
||||
|
||||
<div class="ml-3 text-left">
|
||||
<p class="text-sm font-medium text-gray-700 dark:text-emerald-400">Barry Scott</p>
|
||||
|
||||
<p class="mt-1 text-xs text-gray-500 dark:text-gray-300">
|
||||
Digital Marketing at Studio
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
</blockquote>
|
||||
|
||||
<blockquote
|
||||
class="flex flex-col items-center justify-between text-center sm:items-start sm:text-left"
|
||||
>
|
||||
|
||||
<h5 class="text-xl font-medium text-gray-700 dark:text-gray-300">
|
||||
"Lorem ipsum dolor sit amet consectetur adipisicing elit"
|
||||
</h5>
|
||||
|
||||
<footer class="flex items-center mt-8 text-gray-500 ">
|
||||
<img
|
||||
src="https://www.hyperui.dev/photos/man-5.jpeg"
|
||||
alt=""
|
||||
class="object-cover w-12 h-12 rounded-full"
|
||||
/>
|
||||
|
||||
<div class="ml-3 text-left">
|
||||
<p class="text-sm font-medium text-gray-700 dark:text-emerald-400">Barry Scott</p>
|
||||
|
||||
<p class="mt-1 text-xs text-gray-500 dark:text-gray-300">
|
||||
Digital Marketing at Studio
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
</blockquote>
|
||||
|
||||
<blockquote
|
||||
class="flex flex-col items-center justify-between text-center sm:items-start sm:text-left"
|
||||
>
|
||||
<h5 class="text-xl font-medium text-gray-700 dark:text-gray-300">
|
||||
"Lorem ipsum dolor sit amet consectetur adipisicing elit"
|
||||
</h5>
|
||||
|
||||
<footer class="flex items-center mt-8 text-gray-500">
|
||||
<img
|
||||
src="https://www.hyperui.dev/photos/man-5.jpeg"
|
||||
alt=""
|
||||
class="object-cover w-12 h-12 rounded-full"
|
||||
/>
|
||||
|
||||
<div class="ml-3 text-left">
|
||||
<p class="text-sm font-medium text-gray-700 dark:text-emerald-400">Barry Scott</p>
|
||||
|
||||
<p class="mt-1 text-xs text-gray-500 dark:text-gray-300">
|
||||
Digital Marketing at Studio
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- testimonial 10 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