From 1bba7f8cd978a8c424bfd812bef9a70aa51b7ea4 Mon Sep 17 00:00:00 2001 From: danieldeng2 <danieldeng223@gmail.com> Date: Fri, 4 Sep 2020 01:01:06 +0100 Subject: [PATCH] Change bottom bar structure --- .../BottomBar/{ => components}/BottomBarItem/index.tsx | 0 .../BottomBar/{ => components}/BottomBarItem/style.module.scss | 2 +- src/components/organisms/BottomBar/index.tsx | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/components/organisms/BottomBar/{ => components}/BottomBarItem/index.tsx (100%) rename src/components/organisms/BottomBar/{ => components}/BottomBarItem/style.module.scss (93%) diff --git a/src/components/organisms/BottomBar/BottomBarItem/index.tsx b/src/components/organisms/BottomBar/components/BottomBarItem/index.tsx similarity index 100% rename from src/components/organisms/BottomBar/BottomBarItem/index.tsx rename to src/components/organisms/BottomBar/components/BottomBarItem/index.tsx diff --git a/src/components/organisms/BottomBar/BottomBarItem/style.module.scss b/src/components/organisms/BottomBar/components/BottomBarItem/style.module.scss similarity index 93% rename from src/components/organisms/BottomBar/BottomBarItem/style.module.scss rename to src/components/organisms/BottomBar/components/BottomBarItem/style.module.scss index 6d562f82a..d155d1e5d 100644 --- a/src/components/organisms/BottomBar/BottomBarItem/style.module.scss +++ b/src/components/organisms/BottomBar/components/BottomBarItem/style.module.scss @@ -15,7 +15,7 @@ width: 25%; margin-left: 0; color: var(--primary-button-text); - background-color: var(--primary-button); + background-color: var(--background-color); display: flex; align-items: center; justify-content: center; diff --git a/src/components/organisms/BottomBar/index.tsx b/src/components/organisms/BottomBar/index.tsx index 7008faba6..92734344a 100644 --- a/src/components/organisms/BottomBar/index.tsx +++ b/src/components/organisms/BottomBar/index.tsx @@ -2,7 +2,7 @@ import React from "react"; import Navbar from "react-bootstrap/Navbar"; import ButtonGroup from "react-bootstrap/ButtonGroup"; import { IconDefinition } from "@fortawesome/free-solid-svg-icons"; -import BottomBarItem from "components/organisms/BottomBar/BottomBarItem"; +import BottomBarItem from "components/organisms/BottomBar/components/BottomBarItem"; import styles from "./style.module.scss"; export interface BottomBarProps { -- GitLab