mirror of
https://github.com/istiyakaminsanto/tailShape.git
synced 2025-12-25 23:07:02 +00:00
99 lines
4.3 KiB
HTML
99 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>Login </title>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
|
|
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
|
|
d
|
|
</button>
|
|
|
|
|
|
<!-- login 10 start -->
|
|
<section class="section_divider">
|
|
<div>Login 10</div>
|
|
</section>
|
|
|
|
<div class="my-10 w-full flex justify-center ">
|
|
<div class="bg-[url(https://i.postimg.cc/13pssvxG/bg-image.png)] w-full sm:w-1/2 md:w-9/12 lg:w-1/2 mx-3 md:mx-5 lg:mx-0 shadow-md flex flex-col md:flex-row items-center rounded z-10 overflow-hidden bg-center bg-cover bg-blue-600">
|
|
<div class="w-full md:w-1/2 flex flex-col justify-center items-center bg-opacity-25 bg-blue-600 backdrop-blur-sm ">
|
|
<h1 class="text-3xl md:text-4xl font-extrabold text-white my-2 md:my-0">
|
|
HartDev
|
|
</h1>
|
|
<p class="mb-2 text-white hidden md:block font-mono">
|
|
search a new somethings
|
|
</p>
|
|
</div>
|
|
<div class="w-full md:w-1/2 flex flex-col items-center bg-white dark:bg-gray-800 py-5 md:py-8 px-4">
|
|
<h3 class="mb-4 font-bold text-3xl flex items-center text-blue-500">
|
|
LOGIN
|
|
</h3>
|
|
<form action="#" class="px-3 flex flex-col justify-center items-center w-full gap-3">
|
|
<input
|
|
type="email" placeholder="email.."
|
|
class="px-4 py-2 w-full rounded border border-gray-300 shadow-sm text-base placeholder-gray-500 placeholder-opacity-50 focus:outline-none focus:border-blue-500"
|
|
>
|
|
<input
|
|
type="password" placeholder="password.."
|
|
class="px-4 py-2 w-full rounded border border-gray-300 shadow-sm text-base placeholder-gray-500 placeholder-opacity-50 focus:outline-none focus:border-blue-500"
|
|
>
|
|
<button class="flex justify-center items-center bg-blue-500 hover:bg-blue-600 text-white focus:outline-none focus:ring rounded px-3 py-1">
|
|
<svg class="w-5 h-5 inline"fill="none"stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"></path>
|
|
</svg>
|
|
<p class="ml-1 text-lg">
|
|
Login
|
|
</p>
|
|
</button>
|
|
</form>
|
|
<p class="text-gray-700 dark:text-gray-300 text-sm mt-2">
|
|
don't have an account?
|
|
<a href="#" class="text-green-500 hover:text-green-600 mt-3 focus:outline-none font-bold underline">
|
|
register
|
|
</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- login 10 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> |