Removing useless "my events" page
This commit is contained in:
1 parent
5642707246
commit
57163d34c2
2 files changed
-15
No files matched your search
@@ -1,13 +0,0 @@
|
||||
import React from 'react';
|
||||
import BannerTopBar from '../BannerTopBar';
|
||||
|
||||
const Index = () => (
|
||||
<BannerTopBar
|
||||
size='big'
|
||||
title='Your events'
|
||||
text='Here will be the list of YOUR events'
|
||||
backgroundUrl='https://superalgos.org/img/photos/events.jpg'
|
||||
/>
|
||||
);
|
||||
|
||||
export default Index;
|
||||
@@ -5,7 +5,6 @@ import { MuiPickersUtilsProvider } from 'material-ui-pickers';
|
||||
import LuxonUtils from 'material-ui-pickers/utils/luxon-utils';
|
||||
|
||||
import Search from './Components/Search';
|
||||
import Events from './Components/Events';
|
||||
import HostedEvents from './Components/HostedEvents';
|
||||
import EditEvent from './Components/Event/Edit';
|
||||
import CreateEvent from './Components/Event/Create';
|
||||
@@ -17,7 +16,6 @@ const App = () => (
|
||||
<div className='eventsModule'>
|
||||
<Switch>
|
||||
<Route exact path='/events/' component={Search} />
|
||||
<Route path='/events/my' component={Events} />
|
||||
<Route path='/events/create' component={CreateEvent} />
|
||||
<Route path='/events/edit/:slug' component={EditEvent} />
|
||||
<Route path='/events/show/:slug' component={EditEvent} />
|
||||
|
||||
Reference in new issue
Block a user