Skip to content

Commit d35c0fe

Browse files
committed
KTL-1238 feat: synced elements of the main page with design
1 parent 6a578ba commit d35c0fe

File tree

7 files changed

+16
-13
lines changed

7 files changed

+16
-13
lines changed

src/components/IntroBanner/introBanner.module.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@
99
'title image'
1010
'. image'
1111
'companies companies';
12+
margin-top: var(--ktl-box-page-l);
13+
margin-bottom: 0;
14+
padding-bottom: var(--ktl-box-page-l);
15+
border-bottom: 1px solid var(--rs-color-black-t20);
1216
}
1317

1418
.image {
1519
height: 400px;
1620
width: 400px;
1721
grid-area: image;
18-
margin-top: var(--ktl-box-page-m);
1922
}
2023

2124
.title {
@@ -28,7 +31,7 @@
2831
display: flex;
2932
flex-wrap: wrap;
3033
margin-left: -80px;
31-
margin-top: calc(var(--ktl-box-section-m) * -1);
34+
margin-top: -84px;
3235
}
3336

3437
.companiesGroup {
@@ -53,8 +56,7 @@
5356
}
5457

5558
.companyLink {
56-
display: inline-block;
57-
59+
display: block;
5860
font-size: 0;
5961
line-height: 0;
6062
&,

src/components/KtlLayout/ktlLayout.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
.extraSpace {
2+
margin-top: var(--ktl-box-page-l);
3+
margin-bottom: var(--ktl-box-page-l);
4+
}
5+
16
@media (--ktl-tl) {
27
.extraSpace {
38
margin-top: var(--ktl-box-page-m);

src/components/LatestNews/latestNews.module.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,14 @@
4141
.item:before {
4242
display: block;
4343
content: '';
44-
background: #fff;
45-
box-shadow: 5px 2px 24px rgba(0, 0, 0, 0.1);
44+
background-color: var(--rs-color-grey-10);
4645
border-radius: 16px;
4746
grid-row: 1 / 4;
4847
}
4948
}
5049

5150
@media (--ktl-tm) {
5251
.item {
53-
background: #ffffff;
54-
box-shadow: 5px 2px 24px rgba(0, 0, 0, 0.1);
5552
border-radius: 16px;
5653
padding: 24px;
5754
box-sizing: border-box;

src/components/Structure/structure.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
.title,
2929
.members,
3030
.description {
31-
/*border-top: 1px solid rgba(39, 40, 44, 0.2);*/
3231
padding: 23px 0 30px;
3332
margin: 0;
3433
}
@@ -38,7 +37,7 @@
3837
}
3938

4039
.title:before {
41-
background: rgba(39, 40, 44, 0.2);
40+
background: var(--rs-color-black-t20);
4241
display: block;
4342
position: absolute;
4443
content: '';

src/components/VideoGallery/index.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.container {
2-
margin-top: var(--ktl-box-page-m);
2+
margin-top: var(--ktl-box-page-l);
33
padding-bottom: var(--ktl-box-section-l);
44
}
55

src/images/join-preview.png

-2.03 KB
Loading

src/pages/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Home"
33
layout: "wide"
4-
greyLayout: true
4+
greyLayout: false
55
contactUs: true
66
---
77
import trademarkIcon from "../images/highlights/trademark.svg";
@@ -72,7 +72,7 @@ import joinPreviewUrl from "../images/join-preview.png";
7272
{
7373
title: 'Kotlin 2023 Keynote',
7474
url: 'https://www.youtube.com/watch?v=c4f4SCEYA5Q'
75-
},
75+
},
7676
{
7777
title: 'Kotlin 2021 Keynote',
7878
url: 'https://www.youtube.com/watch?v=3uVUDsoE_5U'

0 commit comments

Comments
 (0)