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:
@@ -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";
|
||||
|
||||
|
@@ -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";
|
||||
|
||||
|
Reference in New Issue
Block a user