added timeline , register ,section , eoor ,contact , blog ,article block component's
This commit is contained in:
99
public/componets/register/2_register.html
Normal file
99
public/componets/register/2_register.html
Normal file
@@ -0,0 +1,99 @@
|
||||
<!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 2 </title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
|
||||
d
|
||||
</button>
|
||||
|
||||
|
||||
<!-- register 2 start -->
|
||||
<section class="section_divider">
|
||||
<div>Register 2</div>
|
||||
</section>
|
||||
<section class="h-screen font-sans bg-[url('https://source.unsplash.com/random/?trees')] grayscale bg-cover">
|
||||
<div class="container mx-auto h-full flex flex-1 justify-center items-center">
|
||||
<div class="w-full max-w-lg">
|
||||
<div class="leading-loose">
|
||||
<form class="max-w-xl m-4 p-10 bg-white rounded shadow-xl">
|
||||
<p class="text-gray-800 font-medium">Register</p>
|
||||
<div class="">
|
||||
<label class="block text-sm text-gray-00" for="cus_name">Name</label>
|
||||
<input class="w-full px-5 py-1 text-gray-700 bg-gray-200 rounded" id="cus_name" name="cus_name" type="text" required="" placeholder="Your Name" aria-label="Name">
|
||||
</div>
|
||||
<div class="mt-2">
|
||||
<label class="block text-sm text-gray-600" for="cus_email">Email</label>
|
||||
<input class="w-full px-5 py-4 text-gray-700 bg-gray-200 rounded" id="cus_email" name="cus_email" type="text" required="" placeholder="Your Email" aria-label="Email">
|
||||
</div>
|
||||
<div class="mt-2">
|
||||
<label class=" block text-sm text-gray-600" for="cus_email">Address</label>
|
||||
<input class="w-full px-2 py-2 text-gray-700 bg-gray-200 rounded" id="cus_email" name="cus_email" type="text" required="" placeholder="Street" aria-label="Email">
|
||||
</div>
|
||||
<div class="mt-2">
|
||||
<label class="hidden text-sm block text-gray-600" for="cus_email">City</label>
|
||||
<input class="w-full px-2 py-2 text-gray-700 bg-gray-200 rounded" id="cus_email" name="cus_email" type="text" required="" placeholder="City" aria-label="Email">
|
||||
</div>
|
||||
<div class="inline-block mt-2 w-1/2 pr-1">
|
||||
<label class="hidden block text-sm text-gray-600" for="cus_email">Country</label>
|
||||
<input class="w-full px-2 py-2 text-gray-700 bg-gray-200 rounded" id="cus_email" name="cus_email" type="text" required="" placeholder="Country" aria-label="Email">
|
||||
</div>
|
||||
<div class="inline-block mt-2 -mx-1 pl-1 w-1/2">
|
||||
<label class="hidden block text-sm text-gray-600" for="cus_email">Zip</label>
|
||||
<input class="w-full px-2 py-2 text-gray-700 bg-gray-200 rounded" id="cus_email" name="cus_email" type="text" required="" placeholder="Zip" aria-label="Email">
|
||||
</div>
|
||||
|
||||
<div class="mt-4">
|
||||
<button class="px-4 py-1 text-white font-light tracking-wider bg-gray-900 rounded" type="submit">Register</button>
|
||||
</div>
|
||||
<a class="inline-block right-0 align-baseline font-bold text-sm text-500 hover:text-blue-800" href="login.html">
|
||||
Already have an account ?
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<!-- register 2 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>
|
||||
Reference in New Issue
Block a user