mirror of
https://github.com/istiyakaminsanto/tailShape.git
synced 2026-01-03 09:37:01 +00:00
added pricing's darkmode and separate file's
This commit is contained in:
149
public/componets/pricing/6_pricing.html
Normal file
149
public/componets/pricing/6_pricing.html
Normal file
@@ -0,0 +1,149 @@
|
||||
<!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://demos.creative-tim.com/notus-js/assets/vendor/@fortawesome/fontawesome-free/css/all.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.8.2/dist/alpine.min.js" defer></script>
|
||||
<title>Pricing 6</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
|
||||
d
|
||||
</button>
|
||||
|
||||
|
||||
|
||||
<!-- pricing 6 start -->
|
||||
<section class="section_divider">
|
||||
<div>Pricing 6</div>
|
||||
</section>
|
||||
<section class="dark:bg-gray-800">
|
||||
|
||||
<div class="px-4 py-16 mx-auto sm:max-w-xl md:max-w-full lg:max-w-screen-xl md:px-24 lg:px-8 lg:py-20">
|
||||
<div class="max-w-xl mb-10 md:mx-auto sm:text-center lg:max-w-2xl md:mb-12">
|
||||
<div>
|
||||
<p class="inline-block px-3 py-px mb-4 text-xs font-semibold tracking-wider text-teal-900 uppercase rounded-full bg-teal-400">
|
||||
Brand new
|
||||
</p>
|
||||
</div>
|
||||
<h2 class="max-w-lg mb-6 font-sans text-3xl font-bold leading-none tracking-tight text-gray-900 dark:bg-gradient-to-r dark:from-emerald-300 dark:to-cyan-300 dark:text-transparent dark:bg-clip-text sm:text-4xl md:mx-auto">
|
||||
<span class="relative inline-block">
|
||||
<svg viewBox="0 0 52 24" fill="currentColor" class="absolute top-0 left-0 z-0 hidden w-32 -mt-8 -ml-20 dark:text-emerald-800 lg:w-32 lg:-ml-28 lg:-mt-10 sm:block">
|
||||
<defs>
|
||||
<pattern id="bc9273ce-29bb-4565-959b-714607d4d027" x="0" y="0" width=".135" height=".30">
|
||||
<circle cx="1" cy="1" r=".7"></circle>
|
||||
</pattern>
|
||||
</defs>
|
||||
<rect fill="url(#bc9273ce-29bb-4565-959b-714607d4d027)" width="52" height="24"></rect>
|
||||
</svg>
|
||||
<span class="relative">Choose</span>
|
||||
</span>
|
||||
your way. Advance everyday.
|
||||
</h2>
|
||||
<p class="text-base text-gray-700 dark:text-gray-300 md:text-lg">
|
||||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque rem aperiam, eaque ipsa quae.
|
||||
</p>
|
||||
</div>
|
||||
<div class="grid max-w-md gap-10 row-gap-8 lg:max-w-screen-lg sm:row-gap-10 lg:grid-cols-3 xl:max-w-screen-lg sm:mx-auto">
|
||||
<div class="flex flex-col transition duration-300 bg-white rounded shadow-sm hover:shadow">
|
||||
<div class="relative w-full h-48">
|
||||
<img src="https://images.pexels.com/photos/3184305/pexels-photo-3184305.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="object-cover w-full h-full rounded-t" alt="Plan" />
|
||||
</div>
|
||||
<div class="flex flex-col justify-between flex-grow p-8 border border-t-0 rounded-b">
|
||||
<div>
|
||||
<div class="text-lg font-semibold">Basic</div>
|
||||
<p class="text-sm text-gray-900">
|
||||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem doloremque.
|
||||
</p>
|
||||
<div class="mt-1 mb-4 mr-1 text-4xl font-bold sm:text-5xl">$12</div>
|
||||
</div>
|
||||
<a
|
||||
href="/"
|
||||
class="inline-flex items-center justify-center w-full h-12 px-6 font-medium tracking-wide text-white transition duration-200 rounded shadow-md bg-purple-800 hover:bg-deep-purple-accent-700 focus:shadow-outline focus:outline-none"
|
||||
>
|
||||
Buy Basic
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-col transition duration-300 bg-white rounded shadow-sm hover:shadow">
|
||||
<div class="relative w-full h-48">
|
||||
<img src="https://images.pexels.com/photos/3183181/pexels-photo-3183181.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="object-cover w-full h-full rounded-t" alt="Plan" />
|
||||
</div>
|
||||
<div class="flex flex-col justify-between flex-grow p-8 border border-t-0 rounded-b">
|
||||
<div>
|
||||
<div class="text-lg font-semibold">Advanced</div>
|
||||
<p class="text-sm text-gray-900">
|
||||
A flower in my garden, a mystery in my panties. Heart attack never was so close.
|
||||
</p>
|
||||
<div class="mt-1 mb-4 mr-1 text-4xl font-bold sm:text-5xl">$38</div>
|
||||
</div>
|
||||
<a
|
||||
href="/"
|
||||
class="inline-flex items-center justify-center w-full h-12 px-6 font-medium tracking-wide text-white transition duration-200 rounded shadow-md bg-purple-800 hover:bg-deep-purple-accent-700 focus:shadow-outline focus:outline-none"
|
||||
>
|
||||
Buy Advanced
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex flex-col transition duration-300 bg-white rounded shadow-sm hover:shadow">
|
||||
<div class="relative w-full h-48">
|
||||
<img src="https://images.pexels.com/photos/3182743/pexels-photo-3182743.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="object-cover w-full h-full rounded-t" alt="Plan" />
|
||||
</div>
|
||||
<div class="flex flex-col justify-between flex-grow p-8 border border-t-0 rounded-b">
|
||||
<div>
|
||||
<div class="text-lg font-semibold">Pro</div>
|
||||
<p class="text-sm text-gray-900">
|
||||
We never had the chance to. Maybe it was the eleven months he spent in the womb.
|
||||
</p>
|
||||
<div class="mt-1 mb-4 mr-1 text-4xl font-bold sm:text-5xl">$78</div>
|
||||
</div>
|
||||
<a
|
||||
href="/"
|
||||
class="inline-flex items-center justify-center w-full h-12 px-6 font-medium tracking-wide text-white transition duration-200 rounded shadow-md bg-purple-800 hover:bg-deep-purple-accent-700 focus:shadow-outline focus:outline-none"
|
||||
>
|
||||
Buy Pro
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
<!-- pricing 6 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');
|
||||
|
||||
}
|
||||
})
|
||||
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