import { downloads as npmDownloads } from '@nodesecure/npm-registry-sdk'; import type { NextPage } from 'next'; import styled from 'styled-components'; import { AvailableFor } from '../components/AvailableFor'; import { LargeButton } from '../components/Button'; import { REPO, SUPPORT_LINK } from '../lib/constants'; import { Explore } from '../components/Explore'; import { Footer } from '../components/Footer'; import { Header } from '../components/Header'; import { HeaderBackground } from '../components/HeaderBackground'; import { Icon } from '../components/IconList'; import { Layout } from '../components/Layout'; import { media } from '../lib/responsive'; import { SEO } from '../components/SEO'; import { Stat, StatsContainer } from '../components/Stats'; import { Text18, Text15 } from '../components/Typography'; import { getHeaderProps } from '../lib/getHeaderProps'; import { getAllIcons } from '../lib/getIcons'; import { octokit } from '../lib/octokit'; interface HomeProps { allIcons: Icon[]; currentVersion: string; numStars: number; numDownloads: number; } const Home: NextPage = ({ allIcons, currentVersion, numStars, numDownloads, }) => { return ( <>
Say hello to your new free icon library. A high-quality selection of free icons. Your new alternative to Noun Project, Flaticon, and all Figma resources. Available in SVG, Font, React, React Native, Flutter, Figma and Framer. Donate Join our supporters and help us continue developing Iconoir.