Files
tailShape/public/componets/register/1_register.html

175 lines
9.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>Register 1 </title>
</head>
<body>
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
d
</button>
<!-- register 1 start -->
<section class="section_divider">
<div>Register 1 </div>
</section>
<div class="flex p-1 py-12 bg-white dark:bg-gray-800 justify-center place-content-center">
<div class="max-w-lg overflow-hidden border border-gray-200 rounded-lg">
<form class="w-full max-w-lg">
<div class="p-10 pb-6">
<div class="flex flex-wrap mb-6 -mx-3">
<div class="w-full px-3 mb-6 md:w-1/2 md:mb-0">
<label class="block mb-2 text-xs font-bold tracking-wide dark:text-cyan-300 text-gray-700 uppercase"
for="grid-first-name">
First Name
</label>
<input
class="block w-full px-4 py-3 mb-3 leading-tight text-gray-700 bg-gray-200 border border-gray-200 rounded appearance-none focus:outline-none focus:bg-white"
id="grid-first-name" type="text" placeholder="Jane">
</div>
<div class="w-full px-3 md:w-1/2">
<label class="block mb-2 text-xs font-bold tracking-wide dark:text-cyan-300 text-gray-700 uppercase"
for="grid-last-name">
Last Name
</label>
<input
class="block w-full px-4 py-3 leading-tight text-gray-700 bg-gray-200 border border-gray-200 rounded appearance-none focus:outline-none focus:bg-white focus:border-gray-500"
id="grid-last-name" type="text" placeholder="Doe">
</div>
</div>
<div class="flex flex-wrap -mx-3">
<div class="w-full px-3 mb-6">
<label class="block mb-2 text-xs font-bold tracking-wide dark:text-cyan-300 text-gray-700 uppercase"
for="grid-email">
Email
</label>
<input
class="block w-full px-4 py-3 mb-3 leading-tight text-gray-700 bg-gray-200 border border-gray-200 rounded appearance-none focus:outline-none focus:bg-white focus:border-gray-500"
id="grid-email" type="email" placeholder="janedoe@example.com">
</div>
<div class="w-full px-3 mb-6">
<label class="block mb-2 text-xs font-bold tracking-wide dark:text-cyan-300 text-gray-700 uppercase"
for="grid-password">
Password
</label>
<input
class="block w-full px-4 py-3 mb-3 leading-tight text-gray-700 bg-gray-200 border border-gray-200 rounded appearance-none focus:outline-none focus:bg-white focus:border-gray-500"
id="grid-password" type="password" placeholder="***********">
</div>
<div class="w-full px-3 mb-6">
<label class="block mb-2 text-xs font-bold tracking-wide dark:text-cyan-300 text-gray-700 uppercase"
for="grid-number">
Phone number
</label>
<input
class="block w-full px-4 py-3 mb-3 leading-tight text-gray-700 bg-gray-200 border border-gray-200 rounded appearance-none focus:outline-none focus:bg-white focus:border-gray-500"
id="grid-email" type="text" placeholder="+91 XXX XXX XXXX">
</div>
</div>
<label>
<span class="block mb-2 text-xs font-bold tracking-wide dark:text-cyan-300 text-gray-700 uppercase">Address</span>
<textarea
class="block w-full px-4 py-3 mt-1 mb-3 text-gray-700 bg-gray-200 border border-gray-200 rounded form-textarea focus:outline-none"
rows="4" placeholder=""></textarea>
</label>
<div class="flex flex-wrap m-6 mb-2 -mx-3">
<div class="w-full px-3 mb-6 md:w-1/3 md:mb-0">
<label class="block mb-2 text-xs font-bold tracking-wide dark:text-cyan-300 text-gray-700 uppercase"
for="grid-city">
City
</label>
<input
class="block w-full px-4 py-3 leading-tight text-gray-700 bg-gray-200 border border-gray-200 rounded appearance-none focus:outline-none focus:bg-white focus:border-gray-500"
id="grid-city" type="text" placeholder="Albuquerque">
</div>
<div class="w-full px-3 mb-6 md:w-1/3 md:mb-0">
<label class="block mb-2 text-xs font-bold tracking-wide dark:text-cyan-300 text-gray-700 uppercase"
for="grid-state">
State
</label>
<div class="relative">
<select
class="block w-full px-4 py-3 pr-8 leading-tight text-gray-700 bg-gray-200 border border-gray-200 rounded appearance-none focus:outline-none focus:bg-white focus:border-gray-500"
id="grid-state">
<option>New Mexico</option>
<option>Missouri</option>
<option>Texas</option>
</select>
<div
class="absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 pointer-events-none">
<svg class="w-4 h-4 fill-current" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20">
<path
d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z" />
</svg>
</div>
</div>
</div>
<div class="w-full px-3 mb-6 md:w-1/3 md:mb-0">
<label class="block mb-2 text-xs font-bold tracking-wide dark:text-cyan-300 text-gray-700 uppercase"
for="grid-zip">
Zip
</label>
<input
class="block w-full px-4 py-3 leading-tight text-gray-700 bg-gray-200 border border-gray-200 rounded appearance-none focus:outline-none focus:bg-white focus:border-gray-500"
id="grid-zip" type="text" placeholder="90210">
</div>
</div>
</div>
<div class="flex items-center justify-between p-5 text-center bg-gray-900">
<div class="relative flex flex-col items-start mr-1 text-sm">
<span class="mr-1 text-gray-500 dark:text-cyan-300">Already have an account?</span>
<a href="#_" class="block font-medium text-indigo-600 underline">Login Here</a>
</div>
<button type="button"
class="inline-flex items-center px-6 py-3 text-base font-medium leading-6 text-white transition duration-150 ease-in-out bg-indigo-600 dark:bg-black dark:text-cyan-300 border border-transparent rounded-md hover:bg-indigo-500 focus:outline-none focus:border-indigo-700 focus:shadow-outline-indigo active:bg-indigo-700">
Register Now
</button>
</div>
</form>
</div>
</div>
<!-- register 1 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>