mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 12:58:28 -04:00
icons weren't being tree-shaken
This commit is contained in:
parent
e8bbcb1eb1
commit
b5d039b9d6
@ -1,7 +1,7 @@
|
||||
import { useState } from "react";
|
||||
import HCaptcha from "@hcaptcha/react-hcaptcha";
|
||||
import { CheckIcon, XIcon } from "@primer/octicons-react";
|
||||
import { SendIcon } from "../icons";
|
||||
import SendIcon from "../icons/svg/send.svg";
|
||||
|
||||
import styles from "./ContactForm.module.scss";
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
import Link from "./ColorLink";
|
||||
import { WaveIcon, LockIcon } from "../icons";
|
||||
import WaveIcon from "../icons/svg/wave.svg";
|
||||
import LockIcon from "../icons/svg/lock.svg";
|
||||
|
||||
import styles from "./Home.module.scss";
|
||||
|
||||
|
@ -1,7 +1,10 @@
|
||||
import Link from "next/link";
|
||||
import { format, parseISO } from "date-fns";
|
||||
import Hits from "../hits/Hits";
|
||||
import { DateIcon, TagIcon, EditIcon, ViewsIcon } from "../icons";
|
||||
import DateIcon from "../icons/svg/date.svg";
|
||||
import TagIcon from "../icons/svg/tag.svg";
|
||||
import EditIcon from "../icons/svg/edit.svg";
|
||||
import ViewsIcon from "../icons/svg/views.svg";
|
||||
import * as config from "../../lib/config";
|
||||
|
||||
import styles from "./Meta.module.scss";
|
||||
|
@ -1,5 +1,6 @@
|
||||
import Link from "next/link";
|
||||
import { HeartIcon, NextjsIcon } from "../icons";
|
||||
import HeartIcon from "../icons/svg/heart.svg";
|
||||
import NextjsIcon from "../icons/svg/nextjs.svg";
|
||||
import * as config from "../../lib/config";
|
||||
|
||||
import styles from "./Footer.module.scss";
|
||||
|
@ -1,6 +1,9 @@
|
||||
import dynamic from "next/dynamic";
|
||||
import Link from "next/link";
|
||||
import { HomeIcon, NotesIcon, ProjectsIcon, ContactIcon } from "../icons";
|
||||
import HomeIcon from "../icons/svg/home.svg";
|
||||
import NotesIcon from "../icons/svg/notes.svg";
|
||||
import ProjectsIcon from "../icons/svg/projects.svg";
|
||||
import ContactIcon from "../icons/svg/contact.svg";
|
||||
|
||||
import styles from "./Menu.module.scss";
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { useState, useEffect, useCallback } from "react";
|
||||
import { BulbOffIcon, BulbOnIcon } from "../icons";
|
||||
import BulbOffIcon from "../icons/svg/bulb-off.svg";
|
||||
import BulbOnIcon from "../icons/svg/bulb-on.svg";
|
||||
|
||||
import styles from "./ThemeToggle.module.scss";
|
||||
|
||||
|
@ -3,7 +3,7 @@ import Container from "../components/Container";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/page/PageTitle";
|
||||
import Video from "../components/video/FullPageVideo";
|
||||
import { TapeIcon } from "../components/icons";
|
||||
import TapeIcon from "../components/icons/svg/tape.svg";
|
||||
|
||||
import thumbnail from "../public/static/images/birthday/thumb.png";
|
||||
|
||||
|
@ -3,7 +3,7 @@ import Layout from "../components/Layout";
|
||||
import Container from "../components/Container";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/page/PageTitle";
|
||||
import { BotIcon } from "../components/icons";
|
||||
import BotIcon from "../components/icons/svg/tape.svg";
|
||||
|
||||
import cliImg from "../public/static/images/cli/screenshot.png";
|
||||
|
||||
|
@ -2,7 +2,8 @@ import Layout from "../components/Layout";
|
||||
import Container from "../components/Container";
|
||||
import PageTitle from "../components/page/PageTitle";
|
||||
import ContactForm from "../components/contact/ContactForm";
|
||||
import { MailIcon, LockIcon } from "../components/icons";
|
||||
import MailIcon from "../components/icons/svg/mail.svg";
|
||||
import LockIcon from "../components/icons/svg/lock.svg";
|
||||
|
||||
export default function Contact() {
|
||||
return (
|
||||
|
@ -2,7 +2,7 @@ import Layout from "../components/Layout";
|
||||
import Container from "../components/Container";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/page/PageTitle";
|
||||
import { LicenseIcon } from "../components/icons";
|
||||
import LicenseIcon from "../components/icons/svg/license.svg";
|
||||
|
||||
export default function License() {
|
||||
return (
|
||||
|
@ -5,7 +5,8 @@ import Layout from "../components/Layout";
|
||||
import Container from "../components/Container";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/page/PageTitle";
|
||||
import { FloppyIcon, SirenIcon } from "../components/icons";
|
||||
import FloppyIcon from "../components/icons/svg/floppy.svg";
|
||||
import SirenIcon from "../components/icons/svg/siren.svg";
|
||||
|
||||
import img_wayback from "../public/static/images/previously/wayback.png";
|
||||
import img_2002_02 from "../public/static/images/previously/2002_02.png";
|
||||
|
@ -4,7 +4,7 @@ import Layout from "../components/Layout";
|
||||
import Container from "../components/Container";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/page/PageTitle";
|
||||
import { PrivacyIcon } from "../components/icons";
|
||||
import PrivacyIcon from "../components/icons/svg/privacy.svg";
|
||||
|
||||
import faunaImg from "../public/static/images/privacy/fauna_hits.png";
|
||||
|
||||
|
@ -3,7 +3,7 @@ import Layout from "../components/Layout";
|
||||
import Container from "../components/Container";
|
||||
import PageTitle from "../components/page/PageTitle";
|
||||
import RepoCard from "../components/projects/RepoCard";
|
||||
import { ProjectsIcon } from "../components/icons";
|
||||
import ProjectsIcon from "../components/icons/svg/projects.svg";
|
||||
import type { GetStaticProps } from "next";
|
||||
|
||||
export default function Projects({ repos }) {
|
||||
|
@ -4,7 +4,7 @@ import Layout from "../components/Layout";
|
||||
import Container from "../components/Container";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/page/PageTitle";
|
||||
import { LaptopIcon } from "../components/icons";
|
||||
import LaptopIcon from "../components/icons/svg/laptop.svg";
|
||||
|
||||
import desktopImg from "../public/static/images/uses/bigsur.png";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user