Skip to content

Commit 7cfe98d

Browse files
committed
feat: replaced use of emojis with react svg icons && bump package version in toml to 0.1.38
Signed-off-by: rafaeljohn9 <[email protected]>
1 parent 9d208df commit 7cfe98d

File tree

5 files changed

+24
-12
lines changed

5 files changed

+24
-12
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "gh-templates"
4-
version = "0.1.37"
4+
version = "0.1.38"
55
edition = "2021"
66
authors = ["John Kagunda [email protected]"]
77
description = "A template project for GitHub-related utilities."

docs/package-lock.json

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"postcss": "^8.5.6",
2525
"prism-react-renderer": "^2.3.0",
2626
"react": "^19.0.0",
27-
"react-dom": "^19.0.0"
27+
"react-dom": "^19.0.0",
28+
"react-icons": "^5.5.0"
2829
},
2930
"devDependencies": {
3031
"@docusaurus/module-type-aliases": "3.8.1",

docs/src/pages/index.tsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import React, { useState, useEffect } from 'react';
33
import clsx from 'clsx';
44
import styles from './index.module.css';
5+
import { FaBolt, FaBullseye, FaWrench, FaChartBar, FaSyncAlt, FaPuzzlePiece } from 'react-icons/fa';
56

67
export default function Home() {
78
// Hardcode colorMode to 'dark' as light mode is no longer supported
@@ -41,37 +42,37 @@ export default function Home() {
4142

4243
const features = [
4344
{
44-
emoji: '⚡',
45+
icon: <FaBolt />,
4546
title: 'Lightning Fast',
4647
description: 'Generate professional GitHub templates in seconds, not minutes. Built with Rust for maximum performance.',
4748
highlight: 'Rust-powered'
4849
},
4950
{
50-
emoji: '🎯',
51+
icon: <FaBullseye />,
5152
title: 'Smart Templates',
5253
description: 'AI-curated templates that follow GitHub best practices and community standards.',
5354
highlight: 'Best Practices'
5455
},
5556
{
56-
emoji: '🔧',
57+
icon: <FaWrench />,
5758
title: 'Fully Customizable',
5859
description: 'Tailor every template to your project needs with powerful customization options.',
5960
highlight: 'Your Way'
6061
},
6162
{
62-
emoji: '📊',
63+
icon: <FaChartBar />,
6364
title: 'Preview Mode',
6465
description: 'See exactly what your templates will look like before committing to your repository. With syntax highlighting and formatting.',
6566
highlight: 'Zero Surprises'
6667
},
6768
{
68-
emoji: '🔄',
69+
icon: <FaSyncAlt />,
6970
title: 'Version Sync',
7071
description: 'Keep your templates up-to-date with the latest GitHub features and community trends.',
7172
highlight: 'Always Current'
7273
},
7374
{
74-
emoji: '🧩',
75+
icon: <FaPuzzlePiece />,
7576
title: 'Custom Sources & Groups',
7677
description: "Add, organize, and apply templates from custom sources and groups for ultimate flexibility.",
7778
highlight: 'Customizable Sources & Groups (coming soon)'
@@ -244,8 +245,8 @@ export default function Home() {
244245
key={index}
245246
className={clsx(styles.featureCard, isDark && styles.featureCardDark)}
246247
>
247-
<div className={styles.featureEmoji}>
248-
{feature.emoji}
248+
<div className={styles.featureIcon}>
249+
{feature.icon}
249250
</div>
250251
<h3 className={clsx(styles.featureTitle, isDark && styles.featureTitleDark)}>
251252
{feature.title}

0 commit comments

Comments
 (0)