separated common funcs/classes from the pages dir
This commit is contained in:
parent
36353aba65
commit
9bc7b93def
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user