<?php 
    $uri_1     = $this -> uri -> segment(1); 
    $uri       = $this -> uri -> uri_string(); 
    $hide_menu = $uri == 'transaksi/penjualan' ? 'collp-menu' : null;
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Page 404</title>

    <link rel="shortcut icon" href="<?= base_url('uploads/logo.png') ?>" type="image/x-icon">

    <link rel="stylesheet" href="<?= base_url() ?>assets/vendor/bs/bs.min.css">
    <link rel="stylesheet" href="<?= base_url() ?>assets/vendor/font/fa/css/all.min.css">
    <link rel="stylesheet" href="<?= base_url() ?>assets/css/main.css">
    <link rel="stylesheet" href="<?= base_url() ?>assets/css/mod.css">

    <script src="<?= base_url() ?>assets/vendor/jQuery/jquery.min.js"></script>
    <script src="<?= base_url() ?>assets/vendor/bs/bs.bundle.min.js"></script>
    
</head>
<body class="bg-light">
    <div class="container">
        <div class="row justify-content-center align-items-center" style="min-height: 100vh">
            <div class="col-sm-6">
                <div class="card">
                    <div class="card-body p-4 text-center">
                        <div class="mb-4">
                            <img src="<?= base_url('assets/img/404.png') ?>" class="me-4">
                        </div>
                        <h4>
                            <strong class="text-danger">Not Found</strong>
                        </h4>
                        <p class="mb-0">
                            Halaman yang anda cari tidak ditemukan.  
                        </p>
                        <div class="mt-4"> 
                            <button class="btn btn-light dashed px-5" onclick="window.location.href='<?= site_url() ?>'">
                                Dashboard
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>