Communitygithub.com

ZeroSum-Solutions/mishmash

为虚构奢华地产品牌 **Velar.** 打造的温暖、编辑风单页着陆页。包含深青色打字机预加载、上升建筑图像、滚动驱动缩放动效、悬停展开视频画廊以及青铜渐变询盘CTA。

mishmash 是什么?

这是一个为虚构奢华地产品牌 Velar. 构建的单页着陆页技能。它生成一个高度精致的 HTML 页面,包含深青色打字机预加载器、天空背景主视觉(“Live in Irreplaceable”)、从下方升起的镂空建筑图像,以及一个滚动驱动的中心交互:用户滚动时,建筑图像向上漂移并缩放至1.45倍,同时固定在一个粘性黑色声明区块(含计数统计)的底部。页面还包含一个悬停展开的五格视频画廊、一个青铜渐变“Inquire”询盘按钮,以及完整的响应式设计系统(Syne + Inter 字体、暖白/深青/黑色调色板)。该技能支持 Claude Code、VSCode 等开发环境,通过修改模板资产(品牌名称、标题、图片、视频)快速生成定制页面,并严格遵守无障碍运动偏好(`prefers-reduced-motion`)。它通过 CSS 变量定义所有颜色,便于重新着色,且所有动画(打字机、滚动视差、计数、画廊悬停)均有对应的无障碍降级方案。

兼容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/ZeroSum-Solutions/mishmash/tree/HEAD/design-templates/luxury-real-estate-landing

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Velar. — 奢华地产着陆页

源自授权 MotionSites 稿件;重构为独立页面。

为虚构奢华地产品牌 Velar. 打造的温暖、编辑风单页着陆页。深青色打字机预加载让位于天空背景主视觉(“Live in Irreplaceable”),镂空建筑图像在页面加载时从下方升起;然后进入滚动驱动的核心交互:用户滚动时,同一建筑图像向上漂移并缩放至1.45倍,同时固定在粘性黑色声明区块(含计数统计)的底部。悬停展开的五格视频画廊从声明区块上方滑入,青铜渐变“Inquire”询盘CTA完成页面收尾。全页使用 Syne(展示字体)搭配 Inter(正文字体),位于温暖米白色底色之上,配以一处青铜色调强调色。

工作流程

  1. 将 example.html 克隆到用户工作区作为工作文件。
  2. 替换占位内容:使用用户真实的品牌名称、标题、声明文案、统计数据以及物业图像/视频。替换资产时,保持与现有图像/视频尺寸一致。
  3. 保留设计系统:温暖米白色/深青色/黑色调色板、Syne + Inter 字体搭配、预加载打字机效果以及下方构建规范中的滚动驱动房屋核心交互是品牌标识的核心——不得替换字体、重新着色中性骨架,或移除滚动链接动效。
  4. 通过复制区块进行扩展:永远不要从其他模板导入布局。如果缺少某个区块,应使用此模板自身的视觉语言从头设计。
  5. 保持动效无障碍:按照构建规范要求,所有动画必须放在 prefers-reduced-motion 规则之后。

构建规范

调色板

所有色相及渐变色均定义在 :root 上,以便重新着色工具无需触碰标记即可重新为页面着色:

令牌值用途
--bg#f5f0ea页面背景(温暖米白色)
--ink#213138标题、导航标志(默认)、正文文字
--dark#1a1a1a声明区块和画廊背景
--paper / --paper-dim#e8e4df / rgba(255,255,255,.6)深色背景上声明文案/统计标签
--accent / --accent-2#a9835a / #dcbd8e唯一色相令牌族——眉线分割线、画廊悬停光晕、Inquire CTA 渐变
--linergba(255,255,255,.2)深色背景上统计列分隔线

近黑色(--dark)和温暖米白色(--bg)骨架按设计保持字面不变——这些是重新着色滤镜应保留的中性表面。青铜色 --accent/--accent-2 对才是客户端重新着色时实际重新着色的部分:"The Velar Standard" 上方的小分割线、画廊图块上的径向悬停光晕,以及 Inquire 按钮的渐变填充。

字体

两种 Google 字体,与源规范完全匹配:

  • Syne(700/800/900)—— 导航标志、主标题(“Live in Irreplaceable”)、预加载打字机、章节眉线、画廊滚动文字、移动菜单链接、Inquire 标题。
  • Inter(300/400/500/600)—— 正文、声明段落、统计数字/标签、页脚。

布局

  1. 预加载—— 一个固定全视口 #213138 覆盖层,逐个字母打出 "Velar."(最后一个字母打出后尾随光标闪烁),然后向上滑动(translateY(-100%))显示主视觉。
  2. 导航—— 固定、透明,标志在左,汉堡菜单在右。每当深色声明或画廊区块位于视口顶部时,标志和汉堡菜单线条从墨水色渐变为白色。汉堡菜单打开一个全屏米白色菜单(Residences、Story、Listings、Inquire)。
  3. 主视觉—— 全幅天空照片背景,min-height: 100vh。顶部一行将 "LIVE IN"(左)与两行右对齐副标题(仅桌面端)配对,下方是超大 "IRREPLACEABLE" 标题和仅移动端显示的副标题。字号通过 clamp()/vw 在三个显式断点处逐步变化,遵循源规范。
  4. 滚动驱动房屋(核心交互)—— 一个 position: fixed 元素,包含镂空建筑图像。预加载上滑时,它从视口下方升起,底部居中停放;然后——一旦主视觉区域的30%滚动通过——随着用户继续滚动,它向 top:0; left:0 漂移并缩放至1.45倍,使用双重应用缓动函数缓动,直至固定在深色声明区块底部附近。
  5. 声明 + 统计(粘性)—— 一个 200vh 包装器,内含 position: sticky 黑色面板:眉线("The Velar Standard")上方是四行声明,下方是三列统计行(120+ 投资组合持仓、12 个全球地点、98% 客户忠诚度),当每个数字进入视口30%时开始计数。
  6. 悬停展开画廊—— 一个 margin-top: -100vh 的区块,从声明面板上方滑入。五个静音循环属性视频放在手风琴式行中;悬停其中一个会使其扩展至 flex: 4,同时相邻图块压缩,背景中有一个巨大淡色 "Velar." 文字滚动标记。在 1024px 以下变为2列网格(第五个奇数图块居中全宽显示在下方)。
  7. Inquire(收尾)—— 一个米白色收尾面板:标题、单行副标题、青铜渐变 "Inquire with Velar" mailto CTA、以及小页脚(页面内链接 + 版权信息)。

动效清单

  • 预加载打字机:字母逐个插入(间隔140ms,从600ms开始),随后闪烁光标;然后整个覆盖层向上滑动(1.5s cubic-bezier(0.45,0,0.15,1)),主视觉文字在后方淡入滑入。
  • 滚动驱动房屋:scroll/resize 驱动、requestAnimationFrame 节流,重新计算房屋的平移 + 缩放,通过两次应用 smoothstep 实现缓入缓出效果。
  • 导航颜色淡入淡出:标志/汉堡菜单线条的 color 0.35s ease,通过 getBoundingClientRect 检查(无需 IntersectionObserver)根据两个深色区块切换,并使用 requestAnimationFrame 节流。
  • 统计计数:IntersectionObserver(30% 阈值)触发一个 2000ms 的 requestAnimationFrame 计数,从0计数到每个目标值,使用 1 - (1-t)^3 缓动。
  • 画廊悬停展开:悬停图块(及其相邻图块,通过共享弹性行)的 flex 0.5s cubic-bezier(0.4,0,0.2,1);同时悬停图块上淡入一个柔和的青铜径向渐变光晕。
  • prefers-reduced-motion: reduce:整个预加载序列立即折叠到结束状态(无打字机延迟,无上滑动效);滚动驱动房屋根本不连接滚动,保持在其停放位置(底部居中);统计数字立即渲染最终值而不计数;所有剩余过渡(汉堡菜单线条、移动菜单、画廊悬停、Inquire CTA)降为接近零持续时间。

资产

  • assets/hero-bg.webp—— 稿件的 images.higgs.ai 天空背景,以其服务分辨率加载(1920×1080,约22KB webp)。
  • assets/house.webp—— 稿件的 Cloudinary 建筑镂空 PNG(4096×2304,约5MB),缩放至 1600px 宽,重新编码为有损 webp 并保留无损 alpha 通道(约64KB),以原始大小的一小部分保持透明度。
  • assets/gallery-1.mp4 … assets/gallery-5.mp4—— 稿件的五个 CloudFront 物业 MP4(1928×1072,4秒,8–14 Mbps H.264),每个使用 ffmpeg 转码为静音 720p H.264 循环(每个 156KB–300KB,总计约1MB,对比源文件约26MB)。

与原始稿件规范的差异

  • 房屋使用单个固定元素,而非外/内 div 对。源规范描述了一个外 position: fixed 包装器加一个内 div,分别处理“从下方升起”的进入和后面的滚动驱动重新定位。此构建将两者合并为一个元素(CSS 类切换用于进入,直接内联样式写入用于滚动阶段)—— 相同视觉效果,更少的动效部件。
  • 无障碍运动下房屋行为:此构建将整个滚动驱动视差视为装饰性动效,在 prefers-reduced-motion: reduce 下完全不连接滚动,遵循此仓库的“有尊严的静态回退”规则——房屋保持静止停放状态。
  • 声明文字在移动端自动换行。源规范无条件地对所有声明行设置 white-space: nowrap;在最小支持宽度下会导致水平溢出,因此此构建仅在 ≥1024px 时应用 nowrap,低于该宽度时让文字自然换行(prompt-fixed,而非内容更改)。
  • 滚动文字标记为静态,匹配源规范自身的说明:其参考实现将巨大的 "Velar." 文字标记作为静态分层背景而非动画。
  • 图标翻译。汉堡/关闭控制使用两个纯 CSS 线条变形为 X(在非 React 构建外无法使用 lucide-react);功能和视觉上等同于源规范的 Lucide X 替换。
  • Inquire 区块为新增。源稿件的规范仅到画廊为止,未描述收尾/联系区块,但导航的移动菜单包含一个“Inquire”链接,没有着陆目标。此构建添加了一个简短、符合品牌形象的收尾面板(标题、副标题、mailto CTA、页脚链接),使页面拥有真实目标点和自然收尾。

输出约定

在 <artifact> 标签内输出:

<artifact identifier="luxury-real-estate-landing" type="text/html" title="Velar. — 奢华地产着陆页">
<!doctype html>
<html>...</html>
</artifact>

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ZeroSum-Solutions/mishmash

Two-section scroll landing for **S.P.D**, a fictional daily-operations automation platform. Section one is a full-bleed black hero: a muted, looping period-painting video plays edge to edge behind a top-left wordmark and tagline, a top-right pill CTA, and a large right-aligned serif headline low in the frame. A cloud-plume image straddles the seam into section two, a saturated red panel holding a centered monogram, an uppercase mission line, a large script signature, two closing lines of copy, and a second looping video with a soft fade into the red. Motion is a staggered load-in fade on the hero, an IntersectionObserver reveal on the red section's content, and a scroll-linked parallax on the cloud plume — all degrading to a static, fully-visible layout under reduced motion.

ZeroSum-Solutions/mishmash

Full-screen, single-viewport (100vh, no scroll) dark hero landing page for **Asme**, a fictional no-code AI app platform. The fullscreen background is an HLS video stream from Mux, playing natively on Safari and via hls.js MediaSource on other browsers. A liquid-glass pill navbar (luminosity-blended glass with a masked `::before` gradient border) floats above an Instrument Serif hero heading and an animated email-capture CTA — "Get early access" expands to a form with a 60 ms/char typewriter placeholder, flips `ArrowRight` to `Check` on submit, and auto-resets after 4 seconds. All elements animate in on load with Motion (Framer Motion).

ZeroSum-Solutions/mishmash

A pixel-spec, dark-themed single-page marketing landing site for **Asme**, a fictional knowledge and insights platform, featuring a signature reusable `.liquid-glass` surface treatment — luminosity-blended translucent fill, 4px backdrop blur, inset top highlight, and a masked `::before` gradient border — applied consistently across the navbar pill, email capture, buttons, cards, and icon chips. The full-viewport hero loops a locally vendored `.mp4` video via a vanilla `requestAnimationFrame` opacity crossfade (fade in on `canplay`, fade out at 0.55s remaining, 100ms gap restart). Four scroll-triggered sections animate in with Framer Motion `useInView`: About, Featured Video, Innovation × Vision (video + two columns sliding from opposite sides), and Services (two glass cards with hover-zoom video). Instrument Serif display type sits against pure black throughout.

ZeroSum-Solutions/mishmash

A premium, dark-cinematic landing page for **Aura**, a fictional AI-native email client, featuring a looping fullscreen background video, a gradient-clip shiny headline, a macOS-style menu bar mockup, a realistic inbox preview, and a custom liquid-glass card treatment. The multi-section layout covers navbar, hero, menu bar, inbox mockup, feature triage, logo cloud, testimonials, pricing, and a final CTA — targeting the AI productivity app and SaaS landing page use case.

ZeroSum-Solutions/mishmash

A modern React landing page for a fictional broadcast-grade live video platform featuring a full-screen adaptive HLS video background, a glassmorphic navigation header, and hero content pinned to the bottom-left corner. Dark cinematic aesthetic with Gloock display serif, Archivo body, JetBrains Mono telemetry labels, and an aurora-green signal accent — ideal as a live streaming platform or video SaaS landing page template.

ZeroSum-Solutions/mishmash

A single-screen marketing landing page for "dot.", a calm-messaging product that links you with one anonymous peer for a single message each day. The hero is a full-screen looping background video of a phone, fronted by an animated Instrument Serif headline and a typewriter effect that types and deletes short messages ("Are you here?", "Yes, I am.", "Speak soon.") positioned to sit on the phone's on-screen display — evoking a quiet, analog rhythm. A floating pill navbar with a glinting "Link up" CTA completes the single-screen composition.

ZeroSum-Solutions/mishmash

A single-page "scrollytelling" landing page called Step Into Wonder: a 4.8-screen pinned scroll sequence where painted curtains part over a glowing crystal-cave portal, the world zooms and the portal irises open toward a sky beyond, then a giant arc of nine pastel destination cards sweeps across the closing scroll like a slow ferris wheel. Serif display headlines (Viaoda Libre) pair with a plain sans body face (Imprima) over a near-black stage, with mouse parallax on every layer and a dignified static fallback under reduced motion.

ZeroSum-Solutions/mishmash

Full landing page for the fictional AI workflow-automation platform **FlowMate** — a fixed left sidebar with a logo mark and section nav, a translucent blurred navbar, a large serif hero headline, a liquid-glass chat-composer card overlaid on a looping ambient video, a six-card feature grid, and an auto-rotating three-up cards carousel, all on an off-white minimalist palette with one indigo-violet chromatic accent.

ZeroSum-Solutions/mishmash

A single-page landing page for GroundAI, an interior-design AI product, built with TanStack Start v1 on file-based routing, React 19, TypeScript, Tailwind CSS v4, framer-motion for all animation, and lucide-react for icons. The page is composed of four stacked sections: a full-bleed autoplaying video hero with spring-animated header, expanding glass nav pill, and word-by-word animated description; a CSS marquee of partner brand wordmarks; a CraftExperiences section with a spring-driven style carousel, a skeleton-morphing chat card, and a staggered adaptable list; and a two-column testimonials block with animated word reveals.

ZeroSum-Solutions/mishmash

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

ZeroSum-Solutions/mishmash

A single-page, desktop-only dark hero landing for the fictional studio **Kubric™**, built on **TanStack Start v1 + React 19 + Vite 7 + Tailwind v4** with file-based routing. Features a looping background video with a progressive 8-layer `backdrop-filter` blur at the bottom, an animated SVG logo with arc stroke-dashoffset reveals, a glass nav pill, a character-by-character headline reveal, a vertical right-side section nav, and a white "About us" card. Everything animates in on first load once the background video is ready.

ZeroSum-Solutions/mishmash

ProFolioX is a static reproduction of the current Lexington Themes portfolio template. It combines a fixed desktop sidebar, responsive mobile navigation, Geist typography, light and dark themes, animated project cards, searchable content, and editorial portfolio layouts.

ZeroSum-Solutions/mishmash

A full-screen, cinematic hero landing page for a creative agency called Mainframe, featuring a fixed background video that scrubs forward and backward in response to horizontal mouse movement, an AI-assistant-themed blurred intro label, a typewriter-animated headline, and a row of pill-shaped action buttons with a clipboard copy email link. The design pairs HelveticaNowDisplay-Medium headings with HelveticaNowDisplayW01-Rg body text, both vendored locally for offline use. Built with React 19, TypeScript, Vite, and Tailwind CSS v3.

ZeroSum-Solutions/mishmash

A cinematic, single-section landing hero for mėntality, a fictional mental-health resources product. The page pairs a full-bleed background video that gradient-masks into a soft `#edeef5` base with a glassmorphic, fixed navigation bar, built in React 19 + Vite and animated with Motion (formerly Framer Motion). Notable techniques include `backdrop-blur` glassmorphism, a gradient mask that blends the video top into the base color, `clamp()` fluid headline sizing, an animated SVG hamburger that morphs into an X, an inline blinking "eye/pupil" pill in the headline, and an animated `pl`/`en` language toggle. Styling is Tailwind CSS 4 via the `@tailwindcss/vite` plugin (CSS-first `@theme`, no config file), with Inter and Outfit from Google Fonts.

ZeroSum-Solutions/mishmash

A pure-black (#000) monochrome landing page for Mindloop, a newsletter and content platform, where white typography does the talking — Inter for structure and Instrument Serif italics for accent words. The seven-section page flows through a fixed glass navbar, a full-viewport MP4 hero with email capture, an AI-platform awareness section, a scroll-driven word-by-word opacity reveal, a solution feature grid with a 3:1 video panel, an HLS-streamed CTA section via hls.js (with native Safari fallback), and a minimal footer — with Framer Motion entrances and a liquid-glass CSS border effect throughout.

ZeroSum-Solutions/mishmash

Cinematic single-page landing for the fictional neural-AI platform **SynapseX**. A fixed, full-viewport background video scrubs frame-by-frame as the page scrolls and progressively blurs, sitting behind a scramble-in split-corner hero headline, a 3D-tilted cinematic paragraph reveal, and a frosted-glass horizontal metrics carousel. Pure black-and-white scaffolding is punctuated by one neon-green "synaptic" accent that ties the UI to the glowing footage underneath it.

ZeroSum-Solutions/mishmash

A dark, full-bleed landing page for Neuralyn, a fictional analytics-dashboard SaaS, featuring a full-viewport hero with a scroll-linked parallax dashboard composited over a looping background video and a scroll-driven testimonial where each word lights up as you scroll. The aesthetic is pure-black background, white type, a single italic serif accent word, and a liquid-glass tag pill. Built with React 18 + Vite and TypeScript, styled with Tailwind CSS 3 and shadcn/ui-style primitives, animated via Framer Motion (`useScroll`/`useTransform`) for scroll-linked parallax and the word-by-word color reveal, with fonts self-hosted via Fontsource.

ZeroSum-Solutions/mishmash

A monochrome, editorial landing page for a fictional Natural History Museum paleontology collection, featuring a three-section continuous scroll: a full-viewport hero with a delayed background video reveal and an animated geometric "NHM" SVG logotype (per-polygon slide-up reveal), an "Explore Our World" section with scroll-revealed display heading and action pills, and a dark "Ancient Collection" chapter browser with auto-cycling fossil images and a custom SVG `feTurbulence`/`feDisplacementMap` sand-dissolve transition effect. Built with React 19, Vite 6, Tailwind CSS 4 (CSS-first config), and Motion (Framer Motion), in a strictly monochrome black/white/gray palette — no color accents.

ZeroSum-Solutions/mishmash

A single-page NFT landing site with four full-bleed sections (Hero, About, Collection, CTA) on a dark space theme. The page uses looping muted background videos, a CSS liquid-glass UI effect, a fixed grain texture overlay, and a tight color system (deep navy `#010828`, off-white `#EFF4FF`, neon green `#6FFF00`; Anton headings, Condiment cursive accents, system mono body). Showcases a three-card NFT collection grid with rarity scores and video previews.

ZeroSum-Solutions/mishmash

Dark "About Me" section for a freelance designer's portfolio, built as a single self-contained HTML page. A gradient headline reading "About me" sits above a bio paragraph whose characters brighten left-to-right as the page scrolls, framed by four glassy 3D corner icons (moon, brick, smiley, cursor) that slide in from the left and right on load, with a magenta-to-orange gradient pill button beneath.

相关技能