Skip to content

Commit

Permalink
Replace emojis with Remix icons
Browse files Browse the repository at this point in the history
  • Loading branch information
pkosiec committed Sep 27, 2024
1 parent 58a6b31 commit 2f9375e
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
16 changes: 14 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -34,7 +36,12 @@ export default function Home(): JSX.Element {
body={
<div className="row">
<div className="col col--6">
<Heading as="h2">🖥️ Fuse CLI</Heading>
<Heading as="h2">
<span className={styles.icon}>
<TerminalIcon />
</span>{" "}
Fuse CLI
</Heading>
<ul className={styles.list}>
<li>
<b>Quick Setup:</b> Get up and running in seconds with minimal configuration
Expand Down Expand Up @@ -68,7 +75,12 @@ export default function Home(): JSX.Element {
body={
<div className="row">
<div className="col col--6">
<Heading as="h2">💬 Chat Platform</Heading>
<Heading as="h2">
<span className={styles.icon}>
<ChatIcon />
</span>{" "}
Chat Platform
</Heading>
<ul className={styles.list}>
<li>
<b>Real-Time Collaboration:</b> Receive alerts and troubleshoot with your team in Slack or
Expand Down
1 change: 1 addition & 0 deletions static/images/chat-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/images/terminal-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2f9375e

Please sign in to comment.