File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
packages/components/src/components/hive-navigation Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @theguild/components " : patch
3
+ ---
4
+
5
+ Change a link in Navigation CTA to docs
Original file line number Diff line number Diff line change @@ -180,9 +180,15 @@ export function HiveNavigation({
180
180
>
181
181
Contact < span className = "hidden xl:contents" > us</ span >
182
182
</ CallToAction >
183
- < CallToAction variant = "primary" href = "https://app.graphql-hive.com/" className = "ml-4" >
184
- Sign in
185
- </ CallToAction >
183
+ { isHive ? (
184
+ < CallToAction variant = "primary" href = "https://app.graphql-hive.com/" className = "ml-4" >
185
+ Sign in
186
+ </ CallToAction >
187
+ ) : (
188
+ < CallToAction variant = "primary" href = "/docs" className = "ml-4" >
189
+ Docs
190
+ </ CallToAction >
191
+ ) }
186
192
</ NavigationMenu >
187
193
</ div >
188
194
) ;
You can’t perform that action at this time.
0 commit comments