fix(site): remove the standalone film entry
This commit is contained in:
1 parent
190e926f61
commit
188376e880
5 files changed
+7
-11
No files matched your search
@@ -89,8 +89,9 @@ The short comics illustrate choosing, inviting and joining, following the
|
||||
shared motion grammar and whole-control replay rule. The optional film starts
|
||||
only after an explicit action and has native buttons and a seek slider. Open it
|
||||
within the homepage, loading its single player on demand; closing it unloads
|
||||
playback. The standalone page serves recording and direct links. Fullscreen
|
||||
watching keeps touch controls available; hiding them is an explicit recording action.
|
||||
playback. Keep one homepage playback entry; the player document also supports
|
||||
local recording. Fullscreen watching keeps touch controls available; hiding
|
||||
them is an explicit recording action.
|
||||
Both READMEs share the friendly opening and room illustration. Their feature,
|
||||
limitation and setup sections use the factual register in the copy guide.
|
||||
|
||||
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
# Piik film
|
||||
|
||||
The homepage expands this optional, 76-second introduction in an iframe loaded
|
||||
only on request. Closing it unloads playback; the adjacent **Open film page** link
|
||||
opens the same player on its own page and carries the current language and theme.
|
||||
Use `/film/?lang=en` for an English direct link. From the repository
|
||||
root, run `npm run build:website` and `npm run preview:website`, then open
|
||||
only on request. Closing it unloads playback; the frame follows the homepage's
|
||||
language and theme. The player document also supports local recording and
|
||||
focused checks. From the repository root, run `npm run build:website` and
|
||||
`npm run preview:website`, then open
|
||||
`http://127.0.0.1:18890/film/`. Publish the static `build/site/` output. A project
|
||||
prefix such as `/Piik/film/` also works; GitHub Pages needs no application server.
|
||||
|
||||
|
||||
@@ -97,9 +97,6 @@
|
||||
<span lang="en">A little film about Piik</span><span lang="zh-CN">用一支短片,认识 Piik</span>
|
||||
<span class="film-length">76s</span>
|
||||
</a>
|
||||
<a class="film-page-link" href="./film/" data-film-page>
|
||||
<span lang="en">Open film page</span><span lang="zh-CN">独立页面观看</span><span aria-hidden="true"> ↗</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-scene">
|
||||
|
||||
@@ -20,7 +20,6 @@ function syncFilmPreferences() {
|
||||
target.searchParams.set('lang', root.lang);
|
||||
target.searchParams.set('theme', theme.value);
|
||||
filmLink.href = target.href;
|
||||
document.querySelector('[data-film-page]').href = target.href;
|
||||
filmFrame.contentWindow?.postMessage({type:'piik-film-preferences',lang:root.lang,theme:theme.value}, location.origin);
|
||||
}
|
||||
const copy = {
|
||||
|
||||
@@ -77,7 +77,6 @@ h1 { font-size: clamp(49px, 5.7vw, 76px); line-height: 1.06; margin-block: 22px
|
||||
.hero-note { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 18px; }
|
||||
.film-actions { display:flex; align-items:center; flex-wrap:wrap; gap:0 20px; margin-top:18px; }
|
||||
.film-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; text-decoration:none; font-size:12px; font-weight:650; }
|
||||
.film-page-link { display:inline-flex; align-items:center; min-height:44px; color:var(--muted); font-size:12px; }
|
||||
.film-play { display:grid; place-items:center; width:33px; height:33px; border-radius:50%; color:var(--orange); background:var(--paper); transition:transform .22s cubic-bezier(.2,.9,.3,1.4); }
|
||||
.film-play svg { width:23px; height:23px; }
|
||||
.film-link:is(:hover,:focus-visible) .film-play { transform:scale(1.12); }
|
||||
|
||||
Reference in new issue
Block a user