The "CLICK TO COPY" hint was absolute-positioned at top:10/right:14 of the cmd-box, landing on top of "~/facere — bash" in the bar header. Move the hint into the bar as a flex sibling so the title and hint share the row cleanly without overlap. Replace the placeholder install command with the real installer pulled from raw.githubusercontent.com, with FACERE_GH_TOKEN as a "contact us for demo" placeholder. Also fix deploy/build.sh: `npm init -y` rejects the leading-dot dir name `.build`, and the preset must be resolved by absolute path since babel runs from the repo root.
48 lines
2.8 KiB
HTML
48 lines
2.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
<title>FACERE — Hardware Design Agent</title>
|
|
|
|
<!-- Establish CDN connections early -->
|
|
<link rel="preconnect" href="https://unpkg.com" crossorigin />
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link rel="dns-prefetch" href="https://unpkg.com" />
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600&family=VT323&display=swap" rel="stylesheet" />
|
|
|
|
<link rel="stylesheet" href="styles.css?v=20260508-cmd" />
|
|
|
|
<!-- Preload critical scripts so they fetch in parallel with the CSS -->
|
|
<link rel="preload" as="script" href="https://unpkg.com/react@18.3.1/umd/react.production.min.js" crossorigin />
|
|
<link rel="preload" as="script" href="https://unpkg.com/react-dom@18.3.1/umd/react-dom.production.min.js" crossorigin />
|
|
<link rel="preload" as="script" href="https://unpkg.com/gsap@3.12.5/dist/gsap.min.js" crossorigin />
|
|
<link rel="preload" as="script" href="https://unpkg.com/gsap@3.12.5/dist/ScrollTrigger.min.js" crossorigin />
|
|
<link rel="preload" as="script" href="app.js?v=20260508-cmd" />
|
|
|
|
<!-- Preload background images. Mobile gets the smaller variant via media= -->
|
|
<link rel="preload" as="image" href="assets/exterior-factory.webp" media="(min-width: 761px)" fetchpriority="high" />
|
|
<link rel="preload" as="image" href="assets/factory-interior.webp" media="(min-width: 761px)" />
|
|
<link rel="preload" as="image" href="assets/pcb-chip.webp" media="(min-width: 761px)" />
|
|
<link rel="preload" as="image" href="assets/exterior-factory-mobile.webp" media="(max-width: 760px)" fetchpriority="high" />
|
|
<link rel="preload" as="image" href="assets/factory-interior-mobile.webp" media="(max-width: 760px)" />
|
|
<link rel="preload" as="image" href="assets/pcb-chip-mobile.webp" media="(max-width: 760px)" />
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
|
|
<!-- Production React (no dev warnings, ~140KB total vs ~1.1MB for dev builds) -->
|
|
<script src="https://unpkg.com/react@18.3.1/umd/react.production.min.js" integrity="sha384-DGyLxAyjq0f9SPpVevD6IgztCFlnMF6oW/XQGmfe+IsZ8TqEiDrcHkMLKI6fiB/Z" crossorigin="anonymous" defer></script>
|
|
<script src="https://unpkg.com/react-dom@18.3.1/umd/react-dom.production.min.js" integrity="sha384-gTGxhz21lVGYNMcdJOyq01Edg0jhn/c22nsx0kyqP0TxaV5WVdsSH1fSDUf5YJj1" crossorigin="anonymous" defer></script>
|
|
|
|
<!-- GSAP + ScrollTrigger -->
|
|
<script src="https://unpkg.com/gsap@3.12.5/dist/gsap.min.js" defer></script>
|
|
<script src="https://unpkg.com/gsap@3.12.5/dist/ScrollTrigger.min.js" defer></script>
|
|
|
|
<!-- Pre-compiled from app.jsx (see deploy/build.sh). No babel-standalone in browser. -->
|
|
<script src="app.js?v=20260508-cmd" defer></script>
|
|
</body>
|
|
</html>
|