Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/what-is-new/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function Page() {
<div className="what-is-new-page">
<div className="py-[80px] px-6 text-center max-sm:py-[60px] w-full">
<div className="z-10 text-center text-style-h1 font-bold">{whatIsNewConfig.title}</div>
<div className={'text-text-tertiary text-style-h5 font-normal mt-3'}>{whatIsNewConfig.subtitle}</div>
<div className={'mt-3 text-[16px] font-normal text-[#5a5a5a]'}>{whatIsNewConfig.subtitle}</div>
</div>
<div className={'content'}>
<Versions versions={versions.map(parseChangelog)} />
Expand Down
2 changes: 1 addition & 1 deletion components/what-is-new/version.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Version({ version }: { version: IVersion }) {
<div className={'version-tags'}>
<span className={'tag tag-version'}>v{version.version}</span>
{version.content.map((section) => (
<span key={section.type} className={'tag tag-type'}>
<span key={section.type} className={`tag tag-type tag-${section.type}`}>
{tagLabels[section.type] || section.name}
</span>
))}
Expand Down
27 changes: 22 additions & 5 deletions styles/what-is-new.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $font-fluid-body: clamp(14px, 13.3px + 0.19vw, 16px);
}

.version-divider {
@apply my-[60px] h-px w-full bg-primary-10;
@apply my-[60px] h-px w-full bg-[#E6E6E6];
}

.version-panel {
Expand All @@ -27,8 +27,8 @@ $font-fluid-body: clamp(14px, 13.3px + 0.19vw, 16px);

.version-meta {
@apply flex flex-shrink-0 flex-col;
@apply max-sm:w-full;
width: clamp(260px, 28vw, 420px);
@apply max-sm:w-full;

.version-title {
@apply mb-[16px] font-semibold tracking-[-0.6px] text-text-primary transition-colors hover:text-primary;
Expand All @@ -47,16 +47,33 @@ $font-fluid-body: clamp(14px, 13.3px + 0.19vw, 16px);

.tag {
@apply inline-flex items-center rounded-[8px] px-[12px] py-[4px] font-medium;
font-size: $font-fluid-body;
font-size: 12px;
line-height: 1.5;
}

.tag-version {
@apply bg-primary-10 text-primary;
background-color: rgba(133, 76, 255, 0.1);
color: #854cff;
}

.tag-type {
@apply bg-light-blue-gray text-lake-blue;
background-color: rgba(58, 124, 227, 0.1);
color: #3a7ce3;
}

.tag-new-features {
background-color: rgba(204, 78, 162, 0.1);
color: #cc4ea2;
}

.tag-improvements {
background-color: rgba(58, 124, 227, 0.1);
color: #3a7ce3;
}

.tag-bug-fixes {
background-color: rgba(81, 167, 138, 0.1);
color: #51a78a;
}
}
}
Expand Down
Loading