Skip to content

Commit 2f96dbb

Browse files
docs: replace documentation icon and primary color (#4582)
* Updated primary color to be pink * Updated primary color and header logo * Updated favico * Updated icon on Mendable search for docs * Yarn.lock update --------- Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]>
1 parent 5e69628 commit 2f96dbb

File tree

7 files changed

+552
-1978
lines changed

7 files changed

+552
-1978
lines changed

docs/css/custom.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66
:root {
77
--ifm-background-color: var(--token-primary-bg-c);
8+
--ifm-color-primary: hsla(330, 81%, 60%, 1);
89
--ifm-navbar-link-hover-color: initial;
910
--ifm-navbar-padding-vertical: 0;
1011
--ifm-navbar-item-padding-vertical: 0;

docs/docusaurus.config.js

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const { remarkCodeHike } = require("@code-hike/mdx");
88
/** @type {import('@docusaurus/types').Config} */
99
const config = {
1010
title: "Langflow Documentation",
11-
tagline: "Langflow is a low-code app builder for RAG and multi-agent AI applications.",
11+
tagline:
12+
"Langflow is a low-code app builder for RAG and multi-agent AI applications.",
1213
favicon: "img/favicon.ico",
1314
url: "https://docs.langflow.org",
1415
baseUrl: "/",
@@ -49,7 +50,7 @@ const config = {
4950
sitemap: {
5051
// https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-sitemap
5152
// https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap
52-
lastmod: 'datetime',
53+
lastmod: "datetime",
5354
changefreq: null,
5455
priority: null,
5556
},
@@ -79,28 +80,36 @@ const config = {
7980
["docusaurus-node-polyfills", { excludeAliases: ["console"] }],
8081
"docusaurus-plugin-image-zoom",
8182
[
82-
'@docusaurus/plugin-client-redirects',
83+
"@docusaurus/plugin-client-redirects",
8384
{
8485
redirects: [
8586
{
86-
to: '/',
87-
from: ['/whats-new-a-new-chapter-langflow', '/👋 Welcome-to-Langflow'],
87+
to: "/",
88+
from: [
89+
"/whats-new-a-new-chapter-langflow",
90+
"/👋 Welcome-to-Langflow",
91+
],
8892
},
8993
{
90-
to: '/getting-started-installation',
91-
from: '/getting-started-common-installation-issues',
94+
to: "/getting-started-installation",
95+
from: "/getting-started-common-installation-issues",
9296
},
9397
{
94-
to: '/workspace-overview',
95-
from: ['/365085a8-a90a-43f9-a779-f8769ec7eca1', '/My-Collection', '/workspace', '/settings-project-general-settings'],
98+
to: "/workspace-overview",
99+
from: [
100+
"/365085a8-a90a-43f9-a779-f8769ec7eca1",
101+
"/My-Collection",
102+
"/workspace",
103+
"/settings-project-general-settings",
104+
],
96105
},
97106
{
98-
to: '/components-overview',
99-
from: '/components',
107+
to: "/components-overview",
108+
from: "/components",
100109
},
101110
{
102-
to: '/configuration-global-variables',
103-
from: '/settings-global-variables',
111+
to: "/configuration-global-variables",
112+
from: "/settings-global-variables",
104113
},
105114
// add more redirects like this
106115
// {
@@ -128,10 +137,10 @@ const config = {
128137
({
129138
navbar: {
130139
hideOnScroll: true,
131-
title: "Langflow",
132140
logo: {
133141
alt: "Langflow",
134-
src: "/img/logo.svg",
142+
src: "img/langflow-logo-black.svg",
143+
srcDark: "img/langflow-logo-white.svg",
135144
},
136145
items: [
137146
// right

docs/src/theme/Footer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ export default function FooterWrapper(props) {
77
const iconSpan1 = React.createElement(
88
"img",
99
{
10-
src: "/img/logo.svg",
10+
src: "/img/langflow-icon-black-transparent.svg",
11+
srcDark: "",
1112
style: { width: "40px" },
1213
},
1314
null
Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)