From c81671a10208c4306ecbdf41b765ef58ceaedf78 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi <256895@studenti.unimore.it> Date: Fri, 23 Apr 2021 02:26:16 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=20Rename=20BoxWithHeader=20to=20BoxFu?= =?UTF-8?q?ll?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{BoxWithHeader.js => BoxFull.js} | 4 ++-- ...ithHeader.module.css => BoxFull.module.css} | 0 code/frontend/src/routes/PageAlerts.js | 10 +++++----- code/frontend/src/routes/PageHome.js | 18 +++++++++--------- code/frontend/src/routes/PageRepositories.js | 10 +++++----- code/frontend/src/routes/PageSettings.js | 14 +++++++------- 6 files changed, 28 insertions(+), 28 deletions(-) rename code/frontend/src/components/{BoxWithHeader.js => BoxFull.js} (84%) rename code/frontend/src/components/{BoxWithHeader.module.css => BoxFull.module.css} (100%) diff --git a/code/frontend/src/components/BoxWithHeader.js b/code/frontend/src/components/BoxFull.js similarity index 84% rename from code/frontend/src/components/BoxWithHeader.js rename to code/frontend/src/components/BoxFull.js index 8c3444e..eb14c7b 100644 --- a/code/frontend/src/components/BoxWithHeader.js +++ b/code/frontend/src/components/BoxFull.js @@ -1,5 +1,5 @@ import React from "react" -import Style from "./BoxWithHeader.module.css" +import Style from "./BoxFull.module.css" import classNames from "classnames" @@ -13,7 +13,7 @@ import classNames from "classnames" * @returns {JSX.Element} * @constructor */ -export default function BoxWithHeader({ header, children, className, ...props }) { +export default function BoxFull({ header, children, className, ...props }) { return (
diff --git a/code/frontend/src/components/BoxWithHeader.module.css b/code/frontend/src/components/BoxFull.module.css similarity index 100% rename from code/frontend/src/components/BoxWithHeader.module.css rename to code/frontend/src/components/BoxFull.module.css diff --git a/code/frontend/src/routes/PageAlerts.js b/code/frontend/src/routes/PageAlerts.js index e1a1f90..b6d3a28 100644 --- a/code/frontend/src/routes/PageAlerts.js +++ b/code/frontend/src/routes/PageAlerts.js @@ -1,18 +1,18 @@ import React from "react" import Style from "./PageAlerts.module.css" import classNames from "classnames" -import BoxWithHeader from "../components/BoxWithHeader" +import BoxFull from "../components/BoxFull" export default function PageAlerts({ children, className, ...props }) { return (
- + a - - + + b - +
) } diff --git a/code/frontend/src/routes/PageHome.js b/code/frontend/src/routes/PageHome.js index de02bf4..67679e5 100644 --- a/code/frontend/src/routes/PageHome.js +++ b/code/frontend/src/routes/PageHome.js @@ -2,7 +2,7 @@ import React from "react" import Style from "./PageHome.module.css" import classNames from "classnames" import BoxHeader from "../components/BoxHeader" -import BoxWithHeader from "../components/BoxWithHeader" +import BoxFull from "../components/BoxFull" import Checkbox from "../components/Checkbox" import InputWithIcon from "../components/InputWithIcon" import { faFolder, faPlus } from "@fortawesome/free-solid-svg-icons" @@ -18,22 +18,22 @@ export default function PageHome({ children, className, ...props }) { Create a new repository - Search by zone }> - - + Search by hashtag }> - - + Search by time period }> - - + + - +
) } diff --git a/code/frontend/src/routes/PageRepositories.js b/code/frontend/src/routes/PageRepositories.js index d21f9da..2d08e16 100644 --- a/code/frontend/src/routes/PageRepositories.js +++ b/code/frontend/src/routes/PageRepositories.js @@ -1,18 +1,18 @@ import React from "react" import Style from "./PageRepositories.module.css" import classNames from "classnames" -import BoxWithHeader from "../components/BoxWithHeader" +import BoxFull from "../components/BoxFull" export default function PageRepositories({ children, className, ...props }) { return (
- + a - - + + b - +
) } diff --git a/code/frontend/src/routes/PageSettings.js b/code/frontend/src/routes/PageSettings.js index 1ff3a1a..9c964ae 100644 --- a/code/frontend/src/routes/PageSettings.js +++ b/code/frontend/src/routes/PageSettings.js @@ -2,7 +2,7 @@ import React from "react" import Style from "./PageSettings.module.css" import classNames from "classnames" import BoxHeader from "../components/BoxHeader" -import BoxWithHeader from "../components/BoxWithHeader" +import BoxFull from "../components/BoxFull" import Select from "../components/Select" import SelectTheme from "../components/SelectTheme" @@ -16,15 +16,15 @@ export default function PageSettings({ children, className, ...props }) { Switch theme: - + - - + + - - + + - +
) }