mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-14 15:16:09 -05:00
move components location
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import AbilityIcon from "components/AbilityIcon";
|
||||
import GearImage from "components/GearImage";
|
||||
import WeaponImage from "components/WeaponImage";
|
||||
import AbilityIcon from "lib/components/AbilityIcon";
|
||||
import GearImage from "lib/components/GearImage";
|
||||
import WeaponImage from "lib/components/WeaponImage";
|
||||
import { abilityMarkdownCodes } from "lib/lists/abilityMarkdownCodes";
|
||||
import { gearMarkdownCodes } from "lib/lists/gearMarkdownCodes";
|
||||
import { weaponMarkdownCodes } from "lib/lists/weaponMarkdownCodes";
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
ListItem,
|
||||
Text,
|
||||
} from "@chakra-ui/core";
|
||||
import Emoji from "components/Emoji";
|
||||
import Emoji from "lib/components/Emoji";
|
||||
import {
|
||||
Table,
|
||||
TableBody,
|
||||
@@ -17,7 +17,7 @@ import {
|
||||
TableHead,
|
||||
TableHeader,
|
||||
TableRow,
|
||||
} from "components/Table";
|
||||
} from "lib/components/Table";
|
||||
import { useMyTheme } from "lib/useMyTheme";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import reactStringReplace from "react-string-replace";
|
||||
@@ -1,10 +1,10 @@
|
||||
import { PrismaClient } from "@prisma/client";
|
||||
import LoadingBoundary from "components/LoadingBoundary";
|
||||
import {
|
||||
GetPlayersXRankPlacementsDocument,
|
||||
useGetPlayersXRankPlacementsQuery,
|
||||
} from "generated/graphql";
|
||||
import { initializeApollo } from "lib/apollo";
|
||||
import LoadingBoundary from "lib/components/LoadingBoundary";
|
||||
import { GetStaticPaths, GetStaticProps } from "next";
|
||||
import { useRouter } from "next/router";
|
||||
import Player from "scenes/Player";
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import { Radio, RadioGroup, Select, Stack } from "@chakra-ui/core";
|
||||
import { PrismaClient } from "@prisma/client";
|
||||
import LoadingBoundary from "components/LoadingBoundary";
|
||||
import PageHeader from "components/PageHeader";
|
||||
import {
|
||||
GetXRankPlacementsDocument,
|
||||
GetXRankPlacementsQueryVariables,
|
||||
@@ -9,6 +7,8 @@ import {
|
||||
useGetXRankPlacementsQuery,
|
||||
} from "generated/graphql";
|
||||
import { initializeApollo } from "lib/apollo";
|
||||
import LoadingBoundary from "lib/components/LoadingBoundary";
|
||||
import PageHeader from "lib/components/PageHeader";
|
||||
import { getLocalizedMonthYearString } from "lib/getLocalizedMontYearString";
|
||||
import { useTranslation } from "lib/useMockT";
|
||||
import { GetStaticProps } from "next";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Box, Flex, Image } from "@chakra-ui/core";
|
||||
import WeaponImage from "components/WeaponImage";
|
||||
import WeaponImage from "lib/components/WeaponImage";
|
||||
import { weapons } from "lib/lists/weapons";
|
||||
import { useMyTheme } from "lib/useMyTheme";
|
||||
import { useState } from "react";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Box, Flex, IconButton } from "@chakra-ui/core";
|
||||
import ColorPicker from "components/ColorPicker";
|
||||
import ColorPicker from "lib/components/ColorPicker";
|
||||
import { useMyTheme } from "lib/useMyTheme";
|
||||
import { useState } from "react";
|
||||
import Draggable from "react-draggable";
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Box, HStack, Image, Radio, RadioGroup, Select } from "@chakra-ui/core";
|
||||
import salmonRunHighTide from "assets/SalmonRunHighTide.svg";
|
||||
import salmonRunLowTide from "assets/SalmonRunLowTide.svg";
|
||||
import salmonRunMidTide from "assets/SalmonRunMidTide.svg";
|
||||
import ModeImage from "components/ModeImage";
|
||||
import ModeImage from "lib/components/ModeImage";
|
||||
import { stages } from "lib/lists/stages";
|
||||
import { PlannerMapBg } from "..";
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Text } from "@chakra-ui/core";
|
||||
import ModeImage from "components/ModeImage";
|
||||
import { GetPlayersXRankPlacementsQuery } from "generated/graphql";
|
||||
import ModeImage from "lib/components/ModeImage";
|
||||
import {
|
||||
Table,
|
||||
TableBody,
|
||||
@@ -7,9 +8,8 @@ import {
|
||||
TableHead,
|
||||
TableHeader,
|
||||
TableRow,
|
||||
} from "components/Table";
|
||||
import WeaponImage from "components/WeaponImage";
|
||||
import { GetPlayersXRankPlacementsQuery } from "generated/graphql";
|
||||
} from "lib/components/Table";
|
||||
import WeaponImage from "lib/components/WeaponImage";
|
||||
import { getRankingString } from "lib/getRankingString";
|
||||
import { useTranslation } from "lib/useMockT";
|
||||
import { useMyTheme } from "lib/useMyTheme";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Avatar, Box, Flex, Heading, IconButton } from "@chakra-ui/core";
|
||||
import Section from "components/Section";
|
||||
import WeaponImage from "components/WeaponImage";
|
||||
import { getEmojiFlag } from "countries-list";
|
||||
import { GetUserByIdentifierQuery } from "generated/graphql";
|
||||
import Section from "lib/components/Section";
|
||||
import WeaponImage from "lib/components/WeaponImage";
|
||||
import { useTranslation } from "lib/useMockT";
|
||||
import { useMyTheme } from "lib/useMyTheme";
|
||||
import { FaGamepad, FaTwitch, FaTwitter, FaYoutube } from "react-icons/fa";
|
||||
|
||||
@@ -18,8 +18,6 @@ import {
|
||||
useToast,
|
||||
} from "@chakra-ui/core";
|
||||
import { zodResolver } from "@hookform/resolvers/zod";
|
||||
import MarkdownTextarea from "components/MarkdownTextarea";
|
||||
import WeaponSelector from "components/WeaponSelector";
|
||||
import { countries } from "countries-list";
|
||||
import {
|
||||
GetUserByIdentifierDocument,
|
||||
@@ -27,6 +25,8 @@ import {
|
||||
UpdateUserProfileInput,
|
||||
useUpdateUserProfileMutation,
|
||||
} from "generated/graphql";
|
||||
import MarkdownTextarea from "lib/components/MarkdownTextarea";
|
||||
import WeaponSelector from "lib/components/WeaponSelector";
|
||||
import { getToastOptions } from "lib/getToastOptions";
|
||||
import { useTranslation } from "lib/useMockT";
|
||||
import { Controller, useForm } from "react-hook-form";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Box, Button } from "@chakra-ui/core";
|
||||
import Markdown from "components/Markdown";
|
||||
import MyHead from "components/MyHead";
|
||||
import { GetUserByIdentifierQuery } from "generated/graphql";
|
||||
import Markdown from "lib/components/Markdown";
|
||||
import MyHead from "lib/components/MyHead";
|
||||
import { useTranslation } from "lib/useMockT";
|
||||
import useUser from "lib/useUser";
|
||||
import { useState } from "react";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Avatar, Text } from "@chakra-ui/core";
|
||||
import MyHead from "components/MyHead";
|
||||
import { GetXRankPlacementsQuery } from "generated/graphql";
|
||||
import MyHead from "lib/components/MyHead";
|
||||
import {
|
||||
Table,
|
||||
TableBody,
|
||||
@@ -7,9 +8,8 @@ import {
|
||||
TableHead,
|
||||
TableHeader,
|
||||
TableRow,
|
||||
} from "components/Table";
|
||||
import WeaponImage from "components/WeaponImage";
|
||||
import { GetXRankPlacementsQuery } from "generated/graphql";
|
||||
} from "lib/components/Table";
|
||||
import WeaponImage from "lib/components/WeaponImage";
|
||||
import { getRankingString } from "lib/getRankingString";
|
||||
import { useTranslation } from "lib/useMockT";
|
||||
import { useMyTheme } from "lib/useMyTheme";
|
||||
|
||||
Reference in New Issue
Block a user