♻️ enhan: using heading common in home video

:%s
This commit is contained in:
lytrankieio123
2021-08-27 09:51:24 +07:00
parent 6f8ba5628d
commit 0a3e9b2d21
4 changed files with 6 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
@import '../../../styles/utilities';
.headingCommon {
@apply heading-1 font-heading text-left;
@apply heading-2 font-heading text-left;
&.highlight {
color: var(--negative);

View File

@@ -11,11 +11,11 @@ interface HeadingCommonProps {
const HeadingCommon = ({ type='default', align='left', children }: HeadingCommonProps) => {
return (
<h1 className={classNames(s.headingCommon, {
<h2 className={classNames(s.headingCommon, {
[s[type]]: type,
[s[align]]: align
})}
>{children}</h1>
>{children}</h2>
)
}