move a bunch of files around
This commit is contained in:
parent
9323985c8d
commit
c1de266b2d
@ -9,10 +9,10 @@ import 'bootstrap/dist/css/bootstrap.min.css';
|
|||||||
import "react-toggle/style.css"
|
import "react-toggle/style.css"
|
||||||
import { FaCog, FaSun, FaMoon } from "react-icons/fa";
|
import { FaCog, FaSun, FaMoon } from "react-icons/fa";
|
||||||
|
|
||||||
import Dash from './Components/Dash.js'
|
import Dash from './Pages/Dash.js'
|
||||||
import history from "./History.js";
|
import history from "./History.js";
|
||||||
import Footer from './Components/Footer.js'
|
import Footer from './Components/Footer.js'
|
||||||
import Public from './Components/Public.js'
|
import Public from './Pages/Public.js'
|
||||||
import Home from './Pages/Home.js'
|
import Home from './Pages/Home.js'
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
|
@ -9,9 +9,9 @@ import autosize from 'autosize';
|
|||||||
import LazyLoad from 'react-lazyload';
|
import LazyLoad from 'react-lazyload';
|
||||||
import Twemoji from 'react-twemoji';
|
import Twemoji from 'react-twemoji';
|
||||||
|
|
||||||
import API_URL from "../Constants/constants.js";
|
import API_URL from "../../Constants/constants.js";
|
||||||
|
|
||||||
import defaultAvatar from '../default_discord_avatar.png'
|
import defaultAvatar from '../../default_discord_avatar.png'
|
||||||
import { FaLink, FaLock, FaTrashAlt } from "react-icons/fa";
|
import { FaLink, FaLock, FaTrashAlt } from "react-icons/fa";
|
||||||
|
|
||||||
export default function MemberCard(props) {
|
export default function MemberCard(props) {
|
||||||
@ -69,7 +69,7 @@ export default function MemberCard(props) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const { toHTML } = require('../Functions/discord-parser.js');
|
const { toHTML } = require('../../Functions/discord-parser.js');
|
||||||
|
|
||||||
if (member.display_name) {
|
if (member.display_name) {
|
||||||
setDisplayName(member.display_name)
|
setDisplayName(member.display_name)
|
@ -8,10 +8,10 @@ import 'reactjs-popup/dist/index.css';
|
|||||||
import autosize from 'autosize';
|
import autosize from 'autosize';
|
||||||
import Twemoji from 'react-twemoji';
|
import Twemoji from 'react-twemoji';
|
||||||
|
|
||||||
import API_URL from "../Constants/constants.js";
|
import API_URL from "../../Constants/constants.js";
|
||||||
import history from "../History.js";
|
import history from "../../History.js";
|
||||||
|
|
||||||
import defaultAvatar from '../default_discord_avatar.png'
|
import defaultAvatar from '../../default_discord_avatar.png'
|
||||||
import { FaLink, FaLock, FaTrashAlt } from "react-icons/fa";
|
import { FaLink, FaLock, FaTrashAlt } from "react-icons/fa";
|
||||||
|
|
||||||
export default function MemberPage(props) {
|
export default function MemberPage(props) {
|
||||||
@ -69,7 +69,7 @@ export default function MemberPage(props) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const { toHTML } = require('../Functions/discord-parser.js');
|
const { toHTML } = require('../../Functions/discord-parser.js');
|
||||||
|
|
||||||
if (member.display_name) {
|
if (member.display_name) {
|
||||||
setDisplayName(member.display_name)
|
setDisplayName(member.display_name)
|
@ -6,9 +6,9 @@ import 'reactjs-popup/dist/index.css';
|
|||||||
import { useForm } from "react-hook-form";
|
import { useForm } from "react-hook-form";
|
||||||
|
|
||||||
import MemberCard from './MemberCard.js'
|
import MemberCard from './MemberCard.js'
|
||||||
import MemberPages from './MemberPages.js'
|
import MemberPages from '../../Pages/MemberPages.js'
|
||||||
import Loading from "./Loading.js";
|
import Loading from "../Loading.js";
|
||||||
import API_URL from "../Constants/constants.js";
|
import API_URL from "../../Constants/constants.js";
|
||||||
|
|
||||||
import { FaPlus } from "react-icons/fa";
|
import { FaPlus } from "react-icons/fa";
|
||||||
|
|
@ -8,10 +8,10 @@ import 'moment-timezone';
|
|||||||
import Popup from 'reactjs-popup';
|
import Popup from 'reactjs-popup';
|
||||||
import Twemoji from 'react-twemoji';
|
import Twemoji from 'react-twemoji';
|
||||||
|
|
||||||
import API_URL from "../Constants/constants.js";
|
import API_URL from "../../Constants/constants.js";
|
||||||
|
|
||||||
import history from "../History.js";
|
import history from "../../History.js";
|
||||||
import defaultAvatar from '../default_discord_avatar.png'
|
import defaultAvatar from '../../default_discord_avatar.png'
|
||||||
import { FaAddressCard } from "react-icons/fa";
|
import { FaAddressCard } from "react-icons/fa";
|
||||||
|
|
||||||
export default function System(props) {
|
export default function System(props) {
|
||||||
@ -47,7 +47,7 @@ export default function System(props) {
|
|||||||
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const { toHTML } = require('../Functions/discord-parser.js');
|
const { toHTML } = require('../../Functions/discord-parser.js');
|
||||||
|
|
||||||
if (user.name) {
|
if (user.name) {
|
||||||
setName(user.name);
|
setName(user.name);
|
@ -6,9 +6,9 @@ import Popup from 'reactjs-popup';
|
|||||||
import Twemoji from 'react-twemoji';
|
import Twemoji from 'react-twemoji';
|
||||||
|
|
||||||
import { FaAddressCard } from "react-icons/fa";
|
import { FaAddressCard } from "react-icons/fa";
|
||||||
import defaultAvatar from '../default_discord_avatar.png'
|
import defaultAvatar from '../../default_discord_avatar.png'
|
||||||
import Loading from "./Loading.js";
|
import Loading from "../Loading.js";
|
||||||
import API_URL from "../Constants/constants.js";
|
import API_URL from "../../Constants/constants.js";
|
||||||
import ProfileList from "./ProfileList.js";
|
import ProfileList from "./ProfileList.js";
|
||||||
|
|
||||||
export default function Profile () {
|
export default function Profile () {
|
||||||
@ -42,7 +42,7 @@ export default function Profile () {
|
|||||||
}, [sysID])
|
}, [sysID])
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const { toHTML } = require('../Functions/discord-parser.js');
|
const { toHTML } = require('../../Functions/discord-parser.js');
|
||||||
|
|
||||||
if (system.name) {
|
if (system.name) {
|
||||||
setName(system.name);
|
setName(system.name);
|
@ -8,7 +8,7 @@ import autosize from 'autosize';
|
|||||||
import LazyLoad from 'react-lazyload';
|
import LazyLoad from 'react-lazyload';
|
||||||
import Twemoji from 'react-twemoji';
|
import Twemoji from 'react-twemoji';
|
||||||
|
|
||||||
import defaultAvatar from '../default_discord_avatar.png'
|
import defaultAvatar from '../../default_discord_avatar.png'
|
||||||
import { FaLink } from "react-icons/fa";
|
import { FaLink } from "react-icons/fa";
|
||||||
|
|
||||||
export default function MemberCard(props) {
|
export default function MemberCard(props) {
|
||||||
@ -30,7 +30,7 @@ export default function MemberCard(props) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const { toHTML } = require('../Functions/discord-parser.js');
|
const { toHTML } = require('../../Functions/discord-parser.js');
|
||||||
|
|
||||||
if (member.display_name) {
|
if (member.display_name) {
|
||||||
setDisplayName(member.display_name)
|
setDisplayName(member.display_name)
|
@ -4,9 +4,9 @@ import * as BS from 'react-bootstrap'
|
|||||||
import 'reactjs-popup/dist/index.css';
|
import 'reactjs-popup/dist/index.css';
|
||||||
|
|
||||||
import ProfileCard from './ProfileCard.js'
|
import ProfileCard from './ProfileCard.js'
|
||||||
import ProfilePages from './ProfilePages.js'
|
import ProfilePages from '../../Pages/ProfilePages.js'
|
||||||
import Loading from "./Loading.js";
|
import Loading from "../Loading.js";
|
||||||
import API_URL from "../Constants/constants.js";
|
import API_URL from "../../Constants/constants.js";
|
||||||
|
|
||||||
export default function Memberlist() {
|
export default function Memberlist() {
|
||||||
|
|
@ -7,7 +7,7 @@ import 'reactjs-popup/dist/index.css';
|
|||||||
import autosize from 'autosize';
|
import autosize from 'autosize';
|
||||||
import Twemoji from 'react-twemoji';
|
import Twemoji from 'react-twemoji';
|
||||||
|
|
||||||
import defaultAvatar from '../default_discord_avatar.png'
|
import defaultAvatar from '../../default_discord_avatar.png'
|
||||||
import { FaLink } from "react-icons/fa";
|
import { FaLink } from "react-icons/fa";
|
||||||
|
|
||||||
export default function ProfilePage(props) {
|
export default function ProfilePage(props) {
|
||||||
@ -30,7 +30,7 @@ export default function ProfilePage(props) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const { toHTML } = require('../Functions/discord-parser.js');
|
const { toHTML } = require('../../Functions/discord-parser.js');
|
||||||
|
|
||||||
if (member.display_name) {
|
if (member.display_name) {
|
||||||
setDisplayName(member.display_name)
|
setDisplayName(member.display_name)
|
@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import System from './System.js'
|
import System from '../Components/Private/System.js'
|
||||||
import Memberlist from './Memberlist.js'
|
import Memberlist from '../Components/Private/Memberlist.js'
|
||||||
|
|
||||||
export default function Dash(props) {
|
export default function Dash(props) {
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
import React, { useEffect } from 'react';
|
import React, { useEffect } from 'react';
|
||||||
import * as BS from 'react-bootstrap';
|
import * as BS from 'react-bootstrap';
|
||||||
import { useParams } from "react-router-dom";
|
import { useParams } from "react-router-dom";
|
||||||
import MemberPage from './MemberPage.js'
|
import MemberPage from '../Components/Private/MemberPage.js'
|
||||||
|
|
||||||
export default function MemberPages(props) {
|
export default function MemberPages(props) {
|
||||||
const { memberID } = useParams();
|
const { memberID } = useParams();
|
@ -1,7 +1,7 @@
|
|||||||
import React, { useEffect } from 'react';
|
import React, { useEffect } from 'react';
|
||||||
import * as BS from 'react-bootstrap';
|
import * as BS from 'react-bootstrap';
|
||||||
import { useParams } from "react-router-dom";
|
import { useParams } from "react-router-dom";
|
||||||
import ProfilePage from './ProfilePage.js'
|
import ProfilePage from '../Components/Public/ProfilePage.js'
|
||||||
|
|
||||||
export default function MemberPages(props) {
|
export default function MemberPages(props) {
|
||||||
const { memberID } = useParams();
|
const { memberID } = useParams();
|
@ -4,7 +4,7 @@ import { FaStar } from "react-icons/fa";
|
|||||||
import { useForm } from "react-hook-form";
|
import { useForm } from "react-hook-form";
|
||||||
import history from "../History.js";
|
import history from "../History.js";
|
||||||
import { Switch, Route, useRouteMatch } from 'react-router-dom';
|
import { Switch, Route, useRouteMatch } from 'react-router-dom';
|
||||||
import Profile from './Profile.js'
|
import Profile from '../Components/Public/Profile.js'
|
||||||
|
|
||||||
export default function Public () {
|
export default function Public () {
|
||||||
const { path, url } = useRouteMatch();
|
const { path, url } = useRouteMatch();
|
Loading…
x
Reference in New Issue
Block a user