From 8fed9cd4d7bd000abb2ddc383dbf39e72ea514a5 Mon Sep 17 00:00:00 2001 From: karan-palan Date: Tue, 14 Jan 2025 13:20:15 +0530 Subject: [PATCH 1/3] fix[docs]: update arrow links across pages and sidebar --- components/Sidebar.tsx | 2 +- pages/overview/faq/index.page.tsx | 4 ++-- pages/overview/similar-technologies.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 962d2412e..83da13b8d 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -380,7 +380,7 @@ export const DocsNav = ({ setOpen={setOpen} /> - + diff --git a/pages/overview/similar-technologies.md b/pages/overview/similar-technologies.md index 7867a54e5..88603abe5 100644 --- a/pages/overview/similar-technologies.md +++ b/pages/overview/similar-technologies.md @@ -2,8 +2,8 @@ section: docs title: Similar Technologies prev: - label: FAQs - url: '/overview/faq' + label: Pro Help + url: '/overview/pro-help' next: label: Code of Conduct url: '/overview/code-of-conduct' From 931827a3e94af940f8a5eaeaca22aa468c31ec55 Mon Sep 17 00:00:00 2001 From: karan-palan Date: Tue, 14 Jan 2025 13:21:38 +0530 Subject: [PATCH 2/3] fix[docs]: align sidebar and add navigation buttons to pro-help page --- pages/{ => overview}/pro-help/index.page.tsx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) rename pages/{ => overview}/pro-help/index.page.tsx (95%) diff --git a/pages/pro-help/index.page.tsx b/pages/overview/pro-help/index.page.tsx similarity index 95% rename from pages/pro-help/index.page.tsx rename to pages/overview/pro-help/index.page.tsx index 99eb27681..61e33cc97 100644 --- a/pages/pro-help/index.page.tsx +++ b/pages/overview/pro-help/index.page.tsx @@ -1,10 +1,11 @@ import React from 'react'; import fs from 'fs'; -import { getLayout } from '~/components/SiteLayout'; +import { getLayout } from '~/components/Sidebar'; import Head from 'next/head'; import { Headline1 } from '~/components/Headlines'; import { SectionContext } from '~/context'; import { DocsHelp } from '~/components/DocsHelp'; +import NextPrevButton from '~/components/NavigationButtons'; interface ContractorLink { title: string; @@ -48,16 +49,15 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) { const newTitle = 'Need pro help with JSON Schema?'; return ( - + {newTitle}
-
-
+
{newTitle}

Whether you need training, personalized advice, or custom JSON @@ -208,6 +208,12 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) {

+
From 255fabc2106d25bc49b5bca49f4a1e02a474fe82 Mon Sep 17 00:00:00 2001 From: karan-palan Date: Tue, 14 Jan 2025 13:35:52 +0530 Subject: [PATCH 3/3] fix[docs]: fix prettier issue --- components/Sidebar.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 83da13b8d..87a57087e 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -380,7 +380,11 @@ export const DocsNav = ({ setOpen={setOpen} /> - +