Skip to content

Commit

Permalink
fix: move layout to .scss
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Oct 30, 2023
1 parent 853f93f commit 6a46c29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/taxonomy/TaxonomyLayout.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
import { StudioFooter } from '@edx/frontend-component-footer';
import { Outlet } from 'react-router-dom';

import './TaxonomyLayout.scss';
import Header from '../header';

const TaxonomyLayout = () => (
<>
<style>
{`
body {
background-color: #E9E6E4; /* light-400 */
}
`}
</style>
<div className="taxonomy-layout">
<Header isHiddenMainMenu />
<Outlet />
<StudioFooter />
</>
</div>
);

export default TaxonomyLayout;
3 changes: 3 additions & 0 deletions src/taxonomy/TaxonomyLayout.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.taxonomy-layout {
background-color: #E9E6E4;
}

0 comments on commit 6a46c29

Please sign in to comment.