Vite + React + TS + Tailwind v4, runtime config.js and base-href contract (same shape as HDFC-Loan-Desk). Dealer: home, place order with the scheme engine live beside the form (query-kind record views over simulate()), orders with the Advisor's advice and one-click confirm-as-advised, schemes with progress to the next slab, incentives. Supplier: clusters + near-slab sweeps, dealers and dealer 360, advisories, scheme catalogue with draft → Analyst costing → approval, settlement runs with release/hold. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
42 lines
1.7 KiB
HTML
42 lines
1.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<!--BASE_HREF-->
|
|
<title>Meru Cement | Scheme Advisor</title>
|
|
<!-- Inline SVG favicon: the build is promoted between environments and a
|
|
/favicon.ico would resolve against whatever mount path the server
|
|
chose. The mark is a stylised bag-and-peak: three stacked bars. -->
|
|
<link
|
|
rel="icon"
|
|
href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='8' fill='%230f6b5c'/%3E%3Cpath d='M8 30 L20 10 L32 30 Z' fill='%23ffffff'/%3E%3Cpath d='M14 30 L20 20 L26 30 Z' fill='%23d9a441'/%3E%3C/svg%3E"
|
|
/>
|
|
<meta name="theme-color" content="#ffffff" />
|
|
<!-- Theme resolved BEFORE first paint, so a dark-mode user never sees a
|
|
white flash. Keep the storage key in step with THEME_KEY in theme.ts. -->
|
|
<script>
|
|
(function () {
|
|
try {
|
|
var t = localStorage.getItem('meru-scheme-advisor-theme');
|
|
if (t !== 'light' && t !== 'dark') {
|
|
t = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
|
}
|
|
document.documentElement.setAttribute('data-theme', t);
|
|
if (t === 'dark') {
|
|
var m = document.querySelector('meta[name="theme-color"]');
|
|
if (m) m.setAttribute('content', '#0f1f1c');
|
|
}
|
|
} catch (e) {
|
|
document.documentElement.setAttribute('data-theme', 'light');
|
|
}
|
|
})();
|
|
</script>
|
|
<script src="./config.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|