mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-19 22:53:03 +05:30
(feat): added preloader on projects page
This commit is contained in:
@@ -15,6 +15,7 @@ $years = create_project_years_array($conn);
|
||||
<?php require 'assets/_integrate.php';?>
|
||||
</head>
|
||||
<body class="font-lexend bg-bg_primary text-accent_secondary">
|
||||
<div id="preloader" class="absolute top-0 right-0 h-full w-screen z-[100] flex justify-center items-center bg-bg_primary overflow-hidden"><div class="spinner border-[5px] border-accent_secondary_transparent border-t-[5px] border-t-accent_primary rounded-[50%] h-[50px] w-[50px] animate-spin"></div></div>
|
||||
<?php require 'assets/_header.php';?>
|
||||
<div class="projectsbox w-full px-4 lg:px-[4.5rem]">
|
||||
<div class="herosection w-full flex flex-col-reverse justify-center lg:flex-row lg:justify-between items-center mb-3">
|
||||
@@ -172,5 +173,10 @@ $years = create_project_years_array($conn);
|
||||
</div>
|
||||
</div>
|
||||
<?php require 'assets/_footer.php';?>
|
||||
<script>
|
||||
window.addEventListener("load", function(){
|
||||
$('#preloader').addClass('hidden');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user