From 2f9375e8b7654057acefbc0aefaa3d81b9b6d412 Mon Sep 17 00:00:00 2001 From: Pawel Kosiec Date: Fri, 27 Sep 2024 12:38:00 +0200 Subject: [PATCH] Replace emojis with Remix icons --- src/pages/index.module.css | 9 ++++++++- src/pages/index.tsx | 16 ++++++++++++++-- static/images/chat-icon.svg | 1 + static/images/terminal-icon.svg | 1 + 4 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 static/images/chat-icon.svg create mode 100644 static/images/terminal-icon.svg diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 973ad812..ec76b3e8 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -24,10 +24,17 @@ } .list { - padding-left: 2rem; + padding-left: 1rem; } .image { border-radius: 6px; border: 1px solid var(--ifm-color-secondary); } + +.icon { + display: inline-block; + width: 1em; + position: relative; + top: 4px; +} diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 72bc30a0..e45457c5 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -5,6 +5,8 @@ import Layout from "@theme/Layout"; import Heading from "@theme/Heading"; import { CardTutorial } from "@site/src/components/Card/Tutorial"; import styles from "./index.module.css"; +import ChatIcon from "@site/static/images/chat-icon.svg"; +import TerminalIcon from "@site/static/images/terminal-icon.svg"; function HomepageHeader() { const { siteConfig } = useDocusaurusContext(); @@ -34,7 +36,12 @@ export default function Home(): JSX.Element { body={
- 🖥️ Fuse CLI + + + + {" "} + Fuse CLI +
  • Quick Setup: Get up and running in seconds with minimal configuration @@ -68,7 +75,12 @@ export default function Home(): JSX.Element { body={
    - 💬 Chat Platform + + + + {" "} + Chat Platform +
    • Real-Time Collaboration: Receive alerts and troubleshoot with your team in Slack or diff --git a/static/images/chat-icon.svg b/static/images/chat-icon.svg new file mode 100644 index 00000000..2b056b80 --- /dev/null +++ b/static/images/chat-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/images/terminal-icon.svg b/static/images/terminal-icon.svg new file mode 100644 index 00000000..6ff6658c --- /dev/null +++ b/static/images/terminal-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file