R68 A1-A6:Portal 首页信息架构与对齐优化
这个提交包含在:
@@ -1,18 +1,21 @@
|
||||
import type { ReactNode } from "react";
|
||||
import { cn } from "../../lib/utils";
|
||||
|
||||
export function WorkbenchHero({
|
||||
eyebrow,
|
||||
title,
|
||||
subtitle,
|
||||
actions,
|
||||
className,
|
||||
}: {
|
||||
eyebrow?: string;
|
||||
title: string;
|
||||
subtitle?: string;
|
||||
actions?: ReactNode;
|
||||
className?: string;
|
||||
}) {
|
||||
return (
|
||||
<section className="workbench-hero">
|
||||
<section className={cn("workbench-hero", className)}>
|
||||
<div>
|
||||
{eyebrow ? <div className="workbench-hero__eyebrow">{eyebrow}</div> : null}
|
||||
<h1 className="workbench-hero__title">{title}</h1>
|
||||
|
||||
在新工单中引用
屏蔽一个用户