Skip to content

Commit 44471af

Browse files
committed
feat: configs-ync branding for docs
1 parent 7ee80fd commit 44471af

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

docs/docusaurus.config.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import type {Config} from '@docusaurus/types';
33
import type * as Preset from '@docusaurus/preset-classic';
44

55
const config: Config = {
6-
title: 'Pluginpal Documentation',
7-
tagline: "All of Pluginpal's plugin documentation in one place",
6+
title: 'Strapi Config Sync',
7+
tagline: "Documentation for the config-sync plugin for Strapi",
88
favicon: 'img/favicon.jpg',
99

1010
plugins: [
@@ -44,7 +44,7 @@ const config: Config = {
4444
// Please change this to your repo.
4545
// Remove this to remove the "edit this page" links.
4646
editUrl:
47-
'https://github.com/pluginpal/docs/tree/main/',
47+
'https://github.com/pluginpal/strapi-plugin-config-sync/tree/master/docs',
4848
admonitions: {
4949
keywords: [
5050
// Admonitions defaults
@@ -86,14 +86,14 @@ const config: Config = {
8686
// Replace with your project's social card
8787
// image: 'img/docusaurus-social-card.jpg',
8888
navbar: {
89-
title: 'PluginPal Docs',
89+
title: 'Strapi Config Sync',
9090
logo: {
91-
alt: 'PluginPal logo',
91+
alt: 'Config Sync logo',
9292
src: 'img/logo.png',
9393
},
9494
items: [
9595
{
96-
href: 'https://github.com/pluginpal',
96+
href: 'https://github.com/pluginpal/strapi-plugin-config-sync',
9797
label: 'GitHub',
9898
position: 'right',
9999
},
@@ -131,11 +131,11 @@ const config: Config = {
131131
],
132132
},
133133

134-
algolia: {
135-
appId: '8VTVGK458K',
136-
apiKey: '2f311b65edaffdd986645eb42d4afa51',
137-
indexName: 'pluginpal',
138-
},
134+
// algolia: {
135+
// appId: '8VTVGK458K',
136+
// apiKey: '2f311b65edaffdd986645eb42d4afa51',
137+
// indexName: 'pluginpal',
138+
// },
139139

140140
prism: {
141141
theme: prismThemes.github,

docs/src/scss/navbar.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $selector-color-mode-toggle-wrapper: 'div[class*="ColorModeToggle"]';
2222
--custom-navbar-icon-button-hover-background: var(--strapi-neutral-100);
2323
--custom-navbar-items-font-size: var(--strapi-font-size-sm);
2424
--custom-navbar-items-gap: var(--strapi-spacing-3);
25-
--custom-navbar-logo-img-width: 150px;
25+
--custom-navbar-logo-img-width: 40px;
2626
--custom-navbar-toggle-mr: var(--strapi-spacing-1);
2727
--custom-navbar-transition: all 0.2s ease;
2828

@@ -38,19 +38,24 @@ $selector-color-mode-toggle-wrapper: 'div[class*="ColorModeToggle"]';
3838
&__brand,
3939
&__logo {
4040
height: auto;
41-
line-height: 0;
41+
display: flex;
4242
}
4343

4444
&__brand {
4545
margin-right: var(--custom-navbar-brand-mr);
46+
font-size: large;
47+
48+
@include small-up {
49+
font-size: x-large;
50+
}
4651
}
4752

4853
&__toggle {
4954
margin-right: var(--custom-navbar-toggle-mr);
5055
}
5156

5257
&__logo {
53-
margin-right: 0;
58+
margin-right: var(--custom-navbar-items-gap);
5459

5560
img {
5661
height: var(--custom-navbar-logo-img-height);

docs/static/img/logo.png

-4.86 KB
Loading

0 commit comments

Comments
 (0)