🎨 styles: home banner

:%s
This commit is contained in:
lytrankieio123
2021-09-14 15:07:42 +07:00
parent 454e22344c
commit 5ecc7d8e74
2 changed files with 6 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ interface Props {
const option = { const option = {
slidesPerView: 1, slidesPerView: 1,
breakpoints: {} mode: 'free',
} }
const Banner = memo(({ data }: Props) => { const Banner = memo(({ data }: Props) => {
if (data.length === 1) { if (data.length === 1) {

View File

@@ -31,11 +31,15 @@
width: min-content; width: min-content;
color: var(--white); color: var(--white);
font-size: 8.8rem; font-size: 7rem;
line-height: 8rem; line-height: 8rem;
letter-spacing: -0.03em; letter-spacing: -0.03em;
font-weight: bold; font-weight: bold;
text-transform: uppercase; text-transform: uppercase;
@screen 2xl {
line-height: 8rem;
}
&::after { &::after {
@apply absolute; @apply absolute;
content: ""; content: "";