more directory structure inside app
This commit is contained in:
parent
419a270df9
commit
1cc7b3cbe1
12 changed files with 12 additions and 12 deletions
|
@ -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");
|
||||||
|
|
|
@ -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!
|
|
@ -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";
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -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";
|
||||||
|
|
|
@ -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({
|
|
@ -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";
|
||||||
|
|
|
@ -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")
|
|
@ -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.
|
Loading…
Reference in a new issue