1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-16 20:05:31 -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

@@ -1,9 +1,6 @@
import dynamic from "next/dynamic";
import Link from "next/link";
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 { HomeIcon, NotesIcon, ProjectsIcon, ContactIcon } from "../icons";
import styles from "./Menu.module.scss";

View File

@@ -1,7 +1,6 @@
import { useState, useEffect, useCallback } from "react";
import * as config from "../../lib/config";
import BulbOffIcon from "../icons/svg/bulb-off.svg";
import BulbOnIcon from "../icons/svg/bulb-on.svg";
import { BulbOffIcon, BulbOnIcon } from "../icons";
import styles from "./ThemeToggle.module.scss";