Skip to content

Commit c400924

Browse files
Kapil GowruKapil Gowru
authored andcommitted
feat: adding homepage designs
1 parent e90c46e commit c400924

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

fern/products/home/pages/welcome.mdx

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ layout: custom
279279
280280
.btn-primary {
281281
border: 1px solid var(--accent-9);
282-
border-radius: 1000px;
282+
border-radius: 6px;
283283
background-color: var(--accent-9);
284284
color: var(--accent-contrast);
285285
text-align: center;
@@ -309,12 +309,15 @@ layout: custom
309309
background-color: var(--grayscale-a3);
310310
color: var(--grayscale-a10);
311311
padding: 0.5rem 0.75rem;
312-
border-radius: 9999px;
312+
border-radius: 6px;
313313
font-size: 0.875rem;
314314
border: none;
315315
cursor: pointer;
316316
transition: box-shadow .3s cubic-bezier(.19,1,.22,1), color .3s cubic-bezier(.19,1,.22,1), background-color .3s cubic-bezier(.19,1,.22,1);
317317
width: fit-content;
318+
display: flex;
319+
align-items: center;
320+
gap: 0.5rem;
318321
319322
&:hover {
320323
background-color: var(--grayscale-a4);
@@ -349,17 +352,19 @@ layout: custom
349352
flex-direction: column;
350353
gap: 0.5rem;
351354
padding: 0;
355+
align-items: flex-start;
352356
}
353357
354358
.community-card-title {
355359
font-size: 1rem;
356360
font-weight: bold;
357-
color: #1e1f24;
361+
color: var(--grayscale-12);
358362
}
359363
360364
.community-card-description {
361365
font-size: 0.875rem;
362-
color: #62636c;
366+
color: var(--grayscale-10);
367+
margin-bottom: 0.5rem;
363368
}
364369
365370
.community-card-arrow {
@@ -657,6 +662,7 @@ layout: custom
657662
<div className="action-buttons">
658663
<button className="btn-primary">
659664
Quick start
665+
<img src="./images/arrow-right-light.svg" alt="Arrow right light" />
660666
</button>
661667
<button className="btn-secondary">
662668
Capabilities
@@ -681,6 +687,7 @@ layout: custom
681687
<div className="action-buttons-vertical">
682688
<button className="btn-primary">
683689
Quickstart
690+
<img src="./images/arrow-right-light.svg" alt="Arrow right light" />
684691
</button>
685692
<button className="btn-secondary">
686693
Import your brand language
@@ -720,6 +727,7 @@ layout: custom
720727
<div className="action-buttons">
721728
<button className="btn-primary">
722729
Configure
730+
<img src="./images/arrow-right-light.svg" alt="Arrow right light" />
723731
</button>
724732
<button className="btn-secondary">
725733
Customers
@@ -743,6 +751,7 @@ layout: custom
743751
</p>
744752
<button className="btn-secondary">
745753
View
754+
<img src="./images/arrow-right-dark.svg" alt="Arrow right dark" />
746755
</button>
747756
</div>
748757

@@ -754,6 +763,7 @@ layout: custom
754763
</p>
755764
<button className="btn-secondary">
756765
View
766+
<img src="./images/arrow-right-dark.svg" alt="Arrow right dark" />
757767
</button>
758768
</div>
759769

@@ -765,19 +775,21 @@ layout: custom
765775
</p>
766776
<button className="btn-secondary">
767777
View
778+
<img src="./images/arrow-right-dark.svg" alt="Twitter Preview" />
768779
</button>
769780
</div>
770781

771782
<div className="community-card">
772783
<img src="./images/x.svg" alt="Twitter Preview" />
773784
<h3 className="community-card-title">
774-
<span className="twitter-strikethrough">Twitter</span>
785+
<span className="twitter-strikethrough">Twitter</span> X
775786
</h3>
776787
<p className="community-card-description">
777788
Get updates on the Fern platform.
778789
</p>
779790
<button className="btn-secondary">
780791
View
792+
<img src="./images/arrow-right-dark.svg" alt="Twitter Preview" />
781793
</button>
782794
</div>
783795
</div>

0 commit comments

Comments
 (0)