WIP General Search.

This commit is contained in:
elforjani3
2020-04-13 21:30:26 +02:00
9 changed files with 99 additions and 86 deletions

View File

@@ -1,27 +1,29 @@
import React from 'react';
import {Switch, Route} from 'react-router';
import { Switch, Route } from 'react-router';
import Sidebar from 'components/Sidebar/Sidebar';
import DashboardContent from 'components/Dashboard/DashboardContent';
import DialogsContainer from 'components/DialogsContainer';
import PreferencesContent from 'components/Preferences/PreferencesContent';
import PreferencesSidebar from 'components/Preferences/PreferencesSidebar';
import Search from 'containers/Dashboard/GeneralSearch/Search';
export default function() {
export default function () {
return (
<div className="dashboard dashboard--preferences">
<div className='dashboard'>
<Switch>
<Route path="/dashboard/preferences">
<Route path='/dashboard/preferences'>
<Sidebar />
<PreferencesSidebar />
<PreferencesContent />
</Route>
<Route path="/dashboard">
<Route path='/dashboard'>
<Sidebar />
<DashboardContent />
</Route>
</Switch>
<Search />
<DialogsContainer />
</div>
);
}
}