- Fix production build path resolution for CSS/JS/images - Resolve sidebar navigation layout issues (badges, arrows, spacing) - Fix RTL CSS processing interference with LTR builds - Update dependencies (Bootstrap 5.3.7, Bootstrap Icons 1.13.1, OverlayScrollbars 2.11.0) - Remove CDN integrity attributes to prevent digest mismatches - Add dist/ to .gitignore to exclude build files from repository - Implement smart relative path calculation for all deployment scenarios - Add runtime image path correction for sub-folder deployments - Ensure development and production environment parity - Fix all ESLint compliance issues (prefer-global-this, prefer-string-slice) Major improvements: ✅ Production builds now work identically to development ✅ Images, CSS, and JavaScript load correctly in any deployment structure ✅ Sidebar displays properly with badges and arrow indicators ✅ Zero console errors from CDN resources ✅ Full compatibility with FTP/static hosting platforms
110 lines
3.5 KiB
Plaintext
110 lines
3.5 KiB
Plaintext
---
|
|
import Head from "@components/_head.astro"
|
|
import Footer from "@components/dashboard/_footer.astro"
|
|
import Topbar from "@components/dashboard/_topbar.astro"
|
|
import Sidenav from "@components/dashboard/_sidenav.astro"
|
|
import Scripts from "@components/_scripts.astro"
|
|
|
|
const title = "AdminLTE 4 | Fixed Complete"
|
|
const path = "../../../dist"
|
|
const mainPage = "layout"
|
|
const page = "fixed-complete";
|
|
---
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<!--begin::Head-->
|
|
<head>
|
|
<Head title={title} path={path} />
|
|
</head>
|
|
<!--end::Head-->
|
|
<!--begin::Body-->
|
|
<body class="layout-fixed fixed-header fixed-footer sidebar-expand-lg sidebar-open bg-body-tertiary">
|
|
<!--begin::App Wrapper-->
|
|
<div class="app-wrapper">
|
|
<Topbar path={path} />
|
|
<Sidenav path={path} mainPage={mainPage} page={page} />
|
|
|
|
<!--begin::App Main-->
|
|
<main class="app-main">
|
|
<!--begin::App Content Header-->
|
|
<div class="app-content-header">
|
|
<!--begin::Container-->
|
|
<div class="container-fluid">
|
|
<!--begin::Row-->
|
|
<div class="row">
|
|
<div class="col-sm-6">
|
|
<h3 class="mb-0">Fixed Complete</h3>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<ol class="breadcrumb float-sm-end">
|
|
<li class="breadcrumb-item"><a href="#">Home</a></li>
|
|
<li class="breadcrumb-item active" aria-current="page">
|
|
Fixed Complete
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<!--end::Row-->
|
|
</div>
|
|
<!--end::Container-->
|
|
</div>
|
|
<!--end::App Content Header-->
|
|
<!--begin::App Content-->
|
|
<div class="app-content">
|
|
<!--begin::Container-->
|
|
<div class="container-fluid">
|
|
<!--begin::Row-->
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<!-- Default box -->
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h3 class="card-title">Title</h3>
|
|
|
|
<div class="card-tools">
|
|
<button
|
|
type="button"
|
|
class="btn btn-tool"
|
|
data-lte-toggle="card-collapse"
|
|
title="Collapse"
|
|
>
|
|
<i data-lte-icon="expand" class="bi bi-plus-lg"></i>
|
|
<i data-lte-icon="collapse" class="bi bi-dash-lg"></i>
|
|
</button>
|
|
<button
|
|
type="button"
|
|
class="btn btn-tool"
|
|
data-lte-toggle="card-remove"
|
|
title="Remove"
|
|
>
|
|
<i class="bi bi-x-lg"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
Start creating your amazing application!
|
|
</div>
|
|
<!-- /.card-body -->
|
|
<div class="card-footer">Footer</div>
|
|
<!-- /.card-footer-->
|
|
</div>
|
|
<!-- /.card -->
|
|
</div>
|
|
</div>
|
|
<!--end::Row-->
|
|
</div>
|
|
<!--end::Container-->
|
|
</div>
|
|
<!--end::App Content-->
|
|
</main>
|
|
<!--end::App Main-->
|
|
<Footer />
|
|
</div>
|
|
<!--end::App Wrapper-->
|
|
<!--begin::Script-->
|
|
<Scripts path={path} />
|
|
<!--end::Script-->
|
|
</body><!--end::Body-->
|
|
</html>
|