Skip to content

Commit 6b30db9

Browse files
Kapil GowruKapil Gowru
authored andcommitted
feat: added footer image
1 parent 4d30f74 commit 6b30db9

File tree

6 files changed

+58
-49
lines changed

6 files changed

+58
-49
lines changed

fern/products/docs/docs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,5 @@ navigation:
139139
path: ./pages/component-library/custom-components/reusable-snippets.mdx
140140
- page: Custom React Components
141141
path: ./pages/component-library/custom-components/custom-react-components.mdx
142-
- section: Changelog
143-
contents:
144-
- page: Overview
145-
path: ./pages/changelog/overview.mdx
142+
- page: Changelog
143+
path: ./pages/changelog/overview.mdx
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 12 additions & 12 deletions
Loading
Lines changed: 12 additions & 12 deletions
Loading

fern/products/home/pages/welcome.mdx

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -598,10 +598,14 @@ layout: custom
598598
color: var(--grayscale-11);
599599
text-decoration: none;
600600
transition: color 0.15s ease-in-out;
601+
602+
svg {
603+
display: none !important;
604+
}
601605
}
602606
603607
.footer-link:hover {
604-
color: #1e1f24;
608+
color: var(--grayscale-12);
605609
}
606610
607611
.footer-bottom {
@@ -625,6 +629,14 @@ layout: custom
625629
svg {
626630
display: none !important;
627631
}
632+
633+
&.no-hover {
634+
cursor: default;
635+
&:hover {
636+
background: none !important;
637+
color: var(--grayscale-a11) !important;
638+
}
639+
}
628640
}
629641
`}
630642
</style>
@@ -872,8 +884,8 @@ layout: custom
872884
<p className="community-card-description">
873885
See our most recent product updates.
874886
</p>
875-
<a className="fern-button outlined normal gap-1 a-btn">
876-
View
887+
<a className="fern-button outlined normal gap-1 a-btn" href="/docs/changelog">
888+
Docs
877889
<img src="./images/arrow-right-dark.svg" alt="Arrow right dark" className="dark:hidden" noZoom />
878890
<img src="./images/arrow-right-white.svg" alt="Arrow right dark" className="hidden dark:block" noZoom />
879891
</a>
@@ -895,10 +907,10 @@ layout: custom
895907
</div>
896908

897909
<div className="community-card">
898-
<img className="m-0 dark:hidden" src="./images/discord-light.svg" alt="Discord Preview" noZoom />
899-
<img className="m-0 hidden dark:block" src="./images/discord-dark.svg" alt="Discord Preview" noZoom />
910+
<img className="m-0 dark:hidden" src="./images/slack-light.svg" alt="Discord Preview" noZoom />
911+
<img className="m-0 hidden dark:block" src="./images/slack-dark.svg" alt="Discord Preview" noZoom />
900912

901-
<h3 className="community-card-title">Discord</h3>
913+
<h3 className="community-card-title">Slack</h3>
902914
<p className="community-card-description">
903915
Connect with the Fern community.
904916
</p>
@@ -938,25 +950,25 @@ layout: custom
938950
</div>
939951

940952
<div className="help-buttons">
941-
<a className="fern-button outlined normal gap-2 a-btn">
953+
<a className="fern-button outlined normal gap-2 a-btn" href="https://github.com/fern-api/fern">
942954
<img src="./images/github-light.svg" alt="Github" className="h-4 w-4 dark:hidden" noZoom />
943955
<img src="./images/github-dark.svg" alt="Github" className="h-4 w-4 hidden dark:block" noZoom />
944956

945957
File a Github issue
946958
</a>
947959

948-
<a className="fern-button outlined normal gap-2 a-btn">
960+
<a className="fern-button outlined normal gap-2 a-btn" href="mailto:[email protected]">
949961
<img src="./images/email-light.svg" alt="Email" className="h-4 w-4 dark:hidden" noZoom />
950962
<img src="./images/email-dark.svg" alt="Email" className="h-4 w-4 hidden dark:block" noZoom />
951963

952964
Email us
953965
</a>
954966

955-
<a className="fern-button outlined normal gap-2 a-btn">
967+
<div className="fern-button minimal normal gap-2 a-btn no-hover">
956968
<img src="./images/slack-light.svg" alt="Slack" className="h-4 w-4 dark:hidden" noZoom />
957969
<img src="./images/slack-dark.svg" alt="Slack" className="h-4 w-4 hidden dark:block" noZoom />
958970
Slack (for customers only)
959-
</a>
971+
</div>
960972
</div>
961973
</div>
962974

@@ -1001,7 +1013,6 @@ layout: custom
10011013
<div className="footer-column">
10021014
<h4 className="footer-column-title">Documentation</h4>
10031015
<div className="footer-column-links">
1004-
<a href="#" className="footer-link">Introduction</a>
10051016
<a href="#" className="footer-link">OpenAPI Compatibility</a>
10061017
<a href="#" className="footer-link">SDKs</a>
10071018
<a href="#" className="footer-link">Docs</a>
@@ -1011,20 +1022,20 @@ layout: custom
10111022
<div className="footer-column">
10121023
<h4 className="footer-column-title">Resources</h4>
10131024
<div className="footer-column-links">
1014-
<a href="#" className="footer-link">Blog</a>
1015-
<a href="#" className="footer-link">Support</a>
1016-
<a href="#" className="footer-link">Pricing</a>
1017-
<a href="#" className="footer-link">Discord</a>
1025+
<a href="https://buildwithfern.com/blog" className="footer-link">Blog</a>
1026+
<a href="#support" className="footer-link">Support</a>
1027+
<a href="https://buildwithfern.com/pricing" className="footer-link">Pricing</a>
1028+
<a href="https://buildwithfern.com/slack" className="footer-link">Slack</a>
10181029
</div>
10191030
</div>
10201031

10211032
<div className="footer-column">
10221033
<h4 className="footer-column-title">Company</h4>
10231034
<div className="footer-column-links">
1024-
<a href="#" className="footer-link">Brand Kit</a>
1025-
<a href="#" className="footer-link">Github</a>
1026-
<a href="#" className="footer-link">Privacy Policy</a>
1027-
<a href="#" className="footer-link">Terms of Service</a>
1035+
<a href="https://brandfetch.com/buildwithfern.com" className="footer-link">Brand Kit</a>
1036+
<a href="https://github.com/fern-api/fern" className="footer-link">Github</a>
1037+
<a href="https://buildwithfern.com/privacy-policy" className="footer-link">Privacy Policy</a>
1038+
<a href="https://buildwithfern.com/terms-of-service" className="footer-link">Terms of Service</a>
10281039
</div>
10291040
</div>
10301041
</div>

0 commit comments

Comments
 (0)