| title | Corner cafe |
|---|---|
| sdk | static |
| app_file | index.html |
| sdk_version | 1.17 |
| emoji | ☕ |
| colorFrom | yellow |
| colorTo | gray |
| pinned | true |
| short_description | Hero cycles all 7 clips; lighter mobile load (v1.17) |
v1.17 — Home background now cycles the full hero set (all 7 clips in the HF videos/hero folder), including on mobile and Save-Data / 2G–3G. Open Monday–Sunday 9:00–17:00 at 9 Eskdail Court, Dalkeith.
- Restored the full set (including
pexels-video-35510475); ordered lightest-first so the opening frame is ~112KB. - Removed per-clip HTML
loop— that was why phones looked stuck on one video when rotation was skipped. - Rotation always runs (reduced-motion excepted). Each clip plays once, then advances; a max dwell (8s desktop / 10s mobile) covers stalled loads.
- Still downloads one clip at a time, warming only the next ahead so mobile radios stay light.
- Fix: the hero logo
<img>closed early aftersrc, soalt/width/fetchpriority/decodingrendered as plain text on the page.
- Menu-side gallery (spotlight): on viewports ≤1023px only three clips rotate, unused videos stay unloaded, autoplay dwell is longer, and fetch starts closer to the fold so the first frame arrives sooner on mobile and tablet radios.
- Breakpoint ranges tidied to phone (<768px), tablet (768–1023px), laptop (1024–1439px) and desktop (1440px+).
- Menu grid now resolves 1 / 2 / 3 columns; the old four-track grid left an empty column on wide screens.
- Fixed the 550px map iframe and the full-bleed contact band that could push the page sideways.
- 44px minimum hit areas on touch pointers, safe-area padding for notched phones, and
svhhero heights so mobile browser chrome does not cause a jump.
- Hero ships one video at a time and cycles the full set; the next clip is warmed during playback.
- Spotlight and gallery carousels stay unfetched until scrolled near the viewport.
- Gallery photography requested at
w=800rather thanw=1920; the lightbox alone asks for the large render. - Google Fonts load without blocking first paint;
apple-touch-iconis a 21KB 180×180 file instead of a 946KB image.
Policies / Legal & operations is hidden while the wording is in draft — see the comment above
#policiesinindex.htmlto restore it.
- Static HF Space: form posts via FormSubmit AJAX to
pd3rvr@icloud.com(same pattern as careTalk). First live send may need a one-time FormSubmit confirmation in that inbox. - Docker /
app.pyoutgoing mail:POST /api/contactsends over SMTP. Set secretsSMTP_USER+SMTP_PASSWORD(iCloud app-specific password), optionalSMTP_HOST=smtp.mail.me.com,SMTP_PORT=587,MAIL_TO,SMTP_FROM.
Hugging Face free tier no longer allows new Docker Spaces, so this Space uses the static SDK.
Dockerfile/app.pyremain for local Docker runs with the SMTP mail server.