docs(ui): explain shared controls and canvas display adapters
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
/**
|
||||
* 公用品牌首页链接。组合Logo、中文名与英文名,供登录页、落地页等位置复用;不读取用户或工作区状态。
|
||||
*/
|
||||
import Link from "next/link";
|
||||
/** light选择brand-light展示样式以及配套Logo资源:true用logo-dark.svg,false用logo-light.svg。
|
||||
* 链接的aria-label已经说明品牌与目的地,图片使用空alt避免重复朗读;固定尺寸减少加载时布局跳动。 */
|
||||
export function Brand({ light = false }: { light?: boolean }) {
|
||||
return (
|
||||
<Link
|
||||
|
||||
Reference in New Issue
Block a user