Skip to content

Commit e9f74de

Browse files
Kapil GowruKapil Gowru
authored andcommitted
feat: updated sdk cards
1 parent 6689e54 commit e9f74de

27 files changed

+71
-24
lines changed

fern/assets/styles.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,47 @@ a[href*="changelog"] svg {
371371

372372
.sdks-homepage {
373373
position: relative;
374+
375+
.changelog-button {
376+
display: flex;
377+
padding: 0.25rem 0.5rem;
378+
align-items: center;
379+
justify-content: center;
380+
border-radius: 0.5rem;
381+
transition: background-color 0.15s ease-in-out;
382+
position: relative;
383+
height: 2rem;
384+
text-decoration: none !important;
385+
386+
img {
387+
flex-shrink: 0;
388+
width: 16px;
389+
height: 16px;
390+
position: relative;
391+
}
374392

393+
div {
394+
font-size: 1rem;
395+
white-space: nowrap;
396+
max-width: 0;
397+
opacity: 0;
398+
overflow: hidden;
399+
transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
400+
width: 0;
401+
}
402+
403+
&:hover {
404+
gap: 0.25rem;
405+
background-color: var(--grayscale-a3);
406+
407+
div {
408+
max-width: 200px;
409+
opacity: 1;
410+
width: fit-content;
411+
}
412+
}
413+
}
414+
375415
.dashed-pattern-left {
376416
position: absolute;
377417
left: -4rem;

fern/products/docs/pages/getting-started/overview.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ subtitle: A website builder for beautiful agent and developer-friendly docs.
123123

124124
<a class="fern-card interactive not-prose rounded-3 relative block border p-6 text-base" href="/docs/self-hosted/overview">
125125
<div class="flex items-start flex-col space-y-3">
126-
<img class="mx-auto dark:hidden" alt="Visual Editor" src="./images/self-host-light.png" />
127-
<img class="mx-auto hidden dark:block" alt="Visual Editor" src="./images/self-host-dark.png" />
126+
<img class="mx-auto dark:hidden" alt="Self-host your docs" src="./images/self-host-light.png" />
127+
<img class="mx-auto hidden dark:block" alt="Self-host your docs" src="./images/self-host-dark.png" />
128128
<div class="w-full space-y-1 overflow-hidden">
129129
<div class="text-(color:--grayscale-a12) text-body text-base font-semibold card-title">
130130
Self-host your docs
@@ -138,18 +138,18 @@ subtitle: A website builder for beautiful agent and developer-friendly docs.
138138
</div>
139139
</a>
140140

141-
<a class="fern-card interactive not-prose rounded-3 relative block border p-6 text-base" href="/ask-fern/getting-started/what-is-ask-fern">
141+
<a class="fern-card interactive not-prose rounded-3 relative block border p-6 text-base" href="https://github.com/fern-api/fern-mcp-server">
142142
<div class="flex items-start flex-col space-y-3">
143-
<img class="mx-auto dark:hidden" alt="Visual Editor" src="./images/mcp-server-light.png" />
144-
<img class="mx-auto hidden dark:block" alt="Visual Editor" src="./images/mcp-server-dark.png" />
143+
<img class="mx-auto dark:hidden" alt="Fern's MCP Server" src="./images/mcp-server-light.png" />
144+
<img class="mx-auto hidden dark:block" alt="Fern's MCP Server" src="./images/mcp-server-dark.png" />
145145
<div class="w-full space-y-1 overflow-hidden">
146146
<div class="text-(color:--grayscale-a12) text-body text-base font-semibold card-title">
147147
Fern's MCP Server
148148
<img src="./images/arrow-right-black.svg" alt="Arrow right light" className="arrow-right dark:hidden m-0" noZoom />
149149
<img src="./images/arrow-right-white.svg" alt="Arrow right light" className="arrow-right hidden dark:block m-0" noZoom />
150150
</div>
151151
<div class="text-(color:--grayscale-a11) font-light">
152-
<p>Add Fern's MCP server to your AI agentic workflows.</p>
152+
<p>Add Fern's MCP server for your AI agentic workflows.</p>
153153
</div>
154154
</div>
155155
</div>
2.18 KB
Loading
790 Bytes
Loading
-4.13 KB
Loading
-6.49 KB
Loading
-3.07 KB
Loading
-5.13 KB
Loading
-3.08 KB
Loading
2.11 KB
Loading

0 commit comments

Comments
 (0)