separated common funcs/classes from the pages dir

This commit is contained in:
pepper 2020-12-03 17:40:06 -05:00
parent 36353aba65
commit 9bc7b93def
17 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@ import React, { Component } from "react";
import { callAPI } from "../actions/API"; import { callAPI } from "../actions/API";
import Cards from "./Pages/Cards"; import Cards from "./Pages/Cards";
import SideMigrations from "./Pages/Migrations/SideMigrations"; import SideMigrations from "./common/Migrations/SideMigrations";
// Homepage/Cards, first API call here to pass down to cards // Homepage/Cards, first API call here to pass down to cards
// and the pending migration list, if there's no data, nothing will show // and the pending migration list, if there's no data, nothing will show

View File

@ -1,6 +1,6 @@
import React, { Component } from "react"; import React, { Component } from "react";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import InLineSearch from "./Pages/Functionality/InlineSearchBar"; import InLineSearch from "./common/Functionality/InlineSearchBar";
// Navbar class component, Just simple href's to retain styling // Navbar class component, Just simple href's to retain styling

View File

@ -1,6 +1,6 @@
import React, { Component } from "react"; import React, { Component } from "react";
import FormPage from "./Forms/FormPage"; import FormPage from "../common/Forms/FormPage";
// Parent page for the Book component, // Parent page for the Book component,
// links directly to FormPage which contains the POST request // links directly to FormPage which contains the POST request

View File

@ -1,7 +1,7 @@
import React, { Component } from "react"; import React, { Component } from "react";
import { callAPI } from "../../actions/API"; import { callAPI } from "../../actions/API";
import HistoricalSingle from "./Tables/HistoricalSingle"; import HistoricalSingle from "../common/Tables/HistoricalSingle";
import Error from "../../actions/Error"; import Error from "../../actions/Error";
// Parent page for the /historical-migrations page, // Parent page for the /historical-migrations page,

View File

@ -1,6 +1,6 @@
import React, { Component } from "react"; import React, { Component } from "react";
import ReportSingleMigration from "./Forms/ReportSingleMigration"; import ReportSingleMigration from "../common/Forms/ReportSingleMigration";
import { callAPI } from "../../actions/API"; import { callAPI } from "../../actions/API";
// This class will populate a form from a UUID in the address bar, // This class will populate a form from a UUID in the address bar,

View File

@ -1,7 +1,7 @@
import React, { Component } from "react"; import React, { Component } from "react";
import IdSearchForm from "./Functionality/IdSearchForm"; import IdSearchForm from "../common/Functionality/IdSearchForm";
import ReportSingleMigration from "./Forms/ReportSingleMigration"; import ReportSingleMigration from "../common/Forms/ReportSingleMigration";
import { callAPI } from "../../actions/API"; import { callAPI } from "../../actions/API";
// /migrations in the address bar, // /migrations in the address bar,

View File

@ -1,5 +1,5 @@
import React, { Component } from "react"; import React, { Component } from "react";
import UpcomingSingle from "./Tables/UpcomingSingle"; import UpcomingSingle from "../common/Tables/UpcomingSingle";
// Upcoming parent page, // Upcoming parent page,
// Most of the good stuff is happening in UpcomingSingle, which does the // Most of the good stuff is happening in UpcomingSingle, which does the