Skip to content

Commit aef3529

Browse files
committed
Modularized container, move every scss files to its own component, moved all global scss into index.scss
1 parent 7f881bf commit aef3529

27 files changed

Lines changed: 641 additions & 334 deletions

File tree

app/charts/RequestTypesChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useContext } from 'react';
22
import Plot from 'react-plotly.js';
33
import { CommsContext } from '../context/CommsContext';
4-
import '../stylesheets/constants.scss';
4+
import '../stylesheets/index.scss';
55

66
const RequestTypesChart: React.FC = React.memo(() => {
77
const { commsData } = useContext(CommsContext);

app/components/About/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../stylesheets/constants.scss';
1+
@import '../../stylesheets/index.scss';
22

33
.about {
44
min-width: 421px;

app/components/ApplicationsCard/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
@import '../../stylesheets/constants.scss';
2+
@import '../../stylesheets/index.scss';
33

44
.card {
55
display: flex;

app/components/Contact/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../stylesheets/constants.scss';
1+
@import '../../stylesheets/index.scss';
22

33
.contact {
44
display: flex;

app/components/DashboardIcons/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../stylesheets/constants.scss';
1+
@import '../../stylesheets/index.scss';
22

33
.dashboardIconWrapper {
44
margin-right: 37px;

app/components/FirstLaunch/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../stylesheets/constants.scss';
1+
@import '../../stylesheets/index.scss';
22

33
.btns {
44
display: flex;

app/components/Header/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../stylesheets/constants.scss';
1+
@import '../../stylesheets/index.scss';
22
.microservice-header {
33
width: 100%;
44
@include centerWithFlex(center);

app/components/Occupied/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../stylesheets/constants.scss';
1+
@import '../../stylesheets/index.scss';
22

33
// MAIN DASHBOARD
44
.dashboardArea {

app/components/Setting/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../stylesheets/constants.scss'; // Update the import path according to your project structure
1+
@import '../../stylesheets/index.scss';
22

33
.settings {
44
display: flex;

app/components/Splash/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../stylesheets/constants.scss'; // Update the import path according to your project structure
1+
@import '../../stylesheets/index.scss'; // Update the import path according to your project structure
22

33
#splash {
44
display: flex;

0 commit comments

Comments
 (0)