Commit cb2f4a36 authored by Theo Gjini's avatar Theo Gjini

Widget first version

parent 23addb05
......@@ -43,8 +43,6 @@ export default class App extends Component {
const routeIdToFind = widget ? 'widget' : 'index';
const homeRoute = routes.find((r) => r.id === routeIdToFind && r.locale === locale);
const homePath = homeRoute ? homeRoute.path : '/';
// eslint-disable-next-line no-console
console.log('widget', location.pathname);
return (
<div className="App">
......
......@@ -70,12 +70,10 @@ function fetchData(getState, dispatch, location) {
export default class WidgetEventsContainer extends Component {
render() {
return (
<BodyClassName className="events">
<BodyClassName className="Widget" >
<EventListContainer />
</BodyClassName>
);
}
}
// enlever les filtres qui s'affichent;
.Widget {
.Pagination {
display: none;
}
.SelectionList, .ActiveFilters, .selected, .inline {
display: none;
}
a {
target-new: new-window;
}
}
\ No newline at end of file
......@@ -35,6 +35,7 @@
@import "components/Entities";
@import "components/EventsMap";
@import "components/Widget";
@import "components/EventBrowser";
@import "components/Filters";
@import "components/Footer";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment