diff --git a/STYLE.md b/STYLE.md index 5f425ba9..68b5a2cf 100644 --- a/STYLE.md +++ b/STYLE.md @@ -89,6 +89,7 @@ RUSTFS_VOLUMES="/data" - Plain Markdown pages use `.md`. - Pages that need JSX components (``, ``, ``, etc.) must use the `.mdx` extension. Do not put JSX in `.md` files. - Mermaid diagrams are supported in fenced ```mermaid blocks. +- **Card icons:** when a landing grid (``) uses icons, use a single consistent set of monochrome line icons from `lucide-react` (registered in `press.config.tsx`), one semantically matched icon per card, applied to **every** card in the grid — never a partial set. Do not use emoji-as-icons and do not mix brand logos (e.g. the Docker whale) with abstract icons. Pass them via `} …>`. ## Product Terminology diff --git a/content/index.mdx b/content/index.mdx index e956dbf3..140242e3 100644 --- a/content/index.mdx +++ b/content/index.mdx @@ -8,10 +8,10 @@ RustFS is a high-performance, distributed object storage system written in Rust, ## Try RustFS in 10 minutes - + } title="Quick Start" href="/installation/linux/quick-start"> One command to install, log in to the Console, and store your first object. - + } title="Run with Docker" href="/installation/docker"> A single `docker run` for local evaluation — no server required. @@ -21,13 +21,13 @@ RustFS is a high-performance, distributed object storage system written in Rust, ### Evaluating RustFS? - + } title="What is RustFS?" href="/concepts/introduction"> Positioning, features, and license. - + } title="Architecture & Comparison" href="/concepts/architecture"> How it works and how it measures up against alternatives. - + } title="Usage Limits" href="/concepts/limit"> The boundaries you should know before committing. @@ -35,13 +35,13 @@ RustFS is a high-performance, distributed object storage system written in Rust, ### Deploying and operating? - + } title="Installation Guide" href="/installation/"> Linux (single-node to multi-node), Docker, Kubernetes, Windows, macOS. - + } title="Production Checklists" href="/installation/checklists/hardware-checklists"> Hardware, network, software, and security prep. - + } title="Operations" href="/upgrade-scale/upgrade"> Rolling upgrades, scaling, troubleshooting, and data healing. @@ -49,13 +49,13 @@ RustFS is a high-performance, distributed object storage system written in Rust, ### Building an application? - + } title="SDKs" href="/developer/sdk"> Java, Python, Go, Rust, JavaScript/TypeScript — any S3 client works. - + } title="Tool Examples" href="/developer/examples/mc"> Minimal recipes for mc, AWS CLI, boto3, and rclone. - + } title="Reference" href="/reference/environment-variables"> Environment variables, CLI, ports, limits, and glossary. diff --git a/press.config.tsx b/press.config.tsx index 5f3a2227..aa93b381 100644 --- a/press.config.tsx +++ b/press.config.tsx @@ -9,6 +9,20 @@ import defaultMdxComponents, { createRelativeLink } from "fumadocs-ui/mdx"; import { docs } from "./.source/server"; import { Mermaid } from "./src/components/mermaid"; import { Tab, Tabs } from "./src/components/tabs"; +// Lucide icons registered for use in MDX (e.g. } />). +import { + Rocket, + Container, + BookOpen, + Network, + Gauge, + Server, + ClipboardCheck, + Activity, + Code, + Terminal, + Library, +} from "lucide-react"; const isDev = import.meta.env.DEV; @@ -211,6 +225,18 @@ gtag('config', 'G-TWW7WMTWL9');`, Mermaid, Tab, Tabs, + // Lucide icons for } /> on landing pages. + Rocket, + Container, + BookOpen, + Network, + Gauge, + Server, + ClipboardCheck, + Activity, + Code, + Terminal, + Library, }; }, }),