mirror of
https://github.com/istiyakaminsanto/tailShape.git
synced 2025-12-24 09:47:01 +00:00
68 lines
2.9 KiB
HTML
68 lines
2.9 KiB
HTML
<!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"></script>
|
||
|
||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.8.2/dist/alpine.min.js" defer>
|
||
</script><script defer src="https://unpkg.com/alpinejs@3.4.2/dist/cdn.min.js"></script>
|
||
<title> CTA 8</title>
|
||
|
||
</head>
|
||
<body>
|
||
|
||
<!-- start cta 8 -->
|
||
<section class="section_divider">
|
||
CTA 8
|
||
</section>
|
||
<section class="px-0 py-12 mx-auto max-w-7xl sm:px-4">
|
||
<div class="grid items-center grid-cols-1 gap-10 px-4 overflow-hidden text-pink-900 bg-pink-100 border-pink-100 rounded-none card card-body sm:rounded-lg md:px-10 md:grid-cols-5 lg:gap-0">
|
||
<div class="col-span-1 md:col-span-3">
|
||
<h2 class="mb-3 font-serif text-2xl font-normal leading-tight lg:text-3xl">Sleep peacefully knowing that your website is performing at it’s best.</h2>
|
||
<p class="mb-6 text-sm font-semibold lg:text-base">We deliver a guaranteed number of high-quality new leads every month. Combined with the sales tools to convert them into paying clients.</p>
|
||
<a href="#" class="w-full text-pink-900 shadow bg-gray-100 p-2 rounded sm:w-auto">Start for free</a>
|
||
</div>
|
||
<div class="col-span-1 md:col-span-2">
|
||
<img src="https://source.unsplash.com/random/640x480/?grayscale,electronics" class="h-full select-none lg:ml-48" alt="Mac App" />
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
|
||
<!-- end cta 8 -->
|
||
|
||
|
||
|
||
<!-- 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');
|
||
|
||
}
|
||
})
|
||
doc_html_el.addEventListener('keyup',(e)=>{
|
||
// key 191 is the forward slash , need to press ctrl+ / to show or hide the darkmode button
|
||
if(e.ctrlKey && e.keyCode =='191'){
|
||
toogler.style.display =='block'? toogler.style.display = 'none':toogler.style.display ='block';
|
||
|
||
}
|
||
})
|
||
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> |