跳到主要内容

Web Device layout component(站点) · ARC 2.0.0-beta.28

site `landing-hero`

本站 layout component `landing-hero`(`.web/components`):用途、边界、证据与 sample 诚实边界。

这是 Web Device layout component(本站),不是 AUP primitive,不是 AUP Web-only widget,也不是 Markdown 指令。

站点包:blocklets/arcblock/.web/components/landing-hero/。解析优先级:site override > theme default。

用途

编辑型 landing hero,带克制的、内容相关的视觉轨迹。

边界

  • 除非同名 theme 包也存在(此时本页为 override 合同),否则为本站专用。
  • 不要在本页写 AUP primitive 或 MD 指令合同。
  • 勿发明超出站点 manifest.json 的 props。

作者入口

landing layout

常见作者 props(来自 manifest):title, subtitle, primaryAction, secondaryAction, variant, headlineVariant, maxLines, displayPrefix, displayAccent, trace, traceKicker, traceText, geometry, geometryModifier, glyphField, heroVisual

heroVisual(如 heroVisual=webgl)会在文案后面开启一层全屏视觉背景 —— 具体可用的 webgl-hero widget 候选与精确配置见 Hero 实验室。开启后会自动隐藏 trace/geometry。

表面

layout(挂载处亦可为 docs 壳)。

公共状态

released

Fallback

缺 media 时无媒体块。

Sample

用于 pages/*/layout.aup 产品 landing。不作为 docs 内 live mock 优先项(仅 layout 表面)。

证据

项路径
站点包blocklets/arcblock/.web/components/landing-hero/
Manifest…/landing-hero/manifest.json
Renderer…/landing-hero/render.js(若有)
内部矩阵docs/aup/capability-matrix.md §5(内部,不对外路由)
矩阵行概念site layout-component · landing-hero

备注

产品 landing 路径;不是 docs content sample 优先项。可能含 script.js。

相关