From e7115467657cd498ba0fbaa5ab6019573ec95cfd Mon Sep 17 00:00:00 2001 From: KaradzaJuraj Date: Tue, 27 Feb 2024 11:52:39 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=8B=20show=20all=20blogs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/docusaurus.config.js | 127 ++++++++++++++++++++------------------- 1 file changed, 64 insertions(+), 63 deletions(-) diff --git a/web/docusaurus.config.js b/web/docusaurus.config.js index 0c16ad9a..e5a360f3 100644 --- a/web/docusaurus.config.js +++ b/web/docusaurus.config.js @@ -3,49 +3,50 @@ /** @type {import('@docusaurus/types').Config} */ const config = { - title: 'Cyclops', - tagline: 'Dev friendly Kubernetes', - favicon: 'img/logo.png', + title: "Cyclops", + tagline: "Dev friendly Kubernetes", + favicon: "img/logo.png", // Set the production url of your site here - url: 'https://cyclops-ui.github.io', + url: "https://cyclops-ui.github.io", // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' - baseUrl: '/', + baseUrl: "/", // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. - organizationName: 'cyclops-ui', // Usually your GitHub org/user name. - projectName: 'cyclops-ui.github.io', // Usually your repo name. + organizationName: "cyclops-ui", // Usually your GitHub org/user name. + projectName: "cyclops-ui.github.io", // Usually your repo name. - onBrokenLinks: 'ignore', - onBrokenMarkdownLinks: 'warn', + onBrokenLinks: "ignore", + onBrokenMarkdownLinks: "warn", // Even if you don't use internalization, you can use this field to set useful // metadata like html lang. For example, if your site is Chinese, you may want // to replace "en" with "zh-Hans". i18n: { - defaultLocale: 'en', - locales: ['en'], + defaultLocale: "en", + locales: ["en"], }, presets: [ [ - '@docusaurus/preset-classic', + "@docusaurus/preset-classic", /** @type {import('@docusaurus/preset-classic').Options} */ ({ docs: { - sidebarPath: require.resolve('./sidebars.js'), + sidebarPath: require.resolve("./sidebars.js"), }, gtag: { - trackingID: 'G-MNT2DFSGCM', + trackingID: "G-MNT2DFSGCM", anonymizeIP: true, }, blog: { showReadingTime: true, + blogSidebarCount: "ALL", }, theme: { - customCss: require.resolve('./src/css/custom.css'), + customCss: require.resolve("./src/css/custom.css"), }, }), ], @@ -55,38 +56,38 @@ const config = { /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ // Replace with your project's social card - image: 'img/which-would-you-prefer.png', + image: "img/which-would-you-prefer.png", announcementBar: { - backgroundColor: '#68b6ac', - textColor: '#ffffff', + backgroundColor: "#68b6ac", + textColor: "#ffffff", isCloseable: false, content: - '🔔 We are launching our first release on Product Hunt - show us your support 🔔' + '🔔 We are launching our first release on Product Hunt - show us your support 🔔', }, navbar: { - title: 'Cyclops', + title: "Cyclops", logo: { - alt: 'Cyclops logo', - src: 'img/logo.png', + alt: "Cyclops logo", + src: "img/logo.png", }, items: [ { - type: 'docSidebar', - sidebarId: 'tutorialSidebar', - position: 'left', - label: 'Docs', + type: "docSidebar", + sidebarId: "tutorialSidebar", + position: "left", + label: "Docs", }, - {to: 'blog', label: 'Blog', position: 'left'}, + { to: "blog", label: "Blog", position: "left" }, { - href: 'https://www.linkedin.com/company/cyclops-ui', - position: 'right', - className: 'header-linkedin-link', + href: "https://www.linkedin.com/company/cyclops-ui", + position: "right", + className: "header-linkedin-link", }, { - href: 'https://github.com/cyclops-ui/cyclops', - position: 'right', - className: 'header-github-link', + href: "https://github.com/cyclops-ui/cyclops", + position: "right", + className: "header-github-link", }, { href: "https://discord.com/invite/8ErnK3qDb3", @@ -96,71 +97,71 @@ const config = { ], }, footer: { - style: 'dark', + style: "dark", links: [ { - title: 'Docs', + title: "Docs", items: [ { - label: 'About', - to: '/docs/about', + label: "About", + to: "/docs/about", }, { - label: 'Installation', - to: '/docs/installation/prerequisites', + label: "Installation", + to: "/docs/installation/prerequisites", }, ], }, { - title: 'Community', + title: "Community", items: [ { - label: 'Discord', - href: 'https://discord.com/invite/8ErnK3qDb3', + label: "Discord", + href: "https://discord.com/invite/8ErnK3qDb3", }, { - label: 'DEV Community', - href: 'https://dev.to/cyclops-ui' + label: "DEV Community", + href: "https://dev.to/cyclops-ui", }, { - label: 'Product Hunt', - href: 'https://www.producthunt.com/products/cyclops' - } + label: "Product Hunt", + href: "https://www.producthunt.com/products/cyclops", + }, ], }, { - title: 'More', + title: "More", items: [ { - label: 'GitHub', - href: 'https://github.com/cyclops-ui/cyclops', + label: "GitHub", + href: "https://github.com/cyclops-ui/cyclops", }, { - label: 'Schedule a demo', - href: 'https://docs.google.com/forms/d/e/1FAIpQLSfm9sSsmqJYsofteSrGigWMW9eOgSjoinHwjsvtjX6wOcAv9w/viewform', + label: "Schedule a demo", + href: "https://docs.google.com/forms/d/e/1FAIpQLSfm9sSsmqJYsofteSrGigWMW9eOgSjoinHwjsvtjX6wOcAv9w/viewform", }, { - label: 'Leave your feedback', - href: 'https://forms.gle/jrwcBHRtpwmK91v47' - } + label: "Leave your feedback", + href: "https://forms.gle/jrwcBHRtpwmK91v47", + }, ], }, { - title: 'Contact', + title: "Contact", items: [ { - label: 'LinkedIn', - href: 'https://www.linkedin.com/company/cyclops-ui/', + label: "LinkedIn", + href: "https://www.linkedin.com/company/cyclops-ui/", }, { - html: 'info@cyclops-ui.com', - } - ] - } + html: "info@cyclops-ui.com", + }, + ], + }, ], }, colorMode: { - defaultMode: 'light', + defaultMode: "light", disableSwitch: true, }, }), From 4fd14b303443f7c0ff74c09cf620bf92b8808a5c Mon Sep 17 00:00:00 2001 From: KaradzaJuraj Date: Thu, 29 Feb 2024 17:39:20 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9B=B3=20change=20banner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/docusaurus.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/docusaurus.config.js b/web/docusaurus.config.js index e5a360f3..90f18ea5 100644 --- a/web/docusaurus.config.js +++ b/web/docusaurus.config.js @@ -58,12 +58,12 @@ const config = { // Replace with your project's social card image: "img/which-would-you-prefer.png", announcementBar: { - backgroundColor: "#68b6ac", + backgroundColor: "#222222", textColor: "#ffffff", isCloseable: false, content: - '🔔 We are launching our first release on Product Hunt - show us your support 🔔', + '⭐ We are open-source on GitHub - show us your support by giving us a star ⭐', }, navbar: { title: "Cyclops",