@@ -27,9 +27,15 @@ const FOOTER_SECTIONS: FooterSection[] = [
2727 title : "Learn" ,
2828 route : "/learn" ,
2929 links : [
30- { title : "Introduction to GraphQL" , route : "/learn" } ,
30+ { title : "Introduction" , route : "/learn" } ,
31+ { title : "Best Practices" , route : "/learn/best-practices" } ,
3132 {
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+ ) ,
3339 route : "/faq" ,
3440 } ,
3541 {
@@ -43,7 +49,7 @@ const FOOTER_SECTIONS: FooterSection[] = [
4349 links : [
4450 { title : "GitHub" , route : "https://github.com/graphql" } ,
4551 {
46- title : "GraphQL Specification" ,
52+ title : "Specification" ,
4753 route : "/spec" ,
4854 } ,
4955 { title : "Libraries & Tools" , route : "/code" } ,
@@ -65,11 +71,15 @@ const FOOTER_SECTIONS: FooterSection[] = [
6571 route : "/community/events" ,
6672 } ,
6773 {
68- title : "Contribute to GraphQL" ,
74+ title : (
75+ < span >
76+ Contribute< span className = "max-md:hidden" > to GraphQL</ span >
77+ </ span >
78+ ) ,
6979 route : "/community/contribute/essential-links" ,
7080 } ,
7181 { title : "Landscape" , route : "/landscape" } ,
72- { title : "Shop" , route : "/shop " } ,
82+ { title : "Shop" , route : "https://store.graphql.org/ " } ,
7383 ] ,
7484 } ,
7585 {
@@ -81,11 +91,11 @@ const FOOTER_SECTIONS: FooterSection[] = [
8191 route : "/foundation" ,
8292 } ,
8393 {
84- title : "GraphQL Community Grant" ,
94+ title : "Community Grant" ,
8595 route : "/foundation/community-grant" ,
8696 } ,
8797 {
88- title : "Logo and Brand Guidelines" ,
98+ title : "Brand Guidelines" ,
8999 route : "/brand" ,
90100 } ,
91101 {
@@ -111,6 +121,9 @@ export function Footer() {
111121 < NextLink href = "/" className = "nextra-logo flex items-center" >
112122 < GraphQLWordmarkLogo className = "h-6" title = "GraphQL" />
113123 </ NextLink >
124+ < div className = "typography-menu flex items-center *:rounded-none dark:*:text-neu-900 md:hidden" >
125+ { renderComponent ( themeConfig . themeSwitch . component ) }
126+ </ div >
114127 </ div >
115128
116129 < 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() {
129142 { section . title }
130143 </ Anchor >
131144 ) : (
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 >
133148 ) }
134149 </ h3 >
135150 ) }
@@ -158,10 +173,10 @@ export function Footer() {
158173 </ div >
159174 </ div >
160175
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" >
162177 { themeConfig . darkMode && (
163178 // 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 " >
165180 { renderComponent ( themeConfig . themeSwitch . component ) }
166181 </ div >
167182 ) }
0 commit comments