diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 22939a4..474599d 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -3,8 +3,8 @@ import type {Config} from '@docusaurus/types'; import type * as Preset from '@docusaurus/preset-classic'; const config: Config = { - title: 'Pluginpal Documentation', - tagline: "All of Pluginpal's plugin documentation in one place", + title: 'Strapi Config Sync', + tagline: "Documentation for the config-sync plugin for Strapi", favicon: 'img/favicon.jpg', plugins: [ @@ -44,7 +44,7 @@ const config: Config = { // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: - 'https://github.com/pluginpal/docs/tree/main/', + 'https://github.com/pluginpal/strapi-plugin-config-sync/tree/master/docs', admonitions: { keywords: [ // Admonitions defaults @@ -86,14 +86,14 @@ const config: Config = { // Replace with your project's social card // image: 'img/docusaurus-social-card.jpg', navbar: { - title: 'PluginPal Docs', + title: 'Strapi Config Sync', logo: { - alt: 'PluginPal logo', + alt: 'Config Sync logo', src: 'img/logo.png', }, items: [ { - href: 'https://github.com/pluginpal', + href: 'https://github.com/pluginpal/strapi-plugin-config-sync', label: 'GitHub', position: 'right', }, @@ -131,11 +131,11 @@ const config: Config = { ], }, - algolia: { - appId: '8VTVGK458K', - apiKey: '2f311b65edaffdd986645eb42d4afa51', - indexName: 'pluginpal', - }, + // algolia: { + // appId: '8VTVGK458K', + // apiKey: '2f311b65edaffdd986645eb42d4afa51', + // indexName: 'pluginpal', + // }, prism: { theme: prismThemes.github, diff --git a/docs/src/scss/navbar.scss b/docs/src/scss/navbar.scss index 1ac65b5..b5c3044 100644 --- a/docs/src/scss/navbar.scss +++ b/docs/src/scss/navbar.scss @@ -22,7 +22,7 @@ $selector-color-mode-toggle-wrapper: 'div[class*="ColorModeToggle"]'; --custom-navbar-icon-button-hover-background: var(--strapi-neutral-100); --custom-navbar-items-font-size: var(--strapi-font-size-sm); --custom-navbar-items-gap: var(--strapi-spacing-3); - --custom-navbar-logo-img-width: 150px; + --custom-navbar-logo-img-width: 40px; --custom-navbar-toggle-mr: var(--strapi-spacing-1); --custom-navbar-transition: all 0.2s ease; @@ -38,11 +38,16 @@ $selector-color-mode-toggle-wrapper: 'div[class*="ColorModeToggle"]'; &__brand, &__logo { height: auto; - line-height: 0; + display: flex; } &__brand { margin-right: var(--custom-navbar-brand-mr); + font-size: large; + + @include small-up { + font-size: x-large; + } } &__toggle { @@ -50,7 +55,7 @@ $selector-color-mode-toggle-wrapper: 'div[class*="ColorModeToggle"]'; } &__logo { - margin-right: 0; + margin-right: var(--custom-navbar-items-gap); img { height: var(--custom-navbar-logo-img-height); diff --git a/docs/static/img/logo.png b/docs/static/img/logo.png index 0ea58b0..3e55669 100644 Binary files a/docs/static/img/logo.png and b/docs/static/img/logo.png differ