feat: finish my pages overview page according to wireframe

This commit is contained in:
Simon Emanuelsson
2024-04-02 10:26:12 +02:00
parent d902a5a704
commit 8c8fa2d02c
48 changed files with 1161 additions and 91 deletions

View File

@@ -28,13 +28,15 @@ const headingStyles = cva(styles.heading, config)
export default function Title({
as,
children,
className = "",
level = "h1",
uppercase = false,
}: HeadingProps) {
const Hx = level
const className = headingStyles({
const classNames = headingStyles({
className,
text: uppercase ? "uppercase" : undefined,
type: as ?? level,
})
return <Hx className={className}>{children}</Hx>
return <Hx className={classNames}>{children}</Hx>
}

View File

@@ -19,16 +19,17 @@
}
.h3 {
font-size: 1.8rem;
line-height: 2.2rem;
}
.h4 {
font-size: 1.6rem;
line-height: 1.8rem;
}
.h4 {
font-size: 1.4rem;
}
.h5 {
font-size: 1.2rem;
font-size: 1.3rem;
}
.h6 {