Skip to content

Commit 917aa50

Browse files
Kapil GowruKapil Gowru
authored andcommitted
fix: adding changelog button
1 parent 9917caa commit 917aa50

File tree

8 files changed

+116
-3
lines changed

8 files changed

+116
-3
lines changed
27.8 KB
Loading
23.1 KB
Loading
Lines changed: 3 additions & 0 deletions
Loading
17.4 KB
Loading
22.6 KB
Loading
-5.33 KB
Loading
Lines changed: 61 additions & 0 deletions
Loading

fern/products/sdks/introduction.mdx

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,51 @@ title: SDKs Overview
33
description: Generate idiomatic SDKs in multiple programming languages
44
---
55

6+
<style>
7+
{`
8+
.changelog-button {
9+
display: flex;
10+
padding: 0.25rem 0.5rem;
11+
align-items: center;
12+
gap: 0.25rem;
13+
justify-content: center;
14+
border-radius: 0.5rem;
15+
transition: background-color 0.15s ease-in-out;
16+
position: relative;
17+
18+
img {
19+
flex-shrink: 0;
20+
width: 24px;
21+
height: 24px;
22+
position: relative;
23+
}
24+
25+
div {
26+
margin-left: 12px;
27+
font-size: 16px;
28+
white-space: nowrap;
29+
max-width: 0;
30+
opacity: 0;
31+
overflow: hidden;
32+
transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
33+
}
34+
35+
&:hover {
36+
background-color: var(--grayscale-a3);
37+
width: auto;
38+
39+
div {
40+
max-width: 320px;
41+
opacity: 1;
42+
width: fit-content;
43+
}
44+
}
45+
}
46+
`}
47+
</style>
48+
649
<div className="sdks-homepage">
7-
{/* Dashed Pattern - Left Side */}
50+
{/* Dashed Pattern - Left Side */}
851
<div className="dashed-pattern-left">
952
{/* <div className="dashed-gradient"></div> */}
1053
</div>
@@ -18,16 +61,22 @@ description: Generate idiomatic SDKs in multiple programming languages
1861
<div class="flex items-start flex-col space-y-3">
1962
<img class="mx-auto dark:hidden" alt="TypeScript" src="./images/typescript-card.png" />
2063
<img class="mx-auto hidden dark:block" alt="TypeScript" src="./images/typescript-card-dark.png" />
64+
2165
<div class="w-full overflow-hidden flex justify-between items-center">
2266
<div class="text-(color:--grayscale-a12) text-body text-base font-semibold card-title">
2367
TypeScript
2468
<img src="./images/arrow-right-black.svg" alt="Arrow right light" className="arrow-right dark:hidden m-0" noZoom />
2569
<img src="./images/arrow-right-white.svg" alt="Arrow right light" className="arrow-right hidden dark:block m-0" noZoom />
2670
</div>
2771
<div class="text-(color:--grayscale-a12) text-body text-base font-light">
28-
Changelog
72+
v<Markdown src="/snippets/version-number-ts.mdx"/>
73+
</div>
74+
<div class="changelog-button text-(color:--grayscale-a12) text-body text-base font-light">
75+
<img src="./images/changelog-icon.svg" alt="Changelog" className="m-0" noZoom />
76+
<div class="text-(color:--grayscale-a12) text-body text-base font-light">
77+
Changelog
78+
</div>
2979
</div>
30-
<Markdown src="/snippets/version-number-ts.mdx"/>
3180
</div>
3281
</div>
3382
</a>

0 commit comments

Comments
 (0)