import { getDiscordMembers } from "@/lib/get-discord-members"
import { getGithubStars } from "@/lib/get-github-stars"
import { getNpmDownloads } from "@/lib/get-npm-downloads"
import {
Box,
Container,
Flex,
Heading,
Icon,
Span,
Stack,
Text,
} from "@chakra-ui/react"
import { BsGithub } from "react-icons/bs"
import { FaDiscord } from "react-icons/fa"
import { IconType } from "react-icons/lib"
import { RiNpmjsFill } from "react-icons/ri"
import { Blob } from "./blob"
import { BlitzIcon } from "./icons"
import { HighlightHeading } from "./typography"
const BlitzIconSection = () => (
)
interface StatBoxProps {
icon: IconType
title: string
description: string
}
const StatsBox = (props: StatBoxProps) => {
const { icon: StatIcon, title, description } = props
return (
{description}
{title}
)
}
const KeyStats = async () => {
const [
{ prettyCount: githubStars },
{ prettyCount: npmDownloads },
{ prettyCount: discordMembers },
] = await Promise.all([
getGithubStars(),
getNpmDownloads(),
getDiscordMembers(),
])
return (
)
}
export const StatSection = async () => {
return (
Built for developers By developers
Built for modern product teams.
From next-gen startups to established enterprises.
)
}