feat: static my stays
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
.subtitle {
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 2.5rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 950px) {
|
||||
.subtitle {
|
||||
width: 60%;
|
||||
padding-top: 2.5rem;
|
||||
padding-bottom: 5rem;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import Title from "@/components/MyPages/Title"
|
||||
|
||||
import styles from "./header.module.css"
|
||||
|
||||
import { HeaderProps } from "@/types/components/myPages/stays/title"
|
||||
|
||||
export default function Header({ title, subtitle }: HeaderProps) {
|
||||
return (
|
||||
<header className={styles.header}>
|
||||
<Title as="h3" weight="semiBold" uppercase>
|
||||
{title}
|
||||
</Title>
|
||||
<Title as="h5" weight="regular" className={styles.subtitle}>
|
||||
{subtitle}
|
||||
</Title>
|
||||
</header>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user