Skip to content

Commit 96d4725

Browse files
committed
refactor(CalendarIntro): improve text clarity and adjust styles for better layout
refactor(Calendar): update date panel height and calendar margin for improved spacing refactor(styles): refine SCSS styles for consistency and readability
1 parent fe5292a commit 96d4725

5 files changed

Lines changed: 21 additions & 20 deletions

File tree

src/assets/scss/components/_calendar-intro.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
.calendar-intro {
22
margin: 0 60px;
33
border: 1px solid var(--calendar-border-color);
4-
border-radius: 12px;
5-
background:
6-
linear-gradient(
7-
115deg,
8-
rgba(76, 205, 153, 0.12),
9-
rgba(47, 111, 237, 0.08)
10-
),
11-
var(--bg-color);
4+
border-radius: 10px;
5+
// background:
6+
// linear-gradient(
7+
// 115deg,
8+
// rgba(76, 205, 153, 0.12),
9+
// rgba(47, 111, 237, 0.08)
10+
// ),
11+
// var(--bg-color);
12+
background: rgba(42, 107, 237, 0.08);
1213
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
1314
direction: rtl;
1415

1516
.ant-card-body {
16-
padding: 12px 16px;
17+
padding: 10px 16px;
1718
}
1819
}
1920

@@ -25,7 +26,6 @@
2526
margin-bottom: 2px !important;
2627
color: var(--muted-text-color, rgba(107, 114, 128, 0.9));
2728
font-size: 14px;
28-
line-height: 18px;
2929

3030
a {
3131
font-weight: 600;

src/assets/scss/components/_cs-calendar.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
}
1414

1515
.ant-picker-date-panel {
16-
max-height: calc(100vh - 268px) !important;
17-
max-height: calc(100svh - 268px) !important;
16+
max-height: calc(100vh - 340px) !important;
17+
max-height: calc(100svh - 340px) !important;
1818
overflow-y: auto !important;
1919
}
2020

@@ -45,7 +45,7 @@ thead {
4545
}
4646

4747
.ant-picker-calendar {
48-
margin: 0 60px;
48+
margin: 0 60px 30px;
4949
border-radius: 10px;
5050
overflow: hidden;
5151
border: 1px solid var(--calendar-border-color);

src/assets/scss/index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ body {
2222
min-width: 780px;
2323
background-color: var(--bg-color);
2424
color: var(--text-color);
25+
// user-select: none;
2526
}
2627

2728
::-webkit-scrollbar {

src/components/CalendarIntro.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const CalendarIntro = () => {
1212
className="calendar-intro__body"
1313
>
1414
<Paragraph className="calendar-intro__paragraph">
15-
این تقویم، مرجع رسمی زمان‌بندی جلسات پرسش‌وپاسخ مراحل ورود
16-
به برنامه CS Internship است و ساختار برگزاری جلسات گروه صف
17-
را در طول هفته نمایش می‌دهد.
15+
این تقویم مرجع رسمی زمان‌بندی جلسات پرسش‌وپاسخ مراحل ورود به
16+
برنامه CS Internship است و ساختار برگزاری جلسات گروه صف را
17+
در طول هفته نمایش می‌دهد.
1818
</Paragraph>
1919
<Paragraph className="calendar-intro__paragraph">
2020
برای آشنایی با فرایند ورود، می‌توانید پیام پین‌شده‌ی توضیحات

src/constants/events.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
export const events = [
22
{
33
title: "جلسه مرحله سوم",
4-
color: "#3BB273",
4+
color: "#4AA37C", // 63C29A
55
fullName: "پرسش‌وپاسخ داکیومنت فرآیند‌های برنامه CS Internship",
66
link: "https://teams.microsoft.com/l/meetup-join/19%3A92b6afa889824abe96a1cfa45204209a%40thread.tacv2/1748521847152?context=%7B%22Tid%22%3A%2224fbf492-43a9-4a8f-ba7b-6f12fa9b8d87%22%2C%22Oid%22%3A%223e1989b9-3427-4202-986e-e2a62f053845%22%7D",
77
resource:
88
"https://github.com/cs-internship/cs-internship-spec/blob/master/processes/documents/CS%20Internship%20Prerequisites%20and%20Main%20Processes%20--fa.md",
99
},
1010
{
1111
title: "جلسه مرحله دوم",
12-
color: "#5D6EF5",
12+
color: "#6C7BEA", // 8D97FF
1313
fullName: "پرسش‌وپاسخ فیلم معرفی برنامه‌ CS Internship",
1414
link: "https://teams.microsoft.com/l/meetup-join/19%3A92b6afa889824abe96a1cfa45204209a%40thread.tacv2/1748521728714?context=%7B%22Tid%22%3A%2224fbf492-43a9-4a8f-ba7b-6f12fa9b8d87%22%2C%22Oid%22%3A%223e1989b9-3427-4202-986e-e2a62f053845%22%7D",
1515
resource:
1616
"https://drive.google.com/file/d/1HmBSP01EdYrL841hELM0hVfX2E3hprzx/view?usp=sharing",
1717
},
1818
{
1919
title: "جلسه مصاحبه",
20-
color: "#FFB020",
20+
color: "#E5A93B", // F1C15A
2121
fullName: "جلسه مصاحبه ورود به برنامه",
2222
link: "",
2323
},
2424
{
2525
title: "جلسه مرحله اول",
26-
color: "#F35E7F",
26+
color: "#E46C86", // FF88A3
2727
fullName: "پرسش‌وپاسخ داکیومنت CS Internship Overview",
2828
link: "https://teams.microsoft.com/l/meetup-join/19%3A92b6afa889824abe96a1cfa45204209a%40thread.tacv2/1748716646151?context=%7B%22Tid%22%3A%2224fbf492-43a9-4a8f-ba7b-6f12fa9b8d87%22%2C%22Oid%22%3A%223e1989b9-3427-4202-986e-e2a62f053845%22%7D",
2929
resource:

0 commit comments

Comments
 (0)