Skip to content

Commit d0bbed0

Browse files
authored
feat: temp widget text (#22)
1 parent 74d41f2 commit d0bbed0

5 files changed

Lines changed: 19 additions & 14 deletions

File tree

src/components/button/styles.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
justify-content: center;
77
align-items: center;
88
width: 100%;
9+
margin-top: 8px;
910
}
1011

1112
.grover-button,

src/components/container/styles.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@
77
flex-direction: column;
88
justify-content: stretch;
99
align-items: flex-start;
10+
font-family: 'Poppins', sans-serif;
11+
color: #333333;
1012
}

src/components/productPrice/styles.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
all: inherit;
66
display: inline;
77
margin-right: 9px;
8+
font-weight: 700;
89
}
910

1011
.grover-product-price__periodicity-text {
1112
all: inherit;
1213
display: inline;
1314
margin-left: 9px;
15+
font-weight: 700;
1416
}

src/components/widget/widget.jsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,16 @@ const Widget = ({
6868
)}
6969
>
7070
<HeaderText className={classNames.headerText}>
71-
<FormattedMessage translationKey="RENT_NOW_HEADER" />
71+
<ProductPrice
72+
className={cn(
73+
'grover-widget__product-price',
74+
classNames.priceContainer
75+
)}
76+
classNames={priceClassNames}
77+
originalPriceInCents={price.originalPriceInCents}
78+
discountPriceInCents={price.discountPriceInCents}
79+
minimalPrice={price.minimalPrice}
80+
/>
7281
</HeaderText>
7382

7483
<Link
@@ -84,16 +93,7 @@ const Widget = ({
8493
</Link>
8594
</HeaderSection>
8695

87-
<ProductPrice
88-
className={cn(
89-
'grover-widget__product-price',
90-
classNames.priceContainer
91-
)}
92-
classNames={priceClassNames}
93-
originalPriceInCents={price.originalPriceInCents}
94-
discountPriceInCents={price.discountPriceInCents}
95-
minimalPrice={price.minimalPrice}
96-
/>
96+
<FormattedMessage translationKey="RENT_NOW_HEADER" />
9797

9898
<LinkButton
9999
icon={GroverIcon}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
const de = {
2-
RENT_NOW_HEADER: 'Jetzt mieten statt kaufen',
3-
RENT_WITH_GROVER_BUTTON: 'Mieten mit Grover',
2+
RENT_NOW_HEADER: 'Zusätzlich 99 % im 1. Monat sparen',
3+
RENT_WITH_GROVER_BUTTON: 'Weiter mit Grover',
44
MORE_INFO_LINK: 'Mehr Infos',
55
UNAVAILABLE_BUTTON: 'Bei Grover derzeit nicht verfügbar',
66
STARTING_PRICE: 'ab',
7-
PERIODICITY: 'pro Monat',
7+
PERIODICITY: '/ Monat flexibel mieten',
88
};
99

1010
export default de;

0 commit comments

Comments
 (0)