mirror of
https://github.com/istiyakaminsanto/tailShape.git
synced 2025-12-27 20:57:00 +00:00
added complete cta's and fixed pricing issue's
This commit is contained in:
65
public/componets/cta/7_cta.html
Normal file
65
public/componets/cta/7_cta.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<!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 7</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- start cta 7 -->
|
||||
<section class="section_divider" id="cta_7">
|
||||
CTA 7
|
||||
</section>
|
||||
<section class="px-0 py-12 mx-auto max-w-7xl sm:px-4">
|
||||
<div class="text-white bg-green-800 border-green-800 rounded-none card card-body sm:rounded-lg">
|
||||
<div class="flex flex-col items-center justify-between px-1 py-4 lg:flex-row sm:py-3 sm:px-3">
|
||||
<p class="mb-6 text-base font-semibold lg:mb-0">Sleep peacefully knowing that your website is performing at it’s best.</p>
|
||||
<a href="#" class="w-full text-green-800 shadow bg-gray-300 p-2 rounded text-lg sm:w-auto ">Start for free</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- end cta 7 -->
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 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>
|
||||
Reference in New Issue
Block a user