@@ -27,9 +27,15 @@ const FOOTER_SECTIONS: FooterSection[] = [
27
27
title : "Learn" ,
28
28
route : "/learn" ,
29
29
links : [
30
- { title : "Introduction to GraphQL" , route : "/learn" } ,
30
+ { title : "Introduction" , route : "/learn" } ,
31
+ { title : "Best Practices" , route : "/learn/best-practices" } ,
31
32
{
32
- title : "Frequently Asked Questions" ,
33
+ title : (
34
+ < span >
35
+ < span className = "max-md:hidden" > Frequently Asked Questions</ span >
36
+ < span className = "md:hidden" > FAQ</ span >
37
+ </ span >
38
+ ) ,
33
39
route : "/faq" ,
34
40
} ,
35
41
{
@@ -43,7 +49,7 @@ const FOOTER_SECTIONS: FooterSection[] = [
43
49
links : [
44
50
{ title : "GitHub" , route : "https://github.com/graphql" } ,
45
51
{
46
- title : "GraphQL Specification" ,
52
+ title : "Specification" ,
47
53
route : "/spec" ,
48
54
} ,
49
55
{ title : "Libraries & Tools" , route : "/code" } ,
@@ -65,11 +71,15 @@ const FOOTER_SECTIONS: FooterSection[] = [
65
71
route : "/community/events" ,
66
72
} ,
67
73
{
68
- title : "Contribute to GraphQL" ,
74
+ title : (
75
+ < span >
76
+ Contribute< span className = "max-md:hidden" > to GraphQL</ span >
77
+ </ span >
78
+ ) ,
69
79
route : "/community/contribute/essential-links" ,
70
80
} ,
71
81
{ title : "Landscape" , route : "/landscape" } ,
72
- { title : "Shop" , route : "/shop " } ,
82
+ { title : "Shop" , route : "https://store.graphql.org/ " } ,
73
83
] ,
74
84
} ,
75
85
{
@@ -81,11 +91,11 @@ const FOOTER_SECTIONS: FooterSection[] = [
81
91
route : "/foundation" ,
82
92
} ,
83
93
{
84
- title : "GraphQL Community Grant" ,
94
+ title : "Community Grant" ,
85
95
route : "/foundation/community-grant" ,
86
96
} ,
87
97
{
88
- title : "Logo and Brand Guidelines" ,
98
+ title : "Brand Guidelines" ,
89
99
route : "/brand" ,
90
100
} ,
91
101
{
@@ -111,6 +121,9 @@ export function Footer() {
111
121
< NextLink href = "/" className = "nextra-logo flex items-center" >
112
122
< GraphQLWordmarkLogo className = "h-6" title = "GraphQL" />
113
123
</ NextLink >
124
+ < div className = "typography-menu flex items-center *:rounded-none dark:*:text-neu-900 md:hidden" >
125
+ { renderComponent ( themeConfig . themeSwitch . component ) }
126
+ </ div >
114
127
</ div >
115
128
116
129
< div className = "grid grid-cols-2 gap-px bg-neu-400 py-px dark:bg-neu-100 lg:grid-cols-5" >
@@ -129,7 +142,9 @@ export function Footer() {
129
142
{ section . title }
130
143
</ Anchor >
131
144
) : (
132
- < span className = "block p-4 3xl:px-10" > { section . title } </ span >
145
+ < span className = "block p-4 md:px-6 2xl:px-10" >
146
+ { section . title }
147
+ </ span >
133
148
) }
134
149
</ h3 >
135
150
) }
@@ -158,10 +173,10 @@ export function Footer() {
158
173
</ div >
159
174
</ div >
160
175
161
- < div className = "relative flex items-center justify-between gap-4 p-4 md:px-6 2xl:px-10" >
176
+ < div className = "relative flex items-center justify-between gap-4 p-4 max-md:justify-center md:px-6 2xl:px-10" >
162
177
{ themeConfig . darkMode && (
163
178
// todo: new theme switch component
164
- < div className = "typography-menu flex items-center *:rounded-none dark:*:text-neu-900" >
179
+ < div className = "typography-menu flex items-center *:rounded-none dark:*:text-neu-900 max-md:hidden " >
165
180
{ renderComponent ( themeConfig . themeSwitch . component ) }
166
181
</ div >
167
182
) }
0 commit comments