Install scene: fix cmd-bar overlap, swap install command
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.
This commit is contained in:
@@ -13,14 +13,14 @@
|
||||
|
||||
<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=20260503-perf" />
|
||||
<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=20260503-perf" />
|
||||
<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" />
|
||||
@@ -42,6 +42,6 @@
|
||||
<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=20260503-perf" defer></script>
|
||||
<script src="app.js?v=20260508-cmd" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user