Skip to content

Commit

Permalink
Added icons to feature template
Browse files Browse the repository at this point in the history
  • Loading branch information
whiai committed Aug 31, 2023
1 parent 2c1dffb commit aae1961
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/FeatureFeatures.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export function FeatureFeatures({features}) {
<div key={index} className="w-full flex flex-col md:flex-row md:space-x-6 md:items-center">
<div className="flex-1 p-4">
<div className="p-8 max-w-md mx-auto">
<h2 className="text-3xl font-display mb-2 leading-tight mb-4"><Icon as={feature.icon} /></h2>
<h2 className="text-3xl font-display mb-2 leading-tight mb-4">{feature.title}</h2>
{feature.description && (
<p className="leading-relaxed my-4">{feature.description}</p>
Expand Down
7 changes: 7 additions & 0 deletions src/pages/feature-template.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ import { CallToAction } from "@/components/CallToAction";
import { ChakraProvider } from '@chakra-ui/react'
import SingletonContextProvider from './SingletonContextProvider'

import { BsEye, BsEyeFill, BsFillAlarmFill, BsFillCheckCircleFill } from 'react-icons/bs' // <- NOTE: These icons must also be imported into FeatureFeatures component.
import { GrRun } from 'react-icons/gr'
import { BiGitPullRequest } from 'react-icons/bi'

// import { useEffect } from 'react'

export default function DiscordPage() {
Expand Down Expand Up @@ -55,6 +59,7 @@ export default function DiscordPage() {
[
{
title: "Check data impacts and avoid bad deployments",
icon: BsEyeFill,
description: null,
points: [
"See the data impact of every code change",
Expand All @@ -65,6 +70,7 @@ export default function DiscordPage() {
},
{
title: "Identify and fix unexpected data issues quickly",
icon: GrRun,
description: null,
points: [
"Spot any unexpected data discrepancies instantly in Impact Summaries",
Expand All @@ -75,6 +81,7 @@ export default function DiscordPage() {
},
{
title: "Seamless integration with Pull Requests",
icon: BiGitPullRequest,
description: null,
points: [
"Embeds into Pull Requests for effortless code reviews and CI/CD",
Expand Down

0 comments on commit aae1961

Please sign in to comment.