Skip to content

Commit

Permalink
ktl-1686 feat: make b variant default
Browse files Browse the repository at this point in the history
  • Loading branch information
krutilov authored and zoobestik committed Oct 17, 2024
1 parent c851be0 commit 7970be4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 36 deletions.
27 changes: 3 additions & 24 deletions blocks/main/hero/hero.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,15 @@
background: #19191C;
padding: 48px 0;
overflow: hidden;

@media (--ktl-ts-min) {
padding: 72px 0;
}

@media (--ktl-ds-min) {
padding: 96px 0;
}

}

.heroSection[data-optimizely-id='hero-ab'] {
text-align: center;
@media (--ktl-ts-min) {
padding: 72px 0;
.content {
margin-left: 38px;
}
}
@media (--ktl-ds-min) {
padding: 96px 0;
.content {
margin-left: 90px;
}
Expand Down Expand Up @@ -53,10 +43,8 @@
.developerLogo {
margin: 0;
}

.developerCaption {
display: none;
}
.developerCaptionAb {
display: block;
margin-right: 8px;
}
Expand Down Expand Up @@ -275,15 +263,6 @@
}
}

.developerCaption {
white-space: nowrap;
margin-left: 38px;
}

.developerCaptionAb {
display: none;
}

.getStartedButton {
background: #7F52FF !important;

Expand Down
13 changes: 1 addition & 12 deletions blocks/main/hero/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,14 @@ export const HeroSection: FC<Props> = ({ children, title }) => {
</Button>
<div className={styles.developer}>
<div className={styles.developerContent}>
<div className={cn(darkTextCn('rs-text-2', { hardness: 'hard' }), styles.developerCaptionAb)}>Developed by</div>
<div className={cn(darkTextCn('rs-text-2', { hardness: 'hard' }), styles.developerCaption)}>Developed by</div>
<a
href="https://www.jetbrains.com/"
target={'_blank'}
rel={'noreferrer noopener'}
>
<img src={JBLogo.src} alt="jetbrains logo" className={styles.developerLogo} />{' '}
</a>
<div className={cn(darkTextCn('rs-text-3', { hardness: 'hard' }), styles.developerCaption)}>
Kotlin, developed by&nbsp;
<a
href="https://www.jetbrains.com/"
className={darkTextCn('rs-link', { hardness: 'hard' })}
target={'_blank'}
rel={'noreferrer noopener'}
>
JetBrains
</a>.
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 7970be4

Please sign in to comment.