feat: Fredy UI redesign

* New design :)
This commit is contained in:
Christian Kellner
2026-04-22 21:11:18 +02:00
committed by GitHub
parent c78472bd19
commit f30ec4645c
43 changed files with 4004 additions and 794 deletions

View File

@@ -3,13 +3,16 @@
* Licensed under Apache-2.0 with Commons Clause and Attribution/Naming Clause
*/
import { Typography } from '@douyinfe/semi-ui-19';
import './Headline.less';
export default function Headline({ text, size = 3 } = {}) {
const { Title } = Typography;
export default function Headline({ text, actions } = {}) {
return (
<Title heading={size} style={{ marginBottom: '1rem' }}>
{text}
</Title>
<div className="page-heading">
<div className="page-heading__row">
<h1 className="page-heading__title">{text}</h1>
{actions && <div>{actions}</div>}
</div>
<div className="page-heading__line" />
</div>
);
}