diff --git a/website/css/globals.css b/website/css/globals.css index bb77fa72cc..d8207c0885 100644 --- a/website/css/globals.css +++ b/website/css/globals.css @@ -82,7 +82,7 @@ div[id^='headlessui-menu-items'] { @apply justify-start; > a { - @apply first:mr-0 hover:!text-primary; + @apply hover:!text-primary; } button[id^='headlessui-menu-button'] { diff --git a/website/pages/_meta.ts b/website/pages/_meta.ts index 7b0f42dca3..b56f19ce54 100644 --- a/website/pages/_meta.ts +++ b/website/pages/_meta.ts @@ -24,18 +24,16 @@ const meta = { title: 'FAQ', }, 'going-to-production': '', - '-- 4': { - type: 'separator', - title: 'API Reference', + 'api-v16': { + type: 'menu', + title: 'API', + items: { + 2: { + title: 'V16', + href: '/api-v16/graphql', + }, + }, }, - graphql: '', - error: '', - execution: '', - language: '', - type: '', - utilities: '', - validation: '', - 'graphql-http': '', }; export default meta; diff --git a/website/pages/api-v16/_meta.ts b/website/pages/api-v16/_meta.ts new file mode 100644 index 0000000000..075de90bca --- /dev/null +++ b/website/pages/api-v16/_meta.ts @@ -0,0 +1,12 @@ +const meta = { + graphql: '', + error: '', + execution: '', + language: '', + type: '', + utilities: '', + validation: '', + 'graphql-http': '', +}; + +export default meta; diff --git a/website/pages/error.mdx b/website/pages/api-v16/error.mdx similarity index 100% rename from website/pages/error.mdx rename to website/pages/api-v16/error.mdx diff --git a/website/pages/execution.mdx b/website/pages/api-v16/execution.mdx similarity index 100% rename from website/pages/execution.mdx rename to website/pages/api-v16/execution.mdx diff --git a/website/pages/graphql-http.mdx b/website/pages/api-v16/graphql-http.mdx similarity index 100% rename from website/pages/graphql-http.mdx rename to website/pages/api-v16/graphql-http.mdx diff --git a/website/pages/graphql.mdx b/website/pages/api-v16/graphql.mdx similarity index 100% rename from website/pages/graphql.mdx rename to website/pages/api-v16/graphql.mdx diff --git a/website/pages/language.mdx b/website/pages/api-v16/language.mdx similarity index 100% rename from website/pages/language.mdx rename to website/pages/api-v16/language.mdx diff --git a/website/pages/type.mdx b/website/pages/api-v16/type.mdx similarity index 100% rename from website/pages/type.mdx rename to website/pages/api-v16/type.mdx diff --git a/website/pages/utilities.mdx b/website/pages/api-v16/utilities.mdx similarity index 100% rename from website/pages/utilities.mdx rename to website/pages/api-v16/utilities.mdx diff --git a/website/pages/validation.mdx b/website/pages/api-v16/validation.mdx similarity index 100% rename from website/pages/validation.mdx rename to website/pages/api-v16/validation.mdx