mirror of
https://github.com/istiyakaminsanto/tailShape.git
synced 2025-12-19 21:07:02 +00:00
92 lines
4.3 KiB
HTML
92 lines
4.3 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>404-- 3 </title>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
|
|
d
|
|
</button>
|
|
|
|
|
|
<!-- error 3 start -->
|
|
<section class="section_divider">
|
|
<div>Error 3</div>
|
|
</section>
|
|
<main aria-labelledby="pageTitle" class="flex items-center justify-center h-screen bg-gray-100 dark:bg-gray-800 dark:text-gray-300">
|
|
<div class="p-4 space-y-4">
|
|
<div class="flex flex-col items-start space-y-3 sm:flex-row sm:space-y-0 sm:items-center sm:space-x-3">
|
|
<p class="font-semibold text-danger-light text-9xl dark:text-danger">404</p>
|
|
<div class="space-y-2">
|
|
<h1 id="pageTitle" class="flex items-center space-x-2">
|
|
<svg aria-hidden="true" class="w-6 h-6 text-red-600 dark:text-red-500" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path>
|
|
</svg>
|
|
<span class="text-xl font-medium text-gray-600 sm:text-2xl dark:text-light">
|
|
Oops! Page not found.
|
|
</span>
|
|
</h1>
|
|
<p class="text-base font-normal text-gray-600 dark:text-gray-300">
|
|
The page you are looking for was not found.
|
|
</p>
|
|
<p class="text-base font-normal text-gray-600 dark:text-gray-300">
|
|
You may return to
|
|
<a href="../index.html" class="text-blue-600 hover:underline dark:text-blue-500">home page</a> or try
|
|
using the search form.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<form action="#" method="POST">
|
|
<div class="flex items-center justify-center">
|
|
<input type="text" name="search" placeholder="What are you looking for?" class="w-full px-4 py-2 rounded-l-md focus:outline-none placeholder:text-gray-800 text-gray-800 font-bold ">
|
|
<button class="p-2 text-white rounded-r-md bg-cyan-800 dark:bg-cyan-900 hover:bg-cyan-800 dark:hover:bg-cyan-900 focus:outline-none ">
|
|
<span class="sr-only">Search</span>
|
|
<svg aria-hidden="true" class="w-6 h-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- error 3 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> |