1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 13:26:39 -04:00

octicons weren't being tree-shaken -- import SVGs manually for now

This commit is contained in:
2022-01-01 18:14:04 -05:00
parent c47f5f917d
commit ddb48ef2ab
28 changed files with 67 additions and 87 deletions

View File

@ -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/svg/tape.svg";
import { TapeIcon } from "../components/icons";
import thumbnail from "../public/static/images/birthday/thumb.png";

View File

@ -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/svg/tape.svg";
import { BotIcon } from "../components/icons";
import cliImg from "../public/static/images/cli/screenshot.png";

View File

@ -2,8 +2,7 @@ import Layout from "../components/Layout";
import Container from "../components/Container";
import PageTitle from "../components/page/PageTitle";
import ContactForm from "../components/contact/ContactForm";
import MailIcon from "../components/icons/svg/mail.svg";
import LockIcon from "../components/icons/svg/lock.svg";
import { MailIcon, LockIcon } from "../components/icons";
export default function Contact() {
return (

View File

@ -3,8 +3,7 @@ import hexRgb from "hex-rgb";
import isAbsoluteUrl from "is-absolute-url";
import Layout from "../components/Layout";
import Container from "../components/Container";
import WaveIcon from "../components/icons/svg/wave.svg";
import LockIcon from "../components/icons/svg/lock.svg";
import { WaveIcon, LockIcon } from "../components/icons";
type ColorLinkProps = {
children: unknown;

View File

@ -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/svg/license.svg";
import { LicenseIcon } from "../components/icons";
export default function License() {
return (

View File

@ -5,8 +5,7 @@ import Layout from "../components/Layout";
import Container from "../components/Container";
import Content from "../components/Content";
import PageTitle from "../components/page/PageTitle";
import FloppyIcon from "../components/icons/svg/floppy.svg";
import SirenIcon from "../components/icons/svg/siren.svg";
import { FloppyIcon, SirenIcon } from "../components/icons";
import img_wayback from "../public/static/images/previously/wayback.png";
import img_2002_02 from "../public/static/images/previously/2002_02.png";

View File

@ -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/svg/privacy.svg";
import { PrivacyIcon } from "../components/icons";
import faunaImg from "../public/static/images/privacy/fauna_hits.png";

View File

@ -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/svg/projects.svg";
import { ProjectsIcon } from "../components/icons";
import type { GetStaticProps } from "next";
export default function Projects({ repos }) {

View File

@ -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/svg/laptop.svg";
import { LaptopIcon } from "../components/icons";
import desktopImg from "../public/static/images/uses/bigsur.png";