Skip to content

Commit aae1961

Browse files
committed
Added icons to feature template
1 parent 2c1dffb commit aae1961

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/components/FeatureFeatures.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export function FeatureFeatures({features}) {
5656
<div key={index} className="w-full flex flex-col md:flex-row md:space-x-6 md:items-center">
5757
<div className="flex-1 p-4">
5858
<div className="p-8 max-w-md mx-auto">
59+
<h2 className="text-3xl font-display mb-2 leading-tight mb-4"><Icon as={feature.icon} /></h2>
5960
<h2 className="text-3xl font-display mb-2 leading-tight mb-4">{feature.title}</h2>
6061
{feature.description && (
6162
<p className="leading-relaxed my-4">{feature.description}</p>

src/pages/feature-template.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import { CallToAction } from "@/components/CallToAction";
1616
import { ChakraProvider } from '@chakra-ui/react'
1717
import SingletonContextProvider from './SingletonContextProvider'
1818

19+
import { BsEye, BsEyeFill, BsFillAlarmFill, BsFillCheckCircleFill } from 'react-icons/bs' // <- NOTE: These icons must also be imported into FeatureFeatures component.
20+
import { GrRun } from 'react-icons/gr'
21+
import { BiGitPullRequest } from 'react-icons/bi'
22+
1923
// import { useEffect } from 'react'
2024

2125
export default function DiscordPage() {
@@ -55,6 +59,7 @@ export default function DiscordPage() {
5559
[
5660
{
5761
title: "Check data impacts and avoid bad deployments",
62+
icon: BsEyeFill,
5863
description: null,
5964
points: [
6065
"See the data impact of every code change",
@@ -65,6 +70,7 @@ export default function DiscordPage() {
6570
},
6671
{
6772
title: "Identify and fix unexpected data issues quickly",
73+
icon: GrRun,
6874
description: null,
6975
points: [
7076
"Spot any unexpected data discrepancies instantly in Impact Summaries",
@@ -75,6 +81,7 @@ export default function DiscordPage() {
7581
},
7682
{
7783
title: "Seamless integration with Pull Requests",
84+
icon: BiGitPullRequest,
7885
description: null,
7986
points: [
8087
"Embeds into Pull Requests for effortless code reviews and CI/CD",

0 commit comments

Comments
 (0)