Skip to content

Commit f2057a5

Browse files
committed
feat: webtools branding for docs
1 parent 97caffe commit f2057a5

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

packages/docs/docusaurus.config.ts

Lines changed: 10 additions & 10 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 Webtools',
7+
tagline: "Documentation for the webtools plugin for Strapi",
88
favicon: 'img/favicon.jpg',
99

1010
plugins: [
@@ -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 Webtools',
9090
logo: {
91-
alt: 'PluginPal logo',
91+
alt: 'Webtools logo',
9292
src: 'img/logo.png',
9393
},
9494
items: [
9595
{
96-
href: 'https://github.com/pluginpal',
96+
href: 'https://github.com/pluginpal/strapi-webtools',
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,

packages/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);

packages/docs/static/img/logo.png

6.19 KB
Loading

0 commit comments

Comments
 (0)