Skip to content

Commit a4ac7f7

Browse files
authored
Merge pull request #4492 from JetBrains/ktl-1686-hero-b-variant-default
ktl-1686 feat: make b variant default
2 parents c851be0 + 7970be4 commit a4ac7f7

File tree

2 files changed

+4
-36
lines changed

2 files changed

+4
-36
lines changed

blocks/main/hero/hero.module.css

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,15 @@
44
background: #19191C;
55
padding: 48px 0;
66
overflow: hidden;
7-
8-
@media (--ktl-ts-min) {
9-
padding: 72px 0;
10-
}
11-
12-
@media (--ktl-ds-min) {
13-
padding: 96px 0;
14-
}
15-
16-
}
17-
18-
.heroSection[data-optimizely-id='hero-ab'] {
197
text-align: center;
208
@media (--ktl-ts-min) {
9+
padding: 72px 0;
2110
.content {
2211
margin-left: 38px;
2312
}
2413
}
2514
@media (--ktl-ds-min) {
15+
padding: 96px 0;
2616
.content {
2717
margin-left: 90px;
2818
}
@@ -53,10 +43,8 @@
5343
.developerLogo {
5444
margin: 0;
5545
}
46+
5647
.developerCaption {
57-
display: none;
58-
}
59-
.developerCaptionAb {
6048
display: block;
6149
margin-right: 8px;
6250
}
@@ -275,15 +263,6 @@
275263
}
276264
}
277265

278-
.developerCaption {
279-
white-space: nowrap;
280-
margin-left: 38px;
281-
}
282-
283-
.developerCaptionAb {
284-
display: none;
285-
}
286-
287266
.getStartedButton {
288267
background: #7F52FF !important;
289268

blocks/main/hero/hero.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,14 @@ export const HeroSection: FC<Props> = ({ children, title }) => {
4141
</Button>
4242
<div className={styles.developer}>
4343
<div className={styles.developerContent}>
44-
<div className={cn(darkTextCn('rs-text-2', { hardness: 'hard' }), styles.developerCaptionAb)}>Developed by</div>
44+
<div className={cn(darkTextCn('rs-text-2', { hardness: 'hard' }), styles.developerCaption)}>Developed by</div>
4545
<a
4646
href="https://www.jetbrains.com/"
4747
target={'_blank'}
4848
rel={'noreferrer noopener'}
4949
>
5050
<img src={JBLogo.src} alt="jetbrains logo" className={styles.developerLogo} />{' '}
5151
</a>
52-
<div className={cn(darkTextCn('rs-text-3', { hardness: 'hard' }), styles.developerCaption)}>
53-
Kotlin, developed by&nbsp;
54-
<a
55-
href="https://www.jetbrains.com/"
56-
className={darkTextCn('rs-link', { hardness: 'hard' })}
57-
target={'_blank'}
58-
rel={'noreferrer noopener'}
59-
>
60-
JetBrains
61-
</a>.
62-
</div>
6352
</div>
6453
</div>
6554
</div>

0 commit comments

Comments
 (0)