Commit awal: prototipe UI SIAKAD Untan
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
@props(['title' => null, 'description' => 'Sistem Informasi Akademik Universitas Tanjungpura.'])
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>{{ $title ? $title.' | SIAKAD Untan' : 'SIAKAD Untan' }}</title>
|
||||
<meta name="description" content="{{ $description }}">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<link rel="icon" type="image/png" sizes="64x64" href="{{ asset('images/logo-untan-64.png') }}">
|
||||
<link rel="apple-touch-icon" href="{{ asset('images/logo-untan-256.png') }}">
|
||||
<script>
|
||||
document.documentElement.classList.add('js');
|
||||
(function () {
|
||||
var mode = null;
|
||||
try { mode = localStorage.getItem('siakad-theme'); } catch (e) {}
|
||||
if (mode !== 'light' && mode !== 'dark') {
|
||||
mode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
||||
}
|
||||
document.documentElement.dataset.theme = mode;
|
||||
try { if (localStorage.getItem('siakad-sidebar') === 'collapsed') document.documentElement.classList.add('sidebar-collapsed'); } catch (e) {}
|
||||
})();
|
||||
</script>
|
||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||
Reference in New Issue
Block a user