File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
packages/components/src/components Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @theguild/components ' : minor
3
+ ---
4
+
5
+ Adds OSS Friends link to the footer, but only on /graphql/hive pages
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
15
15
16
16
export interface HiveFooterProps extends IFooterExtendedProps {
17
17
description ?: string ;
18
+ isHive ?: boolean ;
18
19
}
19
20
20
21
export function HiveFooter ( {
@@ -23,6 +24,7 @@ export function HiveFooter({
23
24
resources = [ ] ,
24
25
sameSite,
25
26
description,
27
+ isHive = false ,
26
28
} : HiveFooterProps ) {
27
29
description ||= 'Open-source GraphQL management platform' ;
28
30
@@ -49,6 +51,14 @@ export function HiveFooter({
49
51
</ div >
50
52
< div className = "flex flex-col gap-[inherit]" >
51
53
< List heading = "Company" links = { COMPANY } />
54
+ { isHive ? (
55
+ < a
56
+ href = "https://the-guild.dev/graphql/hive/oss-friends"
57
+ className = "hive-focus -m-2 rounded p-2 font-medium hover:text-blue-700 hover:underline dark:hover:text-blue-100"
58
+ >
59
+ OSS Friends
60
+ </ a >
61
+ ) : null }
52
62
< a
53
63
href = "https://the-guild.dev/graphql/hive#pricing"
54
64
className = "hive-focus -m-2 rounded p-2 font-medium hover:text-blue-700 hover:underline dark:hover:text-blue-100"
You can’t perform that action at this time.
0 commit comments