# Tech-Realm/starter-landing as a LogicPacks pack

A fast, framework\u2011free static landing page with hero dot\u2011field, product preview, features, FAQ, and a local\u2011only waitlist form.

Source: https://github.com/Tech-Realm/starter-landing at commit `93d3c1cbec95`. No account needed. Everything below runs on this machine with your own agent.
A digest tells an agent what the code is; a pack also gives it the keys, the rules and the purpose to work on it safely.

## Keys this app needs

| Key | Needed | Service | Without a key |
|---|---|---|---|
| (none) | | | |

Ask the person for these keys first. With real keys the app runs against the real services (keys stay in the local LogicPacks vault,
the app sees placeholders). Without them it runs against a local, stateful mock with demo data.

## Run it locally

```sh
uvx logicpacks@latest add github.com/Tech-Realm/starter-landing --clone   # or: pipx run logicpacks add ...  (Python 3.9+)
cd starter-landing
# real keys (optional, hidden prompt, stored only in the local vault):  uvx logicpacks@latest key add <KEY_NAME>
./lp-mock.sh &                                    # local stateful mock for keys you don't have
./lp-run.sh <the repo's dev command>              # see LOGICPACKS.md in the clone for the exact commands
```

`logicpacks add --clone` clones the repo, writes `.env.lp` (mock keys and placeholders, never real values), points the SDKs at the
local mock (base-URL env vars, and hardcoded API URLs in the local copy only), and writes `LOGICPACKS.md` (purpose, commands,
playbooks, rules). Re-run it after adding real keys.

## More

- Purpose and how it works: https://logicpacks.io/Tech-Realm/starter-landing (tab "Purpose & rebuild")
- Full digest (tree + files, token-counted): https://convert.logicpacks.io/api/snapshots/s9dc36e3208a/digest.txt
- Pack files as JSON: https://convert.logicpacks.io/api/repo/Tech-Realm/starter-landing/bundle
- The owner can add private files, env and logs, and share access: open https://logicpacks.io/Tech-Realm/starter-landing in a browser.

## Add a contributor (owner, one step)

`uvx logicpacks@latest invite <github-user> --repo Tech-Realm/starter-landing` on the owner's machine: GitHub collaborator invite with the owner's
own gh login (LogicPacks never holds a GitHub token), this pack, optional scoped keys (expiry, endpoints, limits; values stay
on the owner's machine) and an access link the contributor's agent verifies. `uvx logicpacks@latest offboard <github-user>`
removes all of it (logicpacks 1.0.22 or newer). Details: https://logicpacks.io/Tech-Realm/starter-landing/invite.md

## Edit this app (make your own flavour)

`uvx logicpacks@latest remix github.com/Tech-Realm/starter-landing` forks it to the user's GitHub (their own gh login), clones it, builds this pack
on local mocks and adds a "Remixed from Tech-Realm/starter-landing" credit line. The owner's keys are never shared: live services use the user's own
keys. Licence and remix count: https://logicpacks.io/Tech-Realm/starter-landing/edit.md

## Core logic and purpose

- Provides a fast static landing page with hero dot‑field, product preview, features, FAQ and a waitlist form.
- Target audience: developers needing a ready‑to‑deploy static landing page template.
- Main flow: open index.html → hero canvas rendered by assets/dotfield.js → scroll reveals via assets/main.js → waitlist form stores email locally.
- Key modules:
  - index.html – markup for all sections.
  - assets/nova.css – colour tokens, font definitions, button/card styles, motion utilities.
  - assets/site.css – layout, responsive breakpoints.
  - assets/dotfield.js – canvas animation for hero.
  - assets/main.js – mounts dotfield, handles scroll reveals, implements submitSignup (local storage).
  - .logicpacks/ – LogicPacks metadata, Super Skill for styling.
  - dev.sh – simple dev server starter (python3 -m http.server or npx serve).
