Skip to content

Commit 2d2403a

Browse files
committed
KTL-1238 fix: updates after design review
1 parent 414ff3d commit 2d2403a

File tree

7 files changed

+34
-11
lines changed

7 files changed

+34
-11
lines changed

src/components/ContactUs/contactUs.module.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@
33
display: none;
44
}
55
}
6+
7+
.mainTitle {
8+
@media (--ktl-tm) {
9+
font-weight: 600;
10+
font-size: 20px;
11+
line-height: 28px;
12+
}
13+
}

src/components/ContactUs/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { CtaBlock } from '@jetbrains/kotlin-web-site-ui/out/components/cta-block-v2';
2-
2+
import cn from 'classnames';
33
import { Link } from '../Link';
4-
54
import * as styles from './contactUs.module.css';
65

76
const contactEmail = '[email protected]';
@@ -15,7 +14,7 @@ export function ContactUs() {
1514
Contact us!
1615
</>
1716
}
18-
classMainTitle="ktf-h2 ktf-h3--ts"
17+
classMainTitle={cn('ktf-h2', 'ktf-h4--tm', 'ktf-h3--ts', styles.mainTitle)}
1918
mainTitle={
2019
<Link href={`mailto:${contactEmail}`} mode="clear">
2120
{contactEmail}

src/components/IntroBanner/introBanner.module.css

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
display: block;
6060
font-size: 0;
6161
line-height: 0;
62+
6263
&,
6364
&:hover {
6465
text-decoration: none;
@@ -70,7 +71,12 @@
7071
margin-right: -70px;
7172
}
7273

74+
.image {
75+
margin-top: 72px;
76+
}
77+
7378
.companies {
79+
margin-top: -12px;
7480
margin-left: calc(var(--ktl-box-section-l) * -1);
7581
}
7682

@@ -82,13 +88,14 @@
8288
@media (--ktl-tl) {
8389
.intro {
8490
display: block;
91+
padding-bottom: var(--ktl-box-page-m);
8592
margin-top: var(--ktl-box-page-m);
86-
margin-bottom: var(--ktl-box-page-m);
93+
margin-bottom: 0;
8794
}
8895

8996
.title {
90-
height: 242px;
91-
margin-top: 12px;
97+
height: 280px;
98+
margin-top: 8px;
9299
margin-right: 0;
93100
}
94101

@@ -109,7 +116,7 @@
109116

110117
@media (--ktl-tm) {
111118
.intro {
112-
margin-bottom: var(--ktl-box-section-l);
119+
padding-bottom: var(--ktl-box-section-l);
113120
}
114121

115122
.title {

src/components/LatestNews/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { postContentPreview, DEFAULT_EXCERPT_SIZE } from '../PostContent';
88
import * as styles from './latestNews.module.css';
99

1010
export function LatestNews() {
11-
const textCn = useTextStyles();
1211
const isTm = useTM();
1312
const {
1413
allMdx: { nodes: posts },
@@ -49,7 +48,7 @@ export function LatestNews() {
4948

5049
return (
5150
<>
52-
<h2 className={cn(styles.title, textCn('rs-h2'))}>Latest news</h2>
51+
<h2 className={cn(styles.title, 'ktf-h2')}>Latest news</h2>
5352
<div className={styles.news}>
5453
{posts.map((post, i: number) => (
5554
<NewsPreview

src/components/LatestNews/latestNews.module.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
display: block;
33
}
44

5+
.title {
6+
margin-top: var(--ktl-box-section-l);
7+
margin-bottom: var(--ktl-box-section-s);
8+
}
9+
10+
.item {
11+
background-color: var(--kt-grey);
12+
border-radius: 16px;
13+
}
14+
515
@media (--ktl-tm-min) {
616
.news {
717
display: grid;

src/components/ProductHighlight/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const ProductHighlight: FC<ProductHighlightProps> = ({ title, children })
1414
return (
1515
<KtlLayout spacing addExtraSpace>
1616
<div className={styles.productHighlight}>
17-
<h2 className={cn(styles.header, 'ktf-h1--ds ktf-h2--ds-min ktf-h2--tl')}>{title}</h2>
17+
<h2 className={cn(styles.header, 'ktf-h2')}>{title}</h2>
1818
<ul className={cn(styles.items)}>{children}</ul>
1919
</div>
2020
</KtlLayout>

src/components/VideoGallery/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function VideoGallery({ videos, title }: VideoGalleryProps) {
6868
return (
6969
<div className={styles.container}>
7070
<KtlLayout>
71-
<h2 className={cn(styles.header, 'ktf-h1--ds ktf-h2--ds-min ktf-h2--tl')}>{title}</h2>
71+
<h2 className={cn(styles.header, 'ktf-h2')}>{title}</h2>
7272
</KtlLayout>
7373

7474
<div className={styles.wrapper}>

0 commit comments

Comments
 (0)