mirror of
https://github.com/istiyakaminsanto/tailShape.git
synced 2025-12-18 04:07:00 +00:00
149 lines
6.7 KiB
HTML
149 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>ther 3 (alert 3) </title>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
|
|
<button class="dark_mode_button_custom_style" id="dark_mood_toogler">
|
|
d
|
|
</button>
|
|
|
|
|
|
|
|
<!-- other 3 start -->
|
|
<section class="section_divider">
|
|
<div>Other 3 (alert 3)</div>
|
|
</section>
|
|
<!-- alert 3 -->
|
|
<div class="flex flex-col justify-center pt-4 bg-gray-100 min-w-screen">
|
|
|
|
<!-- success -->
|
|
<div class="flex w-full max-w-sm mx-auto overflow-hidden bg-white rounded-lg shadow-md dark:bg-gray-800">
|
|
<div class="flex items-center justify-center w-12 bg-emerald-500">
|
|
<svg class="w-6 h-6 text-white fill-current" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M20 3.33331C10.8 3.33331 3.33337 10.8 3.33337 20C3.33337 29.2 10.8 36.6666 20 36.6666C29.2 36.6666 36.6667 29.2 36.6667 20C36.6667 10.8 29.2 3.33331 20 3.33331ZM16.6667 28.3333L8.33337 20L10.6834 17.65L16.6667 23.6166L29.3167 10.9666L31.6667 13.3333L16.6667 28.3333Z"/>
|
|
</svg>
|
|
</div>
|
|
|
|
<div class="px-4 py-2 -mx-3">
|
|
<div class="mx-3">
|
|
<span class="font-semibold text-emerald-500 dark:text-emerald-400">Success</span>
|
|
<p class="text-sm text-gray-600 dark:text-gray-200">Your account was registered!</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- info -->
|
|
<div class="my-5"></div>
|
|
<div class="flex w-full max-w-sm mx-auto overflow-hidden bg-white rounded-lg shadow-md dark:bg-gray-800">
|
|
<div class="flex items-center justify-center w-12 bg-blue-500">
|
|
<svg class="w-6 h-6 text-white fill-current" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M20 3.33331C10.8 3.33331 3.33337 10.8 3.33337 20C3.33337 29.2 10.8 36.6666 20 36.6666C29.2 36.6666 36.6667 29.2 36.6667 20C36.6667 10.8 29.2 3.33331 20 3.33331ZM21.6667 28.3333H18.3334V25H21.6667V28.3333ZM21.6667 21.6666H18.3334V11.6666H21.6667V21.6666Z"/>
|
|
</svg>
|
|
</div>
|
|
|
|
<div class="px-4 py-2 -mx-3">
|
|
<div class="mx-3">
|
|
<span class="font-semibold text-blue-500 dark:text-blue-400">Info</span>
|
|
<p class="text-sm text-gray-600 dark:text-gray-200">This channel archived by the owner!</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- warning -->
|
|
<div class="my-5"></div>
|
|
|
|
<div class="flex w-full max-w-sm mx-auto overflow-hidden bg-white rounded-lg shadow-md dark:bg-gray-800">
|
|
<div class="flex items-center justify-center w-12 bg-yellow-400">
|
|
<svg class="w-6 h-6 text-white fill-current" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M20 3.33331C10.8 3.33331 3.33337 10.8 3.33337 20C3.33337 29.2 10.8 36.6666 20 36.6666C29.2 36.6666 36.6667 29.2 36.6667 20C36.6667 10.8 29.2 3.33331 20 3.33331ZM21.6667 28.3333H18.3334V25H21.6667V28.3333ZM21.6667 21.6666H18.3334V11.6666H21.6667V21.6666Z"/>
|
|
</svg>
|
|
</div>
|
|
|
|
<div class="px-4 py-2 -mx-3">
|
|
<div class="mx-3">
|
|
<span class="font-semibold text-yellow-400 dark:text-yellow-300">Warning</span>
|
|
<p class="text-sm text-gray-600 dark:text-gray-200">Your image size is too large!</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- error -->
|
|
<div class="my-5"></div>
|
|
|
|
<div class="flex w-full max-w-sm mx-auto overflow-hidden bg-white rounded-lg shadow-md dark:bg-gray-800">
|
|
<div class="flex items-center justify-center w-12 bg-red-500">
|
|
<svg class="w-6 h-6 text-white fill-current" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M20 3.36667C10.8167 3.36667 3.3667 10.8167 3.3667 20C3.3667 29.1833 10.8167 36.6333 20 36.6333C29.1834 36.6333 36.6334 29.1833 36.6334 20C36.6334 10.8167 29.1834 3.36667 20 3.36667ZM19.1334 33.3333V22.9H13.3334L21.6667 6.66667V17.1H27.25L19.1334 33.3333Z"/>
|
|
</svg>
|
|
</div>
|
|
|
|
<div class="px-4 py-2 -mx-3">
|
|
<div class="mx-3">
|
|
<span class="font-semibold text-red-500 dark:text-red-400">Error</span>
|
|
<p class="text-sm text-gray-600 dark:text-gray-200">Your email is already used!</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- notification pop -->
|
|
<div class="my-5"></div>
|
|
|
|
<div class="flex w-full max-w-sm mx-auto overflow-hidden bg-white rounded-lg shadow-md dark:bg-gray-800">
|
|
<div class="w-2 bg-gray-800 dark:bg-gray-900"></div>
|
|
|
|
<div class="flex items-center px-2 py-3">
|
|
<img class="object-cover w-10 h-10 rounded-full" alt="User avatar" src="https://images.unsplash.com/photo-1477118476589-bff2c5c4cfbb?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=200&q=200">
|
|
|
|
<div class="mx-3">
|
|
<p class="text-gray-600 dark:text-gray-200">Sara has replied on the <a class="text-blue-500 dark:text-blue-300 hover:text-blue-400 hover:underline">uploaded image</a>.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="my-5"></div>
|
|
|
|
|
|
</div>
|
|
|
|
<!-- alert 3 -->
|
|
<!-- other 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> |