Files
wms-app/landing/includes/head.php
T
Thanakorn f11af6e949 Self-host front-end libraries, minimal sign-in header and CSP
- sign-in pages load only what they use (include_login_header.php, ajax_core.js)
- every library, font and data file served from assets/vendor with pinned
  versions (VERSIONS.json); no CDN at runtime
- Content-Security-Policy on app, sign-in and landing pages
- remove httpbin Dropzone target and source-map references
2026-09-24 14:53:41 +07:00

27 lines
1.2 KiB
PHP

<?php
// Usage: require __DIR__ . '/head.php';
// Caller may define $page_title and $page_description before requiring this file.
$page_title = $page_title ?? 'BRN WMS — Warehouse Management System';
$page_description = $page_description ?? 'BRN WMS — A cloud-ready Warehouse Management System for stock control, order fulfillment, and barcode labeling.';
$base = $base ?? '/landing';
?>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="<?= htmlspecialchars($page_description) ?>">
<meta name="author" content="BRN">
<title><?= htmlspecialchars($page_title) ?></title>
<!-- Styles -->
<link href="<?= $base ?>/webfonts/open-sans/open-sans.css" rel="stylesheet">
<link href="<?= $base ?>/css/bootstrap.min.css" rel="stylesheet">
<link href="<?= $base ?>/css/fontawesome-all.min.css" rel="stylesheet">
<link href="<?= $base ?>/css/swiper.css" rel="stylesheet">
<link href="<?= $base ?>/css/styles.css" rel="stylesheet">
<!-- Favicon -->
<link rel="icon" href="<?= $base ?>/images/favicon32.png">
<style>
.navbar .logo-image img.logo-wordmark { height: 32px; width: auto; }
</style>