feat: finish my pages overview page according to wireframe
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user