mirror of
https://github.com/istiyakaminsanto/tailShape.git
synced 2025-12-18 10:17:00 +00:00
101 lines
5.6 KiB
HTML
101 lines
5.6 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://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>layout </title>
|
||
</head>
|
||
<body>
|
||
|
||
|
||
|
||
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
|
||
d
|
||
</button>
|
||
|
||
|
||
<section class="bg-body text-body font-body">
|
||
<div class="container mx-auto px-4">
|
||
<section class="py-12 px-4 text-center">
|
||
<div class="w-full max-w-2xl mx-auto">
|
||
<h1 class="text-5xl leading-tight font-heading"> <a href="https://tailwindcss.com/">Tailwind CSS</a></h1>
|
||
<h3 class="mt-6 mb-8 text-gray-500 leading-relaxed">Portfolio Components - <a href="https://github.com/app-generator/tailwind-css-components">Source Code</a></h3>
|
||
</div>
|
||
</section>
|
||
<hr>
|
||
<section class="py-12 px-4 text-center">
|
||
<h2 class="text-4xl mb-8 font-heading">Portfolio</h2>
|
||
<div class="max-w-2xl mx-auto"><img class="rounded shadow-md" src="https://tailwind-css-components.appseed.us/placeholders/pictures/office.jpg" alt="">
|
||
<div class="text-center mt-8 mb-6">
|
||
<button class="inline-flex items-center justify-center h-3 w-3 mr-2 bg-gray-800 rounded-full"></button>
|
||
<button class="inline-flex items-center justify-center h-3 w-3 mr-2 bg-gray-600 rounded-full"></button>
|
||
<button class="inline-flex items-center justify-center h-3 w-3 mr-2 bg-gray-600 rounded-full"></button>
|
||
</div>
|
||
<div>
|
||
<h3 class="text-2xl mb-4 font-heading">Client: Realweb</h3>
|
||
<p class="text-gray-500 leading-relaxed">Great offer, competitive prices, professional service. That’s how I’d remember the Dunder Mifflin. Although I had to switch paper provider, sometimes I really miss Dunder family. I also got gift basket from the team!</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<hr>
|
||
<section class="py-12 px-4">
|
||
<div class="flex flex-wrap -mx-4">
|
||
<div class="w-full lg:w-1/2 px-4 mb-8 lg:mb-0">
|
||
<div class="flex flex-col h-full p-8 bg-gray-200 rounded">
|
||
<h2 class="text-3xl font-heading">Dunder Friends, a.k.a Companies Who Work With Us</h2>
|
||
<p class="max-w-sm mt-auto mb-8 text-gray-500 leading-relaxed">We don’t believe in paperless future - so do our Customers.</p><a class="text-right text-blue-700 hover:underline" href="#">View all Dunder Mifflin customers</a>
|
||
</div>
|
||
</div>
|
||
<div class="lg:w-1/2 px-4">
|
||
<div class="flex flex-wrap -m-2">
|
||
<div class="w-1/2 p-2"><img class="rounded shadow-md" src="https://tailwind-css-components.appseed.us/placeholders/pictures/office.jpg" alt=""></div>
|
||
<div class="w-1/2 p-2"><img class="rounded shadow-md" src="https://tailwind-css-components.appseed.us/placeholders/pictures/work.jpg" alt=""></div>
|
||
<div class="w-1/2 p-2"><img class="rounded shadow-md" src="https://tailwind-css-components.appseed.us/placeholders/pictures/work.jpg" alt=""></div>
|
||
<div class="w-1/2 p-2"><img class="rounded shadow-md" src="https://tailwind-css-components.appseed.us/placeholders/pictures/office.jpg" alt=""></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<hr>
|
||
<footer class="p-4">
|
||
<div class="flex flex-col lg:flex-row items-center">
|
||
<div class="w-full lg:w-auto lg:mr-auto text-center lg:text-left">© <a href="https://appseed.us">AppSeed </a><span>(MIT License) - </span><a href="https://github.com/app-generator/tailwind-css-components">Tailwind CSS Components</a></div>
|
||
<div class="flex justify-center items-center mt-4 lg:mt-0"><img class="w-6 h-6" src="https://tailwind-css-components.appseed.us/placeholders/icons/message.svg" alt=""><img class="w-6 h-6 mx-6" src="https://tailwind-css-components.appseed.us/placeholders/icons/share.svg" alt=""><img class="w-6 h-6" src="https://tailwind-css-components.appseed.us/placeholders/icons/star.svg" alt=""></div>
|
||
</div>
|
||
</footer>
|
||
</div>
|
||
|
||
</section>
|
||
|
||
<!-- 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> |