more directory structure inside app

This commit is contained in:
Emi Matchu 2020-07-20 21:41:26 -07:00
parent 419a270df9
commit 1cc7b3cbe1
12 changed files with 12 additions and 12 deletions

View file

@ -9,7 +9,7 @@ import { Heading1, usePageTitle } from "./util";
import HomepageSplashImg from "../images/homepage-splash.png"; import HomepageSplashImg from "../images/homepage-splash.png";
import HomepageSplashImg2x from "../images/homepage-splash@2x.png"; import HomepageSplashImg2x from "../images/homepage-splash@2x.png";
import SpeciesColorPicker from "./SpeciesColorPicker"; import SpeciesColorPicker from "./components/SpeciesColorPicker";
function HomePage() { function HomePage() {
usePageTitle("Dress to Impress"); usePageTitle("Dress to Impress");

View file

@ -11,7 +11,7 @@ import {
} from "@chakra-ui/core"; } from "@chakra-ui/core";
import { DeleteIcon, InfoIcon } from "@chakra-ui/icons"; import { DeleteIcon, InfoIcon } from "@chakra-ui/icons";
import { safeImageUrl } from "./util"; import { safeImageUrl } from "../util";
/** /**
* Item show a basic summary of an item, in the context of the current outfit! * Item show a basic summary of an item, in the context of the current outfit!

View file

@ -13,7 +13,7 @@ import {
import { EditIcon } from "@chakra-ui/icons"; import { EditIcon } from "@chakra-ui/icons";
import { CSSTransition, TransitionGroup } from "react-transition-group"; import { CSSTransition, TransitionGroup } from "react-transition-group";
import { Delay, Heading1, Heading2 } from "./util"; import { Delay, Heading1, Heading2 } from "../util";
import { Item, ItemListContainer, ItemListSkeleton } from "./Item"; import { Item, ItemListContainer, ItemListSkeleton } from "./Item";
/** /**

View file

@ -17,7 +17,7 @@ import {
} from "@chakra-ui/icons"; } from "@chakra-ui/icons";
import PosePicker from "./PosePicker"; import PosePicker from "./PosePicker";
import SpeciesColorPicker from "./SpeciesColorPicker"; import SpeciesColorPicker from "../components/SpeciesColorPicker";
import useOutfitAppearance from "./useOutfitAppearance"; import useOutfitAppearance from "./useOutfitAppearance";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";

View file

@ -17,11 +17,11 @@ import {
import { getVisibleLayers, petAppearanceFragment } from "./useOutfitAppearance"; import { getVisibleLayers, petAppearanceFragment } from "./useOutfitAppearance";
// From https://twemoji.twitter.com/, thank you! // From https://twemoji.twitter.com/, thank you!
import twemojiSmile from "../images/twemoji/smile.svg"; import twemojiSmile from "../../images/twemoji/smile.svg";
import twemojiCry from "../images/twemoji/cry.svg"; import twemojiCry from "../../images/twemoji/cry.svg";
import twemojiSick from "../images/twemoji/sick.svg"; import twemojiSick from "../../images/twemoji/sick.svg";
import twemojiMasc from "../images/twemoji/masc.svg"; import twemojiMasc from "../../images/twemoji/masc.svg";
import twemojiFem from "../images/twemoji/fem.svg"; import twemojiFem from "../../images/twemoji/fem.svg";
import { OutfitLayers } from "./OutfitPreview"; import { OutfitLayers } from "./OutfitPreview";
function PosePicker({ function PosePicker({

View file

@ -3,7 +3,7 @@ import gql from "graphql-tag";
import { Box, Text, VisuallyHidden } from "@chakra-ui/core"; import { Box, Text, VisuallyHidden } from "@chakra-ui/core";
import { useQuery } from "@apollo/react-hooks"; import { useQuery } from "@apollo/react-hooks";
import { Delay, Heading1, useDebounce } from "./util"; import { Delay, Heading1, useDebounce } from "../util";
import { Item, ItemListContainer, ItemListSkeleton } from "./Item"; import { Item, ItemListContainer, ItemListSkeleton } from "./Item";
import { itemAppearanceFragment } from "./useOutfitAppearance"; import { itemAppearanceFragment } from "./useOutfitAppearance";

View file

@ -5,7 +5,7 @@ import loadable from "@loadable/component";
import ItemsAndSearchPanels from "./ItemsAndSearchPanels"; import ItemsAndSearchPanels from "./ItemsAndSearchPanels";
import OutfitPreview from "./OutfitPreview"; import OutfitPreview from "./OutfitPreview";
import useOutfitState from "./useOutfitState.js"; import useOutfitState from "./useOutfitState.js";
import { usePageTitle } from "./util"; import { usePageTitle } from "../util";
const OutfitControls = loadable(() => const OutfitControls = loadable(() =>
import(/* webpackPreload: true */ "./OutfitControls") import(/* webpackPreload: true */ "./OutfitControls")

View file

@ -3,7 +3,7 @@ import gql from "graphql-tag";
import { useQuery } from "@apollo/react-hooks"; import { useQuery } from "@apollo/react-hooks";
import { Box, Flex, Select, Text } from "@chakra-ui/core"; import { Box, Flex, Select, Text } from "@chakra-ui/core";
import { Delay, useFetch } from "./util"; import { Delay, useFetch } from "../util";
/** /**
* SpeciesColorPicker lets the user pick the species/color of their pet. * SpeciesColorPicker lets the user pick the species/color of their pet.