diff --git a/.agent/MEMORY.md b/.agent/MEMORY.md index 2a44079..99c6bb7 100644 --- a/.agent/MEMORY.md +++ b/.agent/MEMORY.md @@ -14,6 +14,7 @@ Entrypoint for project memory. Read this before working in the repo. - [Redesign: homepage + project page](./memories/redesign-2026-11-01.md) — brief, design decisions, commits, verification. - [Hero scale, shared grid, smooth scroll](./memories/hero-grid-scroll-2026-11-01.md) — 75% hero title, one horizontal grid for all sections, smooth back-to-top. - [Motion pass](./memories/motion-pass-2026-11-01.md) — drifting three-aura backdrop, scroll-lit path nodes, bobbing hero peacock, iridescent footer "Project". +- [Hero scroll cue and gradient](./memories/hero-cue-gradient-2026-11-01.md) — restored scroll cue and iridescent italic hero text. ## Current state (2026-11-01) diff --git a/.agent/memories/hero-cue-gradient-2026-11-01.md b/.agent/memories/hero-cue-gradient-2026-11-01.md new file mode 100644 index 0000000..6c4355d --- /dev/null +++ b/.agent/memories/hero-cue-gradient-2026-11-01.md @@ -0,0 +1,7 @@ +# Hero scroll cue and gradient + +Date: 2026-11-01 + +- Restored the original site's centered, animated scroll cue in the homepage hero, with spacing to prevent overlap on short screens. The existing reduced-motion rule disables its animation. +- Wrapped “unshackled.” in `em` and applied the existing `--irid` gradient using clipped text. Disabled the inherited text shadow on that word to keep the gradient clear. +- Preserved pre-existing user edits to the hero, copy, and layout. `npm run build` passes. diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..248ba96 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,23 @@ +# AGENTS.md + +- Project/folder name: `pos` + +MEMORY.md, and every other file you can create under `.agent` folder in this project are yours to manage. Use them to capture and store current state, what's been built, etc. + +## 1. Required sequence before any real work + +Before writing code, writing documentation, or answering a question about the codebase, always do this in order: + +1. **Read memories** — check `.agent/memories/` and any relevant memory files it points to. +2. **Understand the codebase** — use tools to gather whatever context the task needs. +3. **Then act** — write code, write docs, or form your answer. + +Never skip step 1 or go straight to editing files. The memories capture decisions, constraints, and context that are not visible in the code. + +## 2. Memory management + +You SHALL manage your own memories, other than using relevant code exploration tools. For this, create your memories under `.agent/memories/` folder, and use MEMORY.md as an entrypoint. Structure: + +* `.agent/MEMORY.md` - entrypoint +* `.agent/memories/` - folder + * `.agent/memories/foo.md` - create as much as you need, index back at `MEMORY.md` diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index 110f87d..ab45ea5 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -11,6 +11,7 @@ const { } = Astro.props; --- + @@ -49,3 +50,4 @@ const { + \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 070e9f3..74d10dd 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -7,7 +7,7 @@ import Mark from '../components/Mark.astro';
-

Your device,
unshackled.

+

Your device,
unshackled.

Peacock is an open mobile system. Build Linux for the phone you already own, pick the software you want on it, and keep control when you change your mind.

It's early. A handful of phones run it, and there's no stable release to download yet. The work is open, and help is welcome.

@@ -15,11 +15,12 @@ import Mark from '../components/Mark.astro'; Browse the source
+
Scroll
-

The hardware is yours. The software should be too.

+

You own the hardware. Software should be yours, too.

Peacock isn't a phone company. It's a build system, a boot chain, and a recovery environment that together let you put Linux on hardware you already own, with no account and no vendor in the middle.

diff --git a/src/styles/global.css b/src/styles/global.css index 1e18bc5..d7c5bf1 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -81,16 +81,16 @@ .hdr nav .cta:hover{color:var(--bg);background:#fff;border-color:#fff;} /* ---- hero ---- */ - .hero{position:relative;min-height:100svh;display:flex;align-items:center;padding:0 var(--pad);overflow:hidden;} + .hero{position:relative;min-height:100svh;display:flex;align-items:center;padding:100px var(--pad) 110px;overflow:hidden;} /* fade the peacock into the canvas at the bottom so it dissolves, not slices */ .hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:34%;z-index:2;pointer-events:none; background:linear-gradient(to bottom, transparent, var(--bg) 92%);} /* `--bob` is the total vertical travel of the hero mark: 6px means it drifts 3px up and 3px down from where it sits. Raise or lower it to taste. The reduced-motion block at the end of this file stops the bob. */ - .hero-peacock{--bob:6px;--bob-speed:6s; + .hero-peacock{--bob:4px;--bob-speed:1s; position:absolute;right:clamp(-180px,-7vw,-60px);top:clamp(78px,11vh,150px); - width:min(1020px,72vw);aspect-ratio:660/748;z-index:1;pointer-events:none; + width:min(1020px,56vw);aspect-ratio:660/748;z-index:1;pointer-events:none; filter:drop-shadow(0 0 50px rgba(59,160,240,.22)) drop-shadow(0 30px 80px rgba(142,123,240,.16)); will-change:transform;animation:peacock-bob var(--bob-speed) ease-in-out infinite alternate;} @keyframes peacock-bob{ @@ -101,7 +101,9 @@ .hero-peacock svg path{fill:url(#irid)!important;} .hero-wrap{position:relative;z-index:3;max-width:var(--maxw);margin:0 auto;width:100%;} - .htitle{font-family:var(--serif);font-size:clamp(40.5px,9.75vw,138px);line-height:.82;letter-spacing:-.015em;margin:0;} + .htitle{font-family:var(--serif);font-size:clamp(36px,10vw,136px);line-height:.82;letter-spacing:-.015em;margin:0;text-shadow: 2px 2px 24px #00000060;} + .htitle em{background:var(--irid);-webkit-background-clip:text;background-clip:text; + color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;} .lead{margin:30px 0 0;max-width:38ch;font-size:clamp(16px,1.5vw,19px);line-height:1.55;color:var(--ink2);} .status{margin:20px 0 0;max-width:46ch;font-size:14.5px;line-height:1.65;color:var(--soft);} .actions{margin-top:34px;display:flex;gap:12px;flex-wrap:wrap;} @@ -116,6 +118,10 @@ .btn.secondary{background:transparent;border-color:var(--line2);color:var(--ink);} .btn.secondary:hover{background:rgba(255,255,255,.05);border-color:var(--ink);} .btn:focus-visible{outline:2px solid var(--teal);outline-offset:3px;} + .cue{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:3;font-family:var(--mono); + font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--faint);display:flex;flex-direction:column;align-items:center;gap:8px;} + .cue .bar{width:1px;height:32px;background:linear-gradient(var(--line2),transparent);animation:cuep 2.2s ease-in-out infinite;} + @keyframes cuep{0%,100%{transform:scaleY(.5);opacity:.4;transform-origin:top}50%{transform:scaleY(1);opacity:1;transform-origin:top}} /* ---- sections ---- */ .module{position:relative;padding:clamp(80px,14vh,160px) var(--pad);}