feat(SW-750): subtitle as child
This commit is contained in:
@@ -4,6 +4,7 @@ import Link from "@/components/TempDesignSystem/Link"
|
|||||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||||
import Caption from "@/components/TempDesignSystem/Text/Caption"
|
import Caption from "@/components/TempDesignSystem/Text/Caption"
|
||||||
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
||||||
|
import Title from "@/components/TempDesignSystem/Text/Title"
|
||||||
import { getIntl } from "@/i18n"
|
import { getIntl } from "@/i18n"
|
||||||
import { getLang } from "@/i18n/serverContext"
|
import { getLang } from "@/i18n/serverContext"
|
||||||
|
|
||||||
@@ -22,8 +23,10 @@ export default async function ContactInformation({
|
|||||||
const lang = getLang()
|
const lang = getLang()
|
||||||
return (
|
return (
|
||||||
<div className={styles.wrapper}>
|
<div className={styles.wrapper}>
|
||||||
<Subtitle color="burgundy">
|
<Subtitle color="burgundy" asChild>
|
||||||
{intl.formatMessage({ id: "Practical information" })}
|
<Title level="h3">
|
||||||
|
{intl.formatMessage({ id: "Practical information" })}
|
||||||
|
</Title>
|
||||||
</Subtitle>
|
</Subtitle>
|
||||||
<div className={styles.information}>
|
<div className={styles.information}>
|
||||||
<div className={styles.address}>
|
<div className={styles.address}>
|
||||||
|
|||||||
Reference in New Issue
Block a user