268 lines
11 KiB
PHP
268 lines
11 KiB
PHP
<!doctype html>
|
|
<html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg" data-sidebar-image="none" data-preloader="disable">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>@yield('title',@$title) | SIGD</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta content="SIDG" name="description" />
|
|
<meta content="ilhamwara" name="author" />
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('assets/logo-dinas.ico') }}">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('assets/logo-dinas.ico') }}">
|
|
<link rel="mask-icon" href="{{ asset('assets/logo-dinas.ico') }}" color="#5bbad5">
|
|
<!-- App favicon -->
|
|
<link rel="shortcut icon" href="{{asset('assets/images/favicon.ico')}}">
|
|
<!-- Bootstrap Css -->
|
|
{{-- <link href="{{asset('assets/css/bootstrap.min.css')}}" id="bootstrap-style" rel="stylesheet" type="text/css" /> --}}
|
|
<!-- Icons Css -->
|
|
<link href="{{asset('assets/css/icons.min.css')}}" rel="stylesheet" type="text/css" />
|
|
<!-- App Css-->
|
|
<link href="{{asset('assets/css/app.min.css')}}" id="app-style" rel="stylesheet" type="text/css" />
|
|
<link rel="stylesheet" type="text/css" href="{{asset('assets/css/bootstrap-table.min.css')}}">
|
|
<link href="{{ asset('assets/libs/sweetalert2/sweetalert2.min.css') }}" rel="stylesheet" type="text/css" />
|
|
<!-- alertifyjs Css -->
|
|
<link href="{{ asset('assets/libs/alertifyjs/build/css/alertify.min.css') }}" rel="stylesheet" type="text/css" />
|
|
<link href="{{ asset('assets/libs/choices.js/public/assets/styles/choices.min.css') }}" rel="stylesheet" type="text/css" />
|
|
|
|
<!-- alertifyjs default themes Css -->
|
|
<link href="{{ asset('assets/libs/alertifyjs/build/css/themes/default.min.css') }}" rel="stylesheet" type="text/css" />
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<style>
|
|
.fade-in {
|
|
opacity: 0;
|
|
transform: translateY(50px);
|
|
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
|
|
}
|
|
|
|
.fade-in.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Button hover animations */
|
|
.btn-hover {
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn-hover:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.btn-hover:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Primary button (blue background) hover effect */
|
|
.btn-hover.btn-primary:hover {
|
|
background-color: #1a6fd9;
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 12px 30px rgba(32, 132, 255, 0.4);
|
|
}
|
|
|
|
/* Secondary button (border only) hover effect */
|
|
.btn-hover.btn-secondary:hover {
|
|
background-color: #f8fafc;
|
|
border-color: #2084FF;
|
|
color: #2084FF;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Icon button hover effects */
|
|
.btn-hover.btn-icon:hover {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
/* Tab button hover effects */
|
|
.btn-hover.btn-tab:hover {
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
color: #2084FF;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
/* FAQ Static Styles */
|
|
.faq-item {
|
|
/* Static display - no animations */
|
|
}
|
|
|
|
.faq-content {
|
|
/* Always visible */
|
|
display: block;
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Information Card Hover Animations */
|
|
.info-card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.info-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 100%);
|
|
z-index: 1;
|
|
transition: background 0.3s ease;
|
|
}
|
|
|
|
.info-card:hover {
|
|
transform: translateY(-8px);
|
|
}
|
|
|
|
.info-card:hover::before {
|
|
background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.8) 100%);
|
|
}
|
|
|
|
.info-card .content {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
</style>
|
|
@yield('css')
|
|
</head>
|
|
<body>
|
|
<section class="absolute">
|
|
<img src="{{ asset('assets/images/bg-front.png') }}" alt="">
|
|
</section>
|
|
<section class="navbar px-5 py-8 relative container mx-auto hidden md:block">
|
|
<div class="flex justify-between items-center">
|
|
<div class="flex gap-[50px] items-center">
|
|
<div><a href=""><img src="{{ asset('assets/images/logo.png') }}" width="120" alt=""></a></div>
|
|
<div class="flex gap-4">
|
|
<a href="">Edukasi & Regulasi</a>
|
|
<a href="">Dokumentasi</a>
|
|
<a href="">Inventarisasi</a>
|
|
</div>
|
|
</div>
|
|
<div><a href="{{ url('login') }}" class="rounded-full px-6 py-3 border">Login</a></div>
|
|
</div>
|
|
</section>
|
|
<section class="navbar px-5 pt-8 relative container mx-auto md:hidden">
|
|
<div><a href="#" class="px-4 py-3 text-[20px]"><i class="bx bx-menu"></i></a></div>
|
|
</section>
|
|
|
|
@yield('content')
|
|
{{-- <script src="{{asset('assets/libs/bootstrap/js/bootstrap.bundle.min.js')}}"></script> --}}
|
|
<script src="{{asset('assets/libs/metismenujs/metismenujs.min.js')}}"></script>
|
|
<script src="{{asset('assets/libs/simplebar/simplebar.min.js')}}"></script>
|
|
<script src="{{asset('assets/libs/eva-icons/eva.min.js')}}"></script>
|
|
|
|
<script src="{{ asset('assets/js/app.js') }}"></script>
|
|
<script src="{{asset('assets/js/bootstrap-table.min.js')}}"></script>
|
|
<script src="{{ asset('assets/libs/sweetalert2/sweetalert2.min.js') }}"></script>
|
|
<script src="{{ asset('assets/libs/alertifyjs/build/alertify.min.js') }}"></script>
|
|
<script src="{{ asset('assets/libs/choices.js/public/assets/scripts/choices.min.js') }}"></script>
|
|
|
|
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
// Simple fade-in animation
|
|
const fadeElements = document.querySelectorAll('.fade-in');
|
|
|
|
if (fadeElements.length === 0) {
|
|
console.log('No fade-in elements found');
|
|
return;
|
|
}
|
|
|
|
console.log('Found ' + fadeElements.length + ' fade-in elements');
|
|
|
|
// Show first element immediately
|
|
if (fadeElements[0]) {
|
|
setTimeout(() => {
|
|
fadeElements[0].classList.add('visible');
|
|
console.log('First element animated');
|
|
}, 500);
|
|
}
|
|
|
|
// Setup intersection observer for other elements
|
|
if ('IntersectionObserver' in window) {
|
|
const observer = new IntersectionObserver((entries) => {
|
|
entries.forEach(entry => {
|
|
if (entry.isIntersecting) {
|
|
entry.target.classList.add('visible');
|
|
console.log('Element animated on scroll');
|
|
observer.unobserve(entry.target);
|
|
}
|
|
});
|
|
}, {
|
|
threshold: 0.1,
|
|
rootMargin: '0px 0px -50px 0px'
|
|
});
|
|
|
|
// Observe all elements except the first one
|
|
for (let i = 1; i < fadeElements.length; i++) {
|
|
observer.observe(fadeElements[i]);
|
|
}
|
|
} else {
|
|
// Fallback for older browsers
|
|
fadeElements.forEach(el => {
|
|
el.style.opacity = '1';
|
|
el.style.transform = 'translateY(0)';
|
|
});
|
|
}
|
|
|
|
// Flowbite Accordion Functionality
|
|
const accordionButtons = document.querySelectorAll('[data-accordion-target]');
|
|
|
|
accordionButtons.forEach(button => {
|
|
button.addEventListener('click', function() {
|
|
const targetId = this.getAttribute('data-accordion-target');
|
|
const targetElement = document.querySelector(targetId);
|
|
const isExpanded = this.getAttribute('aria-expanded') === 'true';
|
|
const icon = this.querySelector('[data-accordion-icon]');
|
|
|
|
// Close all other accordion items
|
|
accordionButtons.forEach(otherButton => {
|
|
if (otherButton !== button) {
|
|
const otherId = otherButton.getAttribute('data-accordion-target');
|
|
const otherElement = document.querySelector(otherId);
|
|
const otherIcon = otherButton.querySelector('[data-accordion-icon]');
|
|
|
|
otherButton.setAttribute('aria-expanded', 'false');
|
|
if (otherElement) {
|
|
otherElement.classList.add('hidden');
|
|
}
|
|
if (otherIcon) {
|
|
otherIcon.classList.remove('rotate-180');
|
|
}
|
|
}
|
|
});
|
|
|
|
// Toggle current accordion item
|
|
if (isExpanded) {
|
|
this.setAttribute('aria-expanded', 'false');
|
|
if (targetElement) {
|
|
targetElement.classList.add('hidden');
|
|
}
|
|
if (icon) {
|
|
icon.classList.remove('rotate-180');
|
|
}
|
|
} else {
|
|
this.setAttribute('aria-expanded', 'true');
|
|
if (targetElement) {
|
|
targetElement.classList.remove('hidden');
|
|
}
|
|
if (icon) {
|
|
icon.classList.add('rotate-180');
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
|
|
@yield('js')
|
|
|
|
</body>
|
|
|
|
</html> |