Skip to content

Commit 922ee55

Browse files
Docs/partnership and support (#235)
* added new pages to docs about partnership and support * reworked docs navbar to support multi-level navigation
1 parent 228be14 commit 922ee55

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2360
-706
lines changed

apps/docs/docusaurus.config.ts

Lines changed: 92 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ const config: Config = {
253253
markdown: {
254254
mermaid: true,
255255
},
256-
plugins: [tailwindPlugin, '@docusaurus/theme-mermaid', 'docusaurus-plugin-image-zoom'],
256+
plugins: [tailwindPlugin, '@docusaurus/theme-mermaid', 'docusaurus-plugin-image-zoom', 'docusaurus-plugin-sass'],
257257
presets: [
258258
[
259259
'classic',
@@ -323,23 +323,72 @@ const config: Config = {
323323
items: hideDocs
324324
? undefined
325325
: [
326+
{
327+
type: 'dropdown',
328+
label: 'Developers',
329+
position: 'left',
330+
items: [
331+
{
332+
label: 'Documentation',
333+
to: '/docs',
334+
},
335+
{
336+
label: 'Community',
337+
href: 'https://discord.gg/4R568nZgsT',
338+
},
339+
{
340+
label: 'Changelog',
341+
to: '/blog/tags/releases',
342+
},
343+
{
344+
label: 'Github',
345+
href: 'https://github.com/o2sdev/openselfservice',
346+
},
347+
],
348+
},
326349
{
327-
type: 'search',
328-
position: 'right',
350+
type: 'dropdown',
351+
label: 'Resources',
352+
position: 'left',
353+
items: [
354+
{
355+
label: 'Blog',
356+
to: '/blog',
357+
},
358+
{
359+
label: 'Roadmap',
360+
href: 'https://github.com/orgs/o2sdev/projects/2',
361+
},
362+
],
329363
},
330364
{
331-
type: 'docSidebar',
332-
sidebarId: 'tutorialSidebar',
333-
position: 'right',
334-
label: 'Docs',
335-
className: 'navbar__item--docs',
365+
type: 'dropdown',
366+
label: 'Support',
367+
position: 'left',
368+
items: [
369+
{
370+
label: 'For developers',
371+
to: '/support/developers',
372+
},
373+
{
374+
label: 'Enterprise support',
375+
to: '/support/enterprise',
376+
},
377+
{
378+
label: 'Contact us',
379+
to: '/contact',
380+
},
381+
],
382+
},
383+
{
384+
label: 'Partners',
385+
to: '/partners',
386+
position: 'left',
336387
},
337-
{ to: '/blog', label: 'Blog', position: 'right', className: 'navbar__item--guides' },
388+
338389
{
339-
to: 'https://discord.gg/4R568nZgsT',
340-
label: 'Discord',
390+
type: 'search',
341391
position: 'right',
342-
className: 'navbar__item--discord',
343392
},
344393
{
345394
to: 'https://github.com/o2sdev/openselfservice',
@@ -348,18 +397,16 @@ const config: Config = {
348397
className: 'navbar__item--github',
349398
},
350399
{
351-
to: '/dxp',
352-
// label: 'DXP Starter',
400+
to: '/contact',
401+
label: 'Contact us',
353402
position: 'right',
354403
className: 'button button-tertiary',
355-
html: '<span class="label">DXP Starter</span>',
356404
},
357-
358405
{
359-
to: '/contact',
360-
label: 'Contact us',
406+
to: '/dxp',
407+
label: 'DXP Starter',
361408
position: 'right',
362-
className: 'navbar__item--contact button',
409+
className: 'button button-primary',
363410
},
364411
],
365412
},
@@ -389,29 +436,37 @@ const config: Config = {
389436
},
390437
],
391438
},
439+
{
440+
title: 'Developers',
441+
items: [
442+
{
443+
label: 'Documentation',
444+
to: '/docs',
445+
},
446+
{
447+
label: 'Community',
448+
href: 'https://discord.gg/4R568nZgsT',
449+
},
450+
{
451+
label: 'Changelog',
452+
to: '/blog/tags/releases',
453+
},
454+
{
455+
label: 'Github',
456+
href: 'https://github.com/o2sdev/openselfservice',
457+
},
458+
],
459+
},
392460
{
393-
title: 'Community',
461+
title: 'More',
394462
items: [
395463
{
396-
label: 'LinkedIn',
397-
href: 'https://www.linkedin.com/company/open-self-service/',
464+
label: 'Partners',
465+
to: '/partners',
398466
},
399-
// {
400-
// label: 'Twitter / X',
401-
// href: 'https://x.com/openselfservice',
402-
// },
403-
{
404-
label: 'Discord',
405-
href: 'https://discord.gg/4R568nZgsT',
406-
},
407-
],
408-
},
409-
{
410-
title: 'More',
411-
items: [
412467
{
413-
label: 'GitHub',
414-
href: 'https://github.com/o2sdev/openselfservice',
468+
to: '/contact',
469+
label: 'Contact us',
415470
},
416471
],
417472
},

apps/docs/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@
2626
"@vercel/speed-insights": "^1.2.0",
2727
"clsx": "^2.1.1",
2828
"docusaurus-plugin-image-zoom": "^3.0.1",
29+
"docusaurus-plugin-sass": "^0.2.6",
2930
"framer-motion": "^12.12.1",
3031
"prism-react-renderer": "^2.4.1",
3132
"react": "^19.1.0",
3233
"react-dom": "^19.1.0",
34+
"sass": "^1.93.0",
3335
"vanilla-cookieconsent": "^3.1.0"
3436
},
3537
"devDependencies": {
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

apps/docs/src/assets/icons/Map.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)