Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Doc: Add getting started link to menu and fix logo size

Jonathan ARNAULT39da7bbe821b
diff --git a/doc/astro.config.mjs b/doc/astro.config.mjs
index b969323f..1ec5e7e3 100644
--- a/doc/astro.config.mjs
+++ b/doc/astro.config.mjs
@@ -78,11 +78,15 @@ export default defineConfig({
],
sidebar: [
{
- label: "Users",
+ label: "Getting Started",
+ link: "/",
+ },
+ {
+ label: "Users Documentation",
autogenerate: { directory: "users" },
},
{
- label: "Developers",
+ label: "Developers Documentation",
autogenerate: { directory: "developers" },
},
],
diff --git a/doc/src/content/docs/index.mdx b/doc/src/content/docs/index.mdx
index bb1ac25f..f277c4ee 100644
--- a/doc/src/content/docs/index.mdx
+++ b/doc/src/content/docs/index.mdx
@@ -1,5 +1,5 @@
---
-title: Welcome to Atomic CRM
+title: Getting Started
description: Atomic CRM is designed to be easy to customize and extend by developers with basic React and SQL skills.
---
diff --git a/doc/src/styles/global.css b/doc/src/styles/global.css
index b22784bf..7cc4b65d 100644
--- a/doc/src/styles/global.css
+++ b/doc/src/styles/global.css
@@ -34,6 +34,10 @@
color: var(--color-black);
}
+.title-wrapper img {
+ @apply size-8;
+}
+
img.icon {
display: inline;
box-shadow: none;
diff --git a/makefile b/makefile
index cc65d891..8d70d0ca 100644
--- a/makefile
+++ b/makefile
@@ -84,4 +84,4 @@ doc-preview: doc-build
@(cd doc && npm run preview)
doc-deploy:
- @(cd doc && npx gh-pages -d dist -e doc -b gh-pages -m "Deploy docs" -a)
+ @(cd doc && npx gh-pages -d dist -e doc -b gh-pages -m "Deploy docs" --remove doc)