From 039245ac925a6e5f66d9e2b03f3d6548b763dc35 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Sun, 13 Oct 2024 02:48:45 +0530 Subject: [PATCH 01/15] Roadmap page for the Overview section --- context.ts | 1 + next-env.d.ts | 2 +- pages/community/index.page.tsx | 2 +- pages/roadmap/index.page.tsx | 143 +++++++++++++++++++++++++++++++++ 4 files changed, 146 insertions(+), 2 deletions(-) create mode 100644 pages/roadmap/index.page.tsx diff --git a/context.ts b/context.ts index 7aa6777d2..a091c1cb3 100644 --- a/context.ts +++ b/context.ts @@ -19,6 +19,7 @@ export const SectionContext = React.createContext< | 'overview' | 'getting-started' | 'reference' + | 'roadmap' >(null); export const BlockContext = React.createContext(null); export const FullMarkdownContext = React.createContext(null); diff --git a/next-env.d.ts b/next-env.d.ts index 4f11a03dc..a4a7b3f5c 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -2,4 +2,4 @@ /// // NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. +// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information. diff --git a/pages/community/index.page.tsx b/pages/community/index.page.tsx index 5edea97e4..ef87001b6 100644 --- a/pages/community/index.page.tsx +++ b/pages/community/index.page.tsx @@ -218,7 +218,7 @@ export default function communityPages(props: any) { body='Explore our exciting plans and upcoming milestones. 🚀' headerSize='large' bodyTextSize='medium' - link='https://github.com/orgs/json-schema-org/discussions/427' + link='/roadmap' /> +
+
+

+ Roadmap {date} +

+ +
+
+ + {roadmap.map((item, index) => { + const status = + item.fieldValues.nodes.find( + (node) => node.field?.name === 'Status', + )?.name || 'Unknown'; + const category = + item.fieldValues.nodes.find( + (node) => node.field?.name === 'Category', + )?.name || 'Uncategorized'; + const effort = + item.fieldValues.nodes.find( + (node) => node.field?.name === 'Effort', + )?.name || 'Unknown'; + const impact = + item.fieldValues.nodes.find( + (node) => node.field?.name === 'Impact', + )?.name || 'Unknown'; + + return ( +
+
+
+
+ +
+
+
+ + {category} + +

+ {item.content.title} +

+
+ {item.content.assignees.nodes.map( + (assignee, index) => ( + + @{assignee.login} + + ), + )} +
+
+ + Effort: {effort} + + + Impact: {impact} + +
+
+
+ + {status} + +
+
+
+ +
+
+
+ +
+
+ ); + })} +
+
+
+ + ); +} + +Roadmap.getLayout = getLayout; From 2e7a42838b837060c98a2c11c1f0d3648892a8ab Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Sun, 13 Oct 2024 15:32:05 +0530 Subject: [PATCH 02/15] added themes and fixed routing --- pages/community/index.page.tsx | 2 +- pages/{ => overview}/roadmap/index.page.tsx | 57 +++++++++++---------- 2 files changed, 30 insertions(+), 29 deletions(-) rename pages/{ => overview}/roadmap/index.page.tsx (67%) diff --git a/pages/community/index.page.tsx b/pages/community/index.page.tsx index ef87001b6..aae6dc866 100644 --- a/pages/community/index.page.tsx +++ b/pages/community/index.page.tsx @@ -218,7 +218,7 @@ export default function communityPages(props: any) { body='Explore our exciting plans and upcoming milestones. 🚀' headerSize='large' bodyTextSize='medium' - link='/roadmap' + link='/overview/roadmap' /> -
+

Roadmap {date}

-
+
{roadmap.map((item, index) => { const status = @@ -63,7 +69,7 @@ export default function Roadmap() { }`} >
-
+
-
+
- + {category}

@@ -84,7 +90,7 @@ export default function Roadmap() { (assignee, index) => ( @{assignee.login} @@ -94,18 +100,14 @@ export default function Roadmap() {
Effort: {effort} Impact: {impact} @@ -114,8 +116,7 @@ export default function Roadmap() {
@@ -126,7 +127,7 @@ export default function Roadmap() {
-
+
@@ -140,4 +141,4 @@ export default function Roadmap() { ); } -Roadmap.getLayout = getLayout; +Roadmap.getLayout = getLayout; \ No newline at end of file From 0143dc3d177b93e1d590403941ef45a491d507f3 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Sun, 13 Oct 2024 15:36:44 +0530 Subject: [PATCH 03/15] build fix --- pages/overview/roadmap/index.page.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pages/overview/roadmap/index.page.tsx b/pages/overview/roadmap/index.page.tsx index 79e828ffd..f0c9c2947 100644 --- a/pages/overview/roadmap/index.page.tsx +++ b/pages/overview/roadmap/index.page.tsx @@ -29,7 +29,6 @@ const impactColors = { Unknown: 'bg-gray-600 text-white dark:bg-gray-500', }; - export default function Roadmap() { const date = new Date().getFullYear(); return ( @@ -100,14 +99,18 @@ export default function Roadmap() {
Effort: {effort} Impact: {impact} @@ -116,7 +119,8 @@ export default function Roadmap() {
@@ -141,4 +145,4 @@ export default function Roadmap() { ); } -Roadmap.getLayout = getLayout; \ No newline at end of file +Roadmap.getLayout = getLayout; From 82bd10f8ac6a6cc0c58b2bd36e3f2d2b042ff236 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Wed, 16 Oct 2024 12:45:32 +0530 Subject: [PATCH 04/15] changes --- components/Sidebar.tsx | 2 + pages/overview/roadmap/index.page.tsx | 135 ++++++++++++-------------- 2 files changed, 64 insertions(+), 73 deletions(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 6f54caa09..53e043fa3 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -109,6 +109,7 @@ const getDocsPath = [ '/overview/use-cases', '/overview/code-of-conduct', '/overview/faq', + 'overview/roadmap', ]; const getStartedPath = [ '/learn', @@ -393,6 +394,7 @@ export const DocsNav = ({ label='Code of Conduct' setOpen={setOpen} /> +

{/* Get Started */} diff --git a/pages/overview/roadmap/index.page.tsx b/pages/overview/roadmap/index.page.tsx index f0c9c2947..fee2cbf39 100644 --- a/pages/overview/roadmap/index.page.tsx +++ b/pages/overview/roadmap/index.page.tsx @@ -1,5 +1,8 @@ import React from 'react'; -import { getLayout } from '~/components/SiteLayout'; +import { DocsHelp } from '~/components/DocsHelp'; +import { getLayout } from '~/components/Sidebar'; +import Head from 'next/head'; +import { Headline1 } from '~/components/Headlines'; import { SectionContext } from '~/context'; import roadmap from '~/data/roadmap.json'; @@ -30,19 +33,25 @@ const impactColors = { }; export default function Roadmap() { + const newTitle = 'Roadmap'; + const markdownFile = '_indexPage'; const date = new Date().getFullYear(); + return ( - -
-
-

- Roadmap {date} -

+ + + {newTitle} + + + {newTitle} {date} + +
+
-
+
- {roadmap.map((item, index) => { + {roadmap.map((item) => { const status = item.fieldValues.nodes.find( (node) => node.field?.name === 'Status', @@ -61,86 +70,66 @@ export default function Roadmap() { )?.name || 'Unknown'; return ( -
-
-
+
+
+
-
-
-
- - {category} - -

- {item.content.title} -

-
- {item.content.assignees.nodes.map( - (assignee, index) => ( - - @{assignee.login} - - ), - )} -
-
- - Effort: {effort} - +
+
+ + {category} + +

+ {item.content.title} +

+
+ {item.content.assignees.nodes.map((assignee, index) => ( - Impact: {impact} + @{assignee.login} -
+ ))}
-
- - {status} +
+ + Effort: {effort} + + + Impact: {impact}
+
+ + {status} + +
- -
-
-
- -
); })}
+ ); } From 1bb04d24999d6018f5a870ba2e3cf077a6fafe30 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Thu, 17 Oct 2024 23:28:27 +0530 Subject: [PATCH 05/15] updated package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 423aded6d..dbc247896 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "next dev", "dev-c": "rm -rf .next && rm -rf node_modules && yarn && yarn dev", - "build": "next build", + "build": "next build && next export", "postbuild": "next-sitemap --config next-sitemap.config.js", "start": "serve out", "export": "next export", From a2a5c0e43c671d35b1a0dd828749cc211bf760b3 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Thu, 17 Oct 2024 23:35:15 +0530 Subject: [PATCH 06/15] fix build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dbc247896..423aded6d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "next dev", "dev-c": "rm -rf .next && rm -rf node_modules && yarn && yarn dev", - "build": "next build && next export", + "build": "next build", "postbuild": "next-sitemap --config next-sitemap.config.js", "start": "serve out", "export": "next export", From 990f457c3dbe3c1f63d3ebd2bd955c40103c0b74 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Fri, 18 Oct 2024 16:06:49 +0530 Subject: [PATCH 07/15] added safelist --- tailwind.config.js | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/tailwind.config.js b/tailwind.config.js index 4df42289c..2467e2638 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,6 +4,44 @@ module.exports = { './components/**/*.{js,ts,jsx,tsx,md}', ], darkMode: "class", + safelist: [ + "bg-yellow-600", + "text-white", + "dark:bg-yellow-500", + "bg-purple-600", + "dark:bg-purple-500", + "bg-blue-600", + "dark:bg-blue-500", + "bg-orange-600", + "dark:bg-orange-500", + "bg-pink-600", + "dark:bg-pink-500", + "bg-gray-600", + "dark:bg-gray-500", + "bg-green-600", + "dark:bg-green-500", + "bg-red-600", + "bg-blue-600", + "bg-emerald-600", + "dark:bg-emerald-500", + "bg-orange-600", + "from-blue-300", + "to-purple-400", + "dark:from-blue-400", + "dark:to-purple-500", + "from-blue-400", + "to-purple-500", + "dark:from-blue-500", + "dark:to-purple-600", + "bg-white", + "dark:bg-gray-800", + "border-gray-200", + "dark:border-gray-700", + "text-gray-900", + "dark:text-white", + "text-gray-600", + "dark:text-gray-400" + ], theme: { screens: { 'sm': '640px', From ea165741c5905ae0a26b21ecfd85a1dbce5222b7 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Sat, 19 Oct 2024 00:45:16 +0530 Subject: [PATCH 08/15] changes ui --- pages/overview/roadmap/index.page.tsx | 31 +++---- tailwind.config.js | 126 ++++++++++++-------------- 2 files changed, 69 insertions(+), 88 deletions(-) diff --git a/pages/overview/roadmap/index.page.tsx b/pages/overview/roadmap/index.page.tsx index fee2cbf39..d96a5e720 100644 --- a/pages/overview/roadmap/index.page.tsx +++ b/pages/overview/roadmap/index.page.tsx @@ -7,11 +7,11 @@ import { SectionContext } from '~/context'; import roadmap from '~/data/roadmap.json'; const statusColors = { - 'In Progress': 'bg-yellow-600 text-white dark:bg-yellow-500', + 'In Progress': 'bg-green-600 text-white dark:bg-green-500', Done: 'bg-purple-600 text-white dark:bg-purple-500', Planned: 'bg-blue-600 text-white dark:bg-blue-500', - Paused: 'bg-orange-600 text-white dark:bg-orange-500', - Deferred: 'bg-pink-600 text-white dark:bg-pink-500', + Paused: 'bg-red-600 text-white dark:bg-red-500', + Deferred: 'bg-blue-600 text-white dark:bg-blue-500', Unknown: 'bg-gray-600 text-white dark:bg-gray-500', }; @@ -24,11 +24,11 @@ const effortColors = { }; const impactColors = { - Low: 'bg-blue-600 text-white dark:bg-blue-500', + Low: 'bg-red-600 text-white dark:bg-red-500', Medium: 'bg-yellow-600 text-white dark:bg-yellow-500', High: 'bg-green-600 text-white dark:bg-green-500', - 'Medium-high': 'bg-emerald-600 text-white dark:bg-emerald-500', - 'Low-medium': 'bg-orange-600 text-white dark:bg-orange-500', + 'Medium-high': 'bg-yellow-600 text-white dark:bg-yellow-500', + 'Low-medium': 'bg-red-600 text-white dark:bg-red-500', Unknown: 'bg-gray-600 text-white dark:bg-gray-500', }; @@ -49,7 +49,7 @@ export default function Roadmap() {
-
+
{roadmap.map((item) => { const status = @@ -71,28 +71,19 @@ export default function Roadmap() { return (
-
+
-
+
- + {category}

{item.content.title}

-
- {item.content.assignees.nodes.map((assignee, index) => ( - - @{assignee.login} - - ))} -
+
@media (min-width: 640px) { ... } - 'md': '768px', + md: '768px', // => @media (min-width: 768px) { ... } - 'lg': '1024px', + lg: '1024px', // => @media (min-width: 1024px) { ... } - 'xl': '1280px', + xl: '1280px', // => @media (min-width: 1280px) { ... } '2xl': '1536px', // => @media (min-width: 1536px) { ... } - 'ab1':'890px' - + ab1: '890px', }, fontFamily: { - 'sans': ['Inter', 'ui-sans-serif', 'system-ui'], - 'serif': ['ui-serif', 'Georgia'], - 'mono': ['JetBrains Mono', 'monospace'] + sans: ['Inter', 'ui-sans-serif', 'system-ui'], + serif: ['ui-serif', 'Georgia'], + mono: ['JetBrains Mono', 'monospace'], }, fontSize: { sm: '0.8rem', base: '16px', xl: '20px', - 'h5': '20px', - 'h4': '25px', - 'h3': '35px', - 'h2': '45px', - 'h1': '60px', - 'h1mobile': '35px', - 'h2mobile': '28px', - 'h3mobile': '25px', - 'h4mobile': '22px', - 'h5mobile': '20px' + h5: '20px', + h4: '25px', + h3: '35px', + h2: '45px', + h1: '60px', + h1mobile: '35px', + h2mobile: '28px', + h3mobile: '25px', + h4mobile: '22px', + h5mobile: '20px', }, - + extend: { backgroundImage: { - 'gradient-radial': 'linear-gradient(72.68deg, #002CC4 28.97%, #5468FF 145.47%)', + 'gradient-radial': + 'linear-gradient(72.68deg, #002CC4 28.97%, #5468FF 145.47%)', }, colors: { - white: '#ffffff', black: '#000000', primary: '#002CC4', @@ -95,27 +85,27 @@ module.exports = { btnGold: '#AB9700', startBlue: '#002CC4', endBlue: '#5468FF', - linkBlue: '#3B82F6' + linkBlue: '#3B82F6', }, gradientColorStopPositions: { 33: '145.47%', }, lineHeight: { - 'base': '24px', - 'header': '74px', + base: '24px', + header: '74px', }, boxShadow: { '3xl': ' 0px 0px 20px 5px rgba(0, 0, 0, 0.05)', '4xl': [ '0 35px 35px rgba(0, 0, 0, 0.25)', - '0 45px 65px rgba(0, 0, 0, 0.15)' + '0 45px 65px rgba(0, 0, 0, 0.15)', ], - 'xl': ' 0px 6px 10px -4px rgba(0, 0, 0, 0.25);' - } - } + xl: ' 0px 6px 10px -4px rgba(0, 0, 0, 0.25);', + }, + }, }, plugins: [], -} +}; /* FONT WEIGHT @@ -126,4 +116,4 @@ module.exports = { font-semibold 600 font-bold 700 font-black 900 -*/ \ No newline at end of file +*/ From 7e3af917fa1dca65bc205769235e63833aefd135 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Sat, 19 Oct 2024 00:53:17 +0530 Subject: [PATCH 09/15] fix build --- pages/overview/roadmap/index.page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/overview/roadmap/index.page.tsx b/pages/overview/roadmap/index.page.tsx index d96a5e720..6ece06da8 100644 --- a/pages/overview/roadmap/index.page.tsx +++ b/pages/overview/roadmap/index.page.tsx @@ -83,7 +83,7 @@ export default function Roadmap() {

{item.content.title}

- +
Date: Sat, 19 Oct 2024 17:11:00 +0530 Subject: [PATCH 10/15] Update components/Sidebar.tsx Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com> --- components/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 53e043fa3..0d005ed71 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -109,7 +109,7 @@ const getDocsPath = [ '/overview/use-cases', '/overview/code-of-conduct', '/overview/faq', - 'overview/roadmap', + '/overview/roadmap', ]; const getStartedPath = [ '/learn', From 174ded557aa1a97f4dde4da0e65b61af9c74bdf3 Mon Sep 17 00:00:00 2001 From: Rishabh Rai <97790876+rishabhknowss@users.noreply.github.com> Date: Sat, 19 Oct 2024 17:11:32 +0530 Subject: [PATCH 11/15] Update pages/overview/roadmap/index.page.tsx Co-authored-by: Benjamin Granados <40007659+benjagm@users.noreply.github.com> --- pages/overview/roadmap/index.page.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/overview/roadmap/index.page.tsx b/pages/overview/roadmap/index.page.tsx index 6ece06da8..68b7ea2bf 100644 --- a/pages/overview/roadmap/index.page.tsx +++ b/pages/overview/roadmap/index.page.tsx @@ -45,7 +45,9 @@ export default function Roadmap() { {newTitle} {date} - +

+ Our "Roadmap" section displays our key objectives for the long term. While this roadmap provides a detailed outlook for the near future, please note that it might be subject to change. In fact, we are currently [discussing](https://github.com/orgs/json-schema-org/discussions/813) the new priorities for the next 24-month cycle, which will lead to relevant changes. Please consider joining the discussion to become an active part of JSON Schema's future! +

From 952d6a80b331c65c07848a6f682e7a61fd097ec7 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Sat, 19 Oct 2024 20:00:28 +0530 Subject: [PATCH 12/15] updated ui --- pages/overview/roadmap/index.page.tsx | 35 +++++++++++++++++---------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/pages/overview/roadmap/index.page.tsx b/pages/overview/roadmap/index.page.tsx index 68b7ea2bf..1b0e1d4d4 100644 --- a/pages/overview/roadmap/index.page.tsx +++ b/pages/overview/roadmap/index.page.tsx @@ -33,25 +33,34 @@ const impactColors = { }; export default function Roadmap() { - const newTitle = 'Roadmap'; + const newTitle = 'JSON Schema Roadmap'; const markdownFile = '_indexPage'; - const date = new Date().getFullYear(); return ( {newTitle} - - {newTitle} {date} - -

- Our "Roadmap" section displays our key objectives for the long term. While this roadmap provides a detailed outlook for the near future, please note that it might be subject to change. In fact, we are currently [discussing](https://github.com/orgs/json-schema-org/discussions/813) the new priorities for the next 24-month cycle, which will lead to relevant changes. Please consider joining the discussion to become an active part of JSON Schema's future! -

+ {newTitle} +
+ Our "Roadmap" section displays our key objectives for the long term. + While this roadmap provides a detailed outlook for the near future, + please note that it might be subject to change. In fact, we are + currently{' '} + + discussing + {' '} + the new priorities for the next 24-month cycle, which will lead to + relevant changes. Please consider joining the discussion to become an + active part of JSON Schema's future! +
-
+
-
+
{roadmap.map((item) => { const status = @@ -63,7 +72,7 @@ export default function Roadmap() { (node) => node.field?.name === 'Category', )?.name || 'Uncategorized'; const effort = - item.fieldValues.nodes.find( + item.fieldValues.nodes.find( (node) => node.field?.name === 'Effort', )?.name || 'Unknown'; const impact = @@ -73,11 +82,11 @@ export default function Roadmap() { return (
-
+
-
+
{category} From 0d564c7d33f7eee44dd081540ba6fb4b43905c85 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Sat, 19 Oct 2024 20:13:37 +0530 Subject: [PATCH 13/15] fixes purgeCSS --- pages/overview/roadmap/index.page.tsx | 33 +++++++++++++-------------- tailwind.config.js | 29 ----------------------- 2 files changed, 16 insertions(+), 46 deletions(-) diff --git a/pages/overview/roadmap/index.page.tsx b/pages/overview/roadmap/index.page.tsx index 1b0e1d4d4..8f3c0d92a 100644 --- a/pages/overview/roadmap/index.page.tsx +++ b/pages/overview/roadmap/index.page.tsx @@ -42,7 +42,7 @@ export default function Roadmap() { {newTitle} {newTitle} -
+
Our "Roadmap" section displays our key objectives for the long term. While this roadmap provides a detailed outlook for the near future, please note that it might be subject to change. In fact, we are @@ -72,7 +72,7 @@ export default function Roadmap() { (node) => node.field?.name === 'Category', )?.name || 'Uncategorized'; const effort = - item.fieldValues.nodes.find( + item.fieldValues.nodes.find( (node) => node.field?.name === 'Effort', )?.name || 'Unknown'; const impact = @@ -80,13 +80,23 @@ export default function Roadmap() { (node) => node.field?.name === 'Impact', )?.name || 'Unknown'; + const effortClass = + effortColors[effort as keyof typeof effortColors] || + effortColors['Unknown']; + const impactClass = + impactColors[impact as keyof typeof impactColors] || + impactColors['Unknown']; + const statusClass = + statusColors[status as keyof typeof statusColors] || + statusColors['Unknown']; + return (
-
+
{category} @@ -97,29 +107,18 @@ export default function Roadmap() {
Effort: {effort} Impact: {impact}
-
+
{status} diff --git a/tailwind.config.js b/tailwind.config.js index 1d59649af..19c659958 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,35 +4,6 @@ module.exports = { './components/**/*.{js,ts,jsx,tsx,md}', ], darkMode: 'class', - safelist: [ - 'bg-green-600', - 'bg-purple-600', - 'bg-blue-600', - 'bg-red-600', - 'bg-gray-600', - 'text-white', - 'dark:bg-green-500', - 'dark:bg-purple-500', - 'dark:bg-blue-500', - 'dark:bg-red-500', - 'dark:bg-gray-500', - 'bg-yellow-600', - 'dark:bg-yellow-500', - 'bg-white', - 'dark:bg-gray-800', - 'text-gray-900', - 'dark:text-white', - 'border-gray-200', - 'dark:border-gray-700', - 'rounded-full', - 'rounded-lg', - 'overflow-hidden', - 'shadow-lg', - 'transform', - '-translate-y-2', - 'rotate-45', - '-translate-x-2', - ], theme: { screens: { sm: '640px', From 6d5e04e20bf8e4416c523183b7dc96a6d03134fb Mon Sep 17 00:00:00 2001 From: Benjamin Granados <40007659+benjagm@users.noreply.github.com> Date: Thu, 24 Oct 2024 08:00:49 +0200 Subject: [PATCH 14/15] Change roadmap position in sidebar --- components/Sidebar.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 0d005ed71..a7f3fe24b 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -363,6 +363,11 @@ export const DocsNav = ({ label='What is JSON Schema?' setOpen={setOpen} /> + -
{/* Get Started */} From 69f971fe474dca3c6979f6474b65c67a530ec671 Mon Sep 17 00:00:00 2001 From: Benjamin Granados <40007659+benjagm@users.noreply.github.com> Date: Thu, 24 Oct 2024 08:05:16 +0200 Subject: [PATCH 15/15] Fix formatting --- components/Sidebar.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index a7f3fe24b..6370bb406 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -363,11 +363,7 @@ export const DocsNav = ({ label='What is JSON Schema?' setOpen={setOpen} /> - +