diff --git a/src/modules/data-pages/celllines_searchExamples.yaml b/src/config/celllines_searchExamples.yaml similarity index 100% rename from src/modules/data-pages/celllines_searchExamples.yaml rename to src/config/celllines_searchExamples.yaml diff --git a/src/modules/data-pages/celllines_searchParameters.yaml b/src/config/celllines_searchParameters.yaml similarity index 100% rename from src/modules/data-pages/celllines_searchParameters.yaml rename to src/config/celllines_searchParameters.yaml diff --git a/src/modules/data-pages/filtersearch_searchParameters.yaml b/src/config/filtersearch_searchParameters.yaml similarity index 100% rename from src/modules/data-pages/filtersearch_searchParameters.yaml rename to src/config/filtersearch_searchParameters.yaml diff --git a/src/modules/shared/searchParameters.yaml b/src/config/searchParameters.yaml similarity index 100% rename from src/modules/shared/searchParameters.yaml rename to src/config/searchParameters.yaml diff --git a/src/modules/data-pages/celllines_dataPage.js b/src/modules/data-pages/celllines_dataPage.js index 0eab3e8c..5e7159d2 100644 --- a/src/modules/data-pages/celllines_dataPage.js +++ b/src/modules/data-pages/celllines_dataPage.js @@ -1,8 +1,8 @@ import React from "react" import { Layout } from "../../components/Layout" -import parametersConfig from "../shared/searchParameters.yaml" -import requestTypeConfig from "./celllines_searchParameters.yaml" -import requestTypeExamples from "./celllines_searchExamples.yaml" +import parametersConfig from "../../config//searchParameters.yaml" +import requestTypeConfig from "../../config/celllines_searchParameters.yaml" +import requestTypeExamples from "../../config/celllines_searchExamples.yaml" import BiosamplesSearchPanel from "../../components/searchForm/BiosamplesSearchPanel" export default function cellLines_dataPage({ cytoBands }) { diff --git a/src/modules/data-pages/filtersearch_page.js b/src/modules/data-pages/filtersearch_page.js index 9d5d4412..83efffca 100644 --- a/src/modules/data-pages/filtersearch_page.js +++ b/src/modules/data-pages/filtersearch_page.js @@ -1,7 +1,7 @@ import React from "react" import { Layout } from "../../components/Layout" -import parametersConfig from "../shared/searchParameters.yaml" -import requestTypeConfig from "./filtersearch_searchParameters.yaml" +import parametersConfig from "../../config/searchParameters.yaml" +import requestTypeConfig from "../../config/filtersearch_searchParameters.yaml" import BiosamplesSearchPanel from "../../components/searchForm/BiosamplesSearchPanel" // import Link from "next/link" diff --git a/src/modules/shared/BeaconForm.scss b/src/styles/BeaconForm.scss similarity index 93% rename from src/modules/shared/BeaconForm.scss rename to src/styles/BeaconForm.scss index de466fbc..4a419cbd 100644 --- a/src/modules/shared/BeaconForm.scss +++ b/src/styles/BeaconForm.scss @@ -1,4 +1,4 @@ -@import "../../styles/variables"; +@import "./variables"; $container-offset: (2 * $gap) !default; .BeaconPlus__query-summary { diff --git a/src/modules/shared/Nav.scss b/src/styles/Nav.scss similarity index 92% rename from src/modules/shared/Nav.scss rename to src/styles/Nav.scss index 4222af37..950504c8 100644 --- a/src/modules/shared/Nav.scss +++ b/src/styles/Nav.scss @@ -1,4 +1,4 @@ -@import "src/styles/variables"; +@import "./variables"; .section.Nav__header { padding-top: 0.5rem; diff --git a/src/modules/shared/Subsets.scss b/src/styles/Subsets.scss similarity index 94% rename from src/modules/shared/Subsets.scss rename to src/styles/Subsets.scss index 045e0da6..6df49187 100644 --- a/src/modules/shared/Subsets.scss +++ b/src/styles/Subsets.scss @@ -1,4 +1,4 @@ -@import "src/styles/variables"; +@import "./variables"; .Subsets__tree { margin-bottom: 3rem; diff --git a/src/styles/main.scss b/src/styles/main.scss index d3d3a3bb..fc973cfb 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -22,9 +22,9 @@ body { @import "button-link"; -@import "src/modules/shared/BeaconForm"; -@import "src/modules/shared/Nav"; -@import "src/modules/shared/Subsets"; +@import "BeaconForm"; +@import "Nav"; +@import "Subsets"; @import "~bulma/sass/base/_all"; @import "~bulma/sass/elements/_all";