Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] Refactor dashboard page #5

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
4 changes: 3 additions & 1 deletion demo/DemoApp.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import React from 'react';
import { Route, BrowserRouter, Switch } from 'react-router-dom';
import DemoDashboard from './pages/DemoDashboard';
import DemoDashboard from './pages/dashboard/DemoDashboard';
import DemoHeader from './layout/DemoHeader';
import DemoSidebar from './layout/DemoSidebar';
import ContentWrapper from './layout/ContentWrapper';
import MainFooter from './layout/MainFooter';
import Demo404 from './pages/Demo404';

import './data/IconLib';

const getBasename = () => `/${process.env.PUBLIC_URL.split('/').pop()}`;

export default function DemoApp() {
Expand Down
13 changes: 13 additions & 0 deletions demo/data/IconLib.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { library } from '@fortawesome/fontawesome-svg-core';
import {
faChartBar,
faChartPie,
faCog,
faShoppingBasket,
faShoppingCart,
faThumbsUp,
faUserPlus,
faUsers,
} from '@fortawesome/free-solid-svg-icons';

library.add(faCog, faThumbsUp, faShoppingCart, faUsers, faUserPlus, faChartPie, faShoppingBasket, faChartBar);
Loading