mirror of
https://github.com/istiyakaminsanto/tailShape.git
synced 2025-12-31 09:07:01 +00:00
142 lines
6.7 KiB
HTML
142 lines
6.7 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>Timeline 6</title>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
|
|
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
|
|
d
|
|
</button>
|
|
|
|
<!-- timeline 6 start -->
|
|
<section class="section_divider" id="timeline_6">
|
|
<div>Timeline 6</div>
|
|
</section>
|
|
|
|
<div class=" bg-blue-500 py-6 flex flex-col justify-center sm:py-12">
|
|
<div class="py-3 sm:max-w-xl sm:mx-auto w-full px-2 sm:px-0">
|
|
|
|
<div class="relative text-gray-700 antialiased text-sm font-semibold">
|
|
|
|
<!-- Vertical bar running through middle -->
|
|
<div class="hidden sm:block w-1 bg-blue-300 absolute h-full left-1/2 transform -translate-x-1/2"></div>
|
|
|
|
<!-- Left section, set by justify-start and sm:pr-8 -->
|
|
<div class="mt-6 sm:mt-0 sm:mb-12">
|
|
<div class="flex flex-col sm:flex-row items-center">
|
|
<div class="flex justify-start w-full mx-auto items-center">
|
|
<div class="w-full sm:w-1/2 sm:pr-8">
|
|
<div class="p-4 bg-white rounded shadow">
|
|
Now this is a story all about how,
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="rounded-full bg-blue-500 border-white border-4 w-8 h-8 absolute left-1/2 -translate-y-4 sm:translate-y-0 transform -translate-x-1/2 flex items-center justify-center">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253" />
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Right section, set by justify-end and sm:pl-8 -->
|
|
<div class="mt-6 sm:mt-0 sm:mb-12">
|
|
<div class="flex flex-col sm:flex-row items-center">
|
|
<div class="flex justify-end w-full mx-auto items-center">
|
|
<div class="w-full sm:w-1/2 sm:pl-8">
|
|
<div class="p-4 bg-white rounded shadow">
|
|
My life got flipped turned upside down,
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="rounded-full bg-blue-500 border-white border-4 w-8 h-8 absolute left-1/2 -translate-y-4 sm:translate-y-0 transform -translate-x-1/2 flex items-center justify-center">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Left section, set by justify-start and sm:pr-8 -->
|
|
<div class="mt-6 sm:mt-0 sm:mb-12">
|
|
<div class="flex flex-col sm:flex-row items-center">
|
|
<div class="flex justify-start w-full mx-auto items-center">
|
|
<div class="w-full sm:w-1/2 sm:pr-8">
|
|
<div class="p-4 bg-white rounded shadow">
|
|
And I'd like to take a minute, just sit right there,
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="rounded-full bg-blue-500 border-white border-4 w-8 h-8 absolute left-1/2 -translate-y-4 sm:translate-y-0 transform -translate-x-1/2 flex items-center justify-center">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Right section, set by justify-end and sm:pl-8 -->
|
|
<div class="mt-6 sm:mt-0">
|
|
<div class="flex flex-col sm:flex-row items-center">
|
|
<div class="flex justify-end w-full mx-auto items-center">
|
|
<div class="w-full sm:w-1/2 sm:pl-8">
|
|
<div class="p-4 bg-white rounded shadow">
|
|
I'll tell you how I became the Prince of a town called Bel Air.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="rounded-full bg-blue-500 border-white border-4 w-8 h-8 absolute left-1/2 -translate-y-4 sm:translate-y-0 transform -translate-x-1/2 flex items-center justify-center">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9" />
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- timeline 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> |