/* global $ */
import './events.js';
import './globals.js';
import 'whatwg-fetch';
import React from 'react';
import ProjectImagesTypes from './components/index/project-images-types';
import NavBar from './components/navbar/navbar';
import Breadcrumbs from './components/breadcrumbs';
if ($('body').hasClass('index')) { // Render components on index
React.render(, document.getElementById('project-images-types'));
}
if ($('navbar').length > 0) {
React.render(, $('navbar')[0]);
}
if ($('#breadcrumbs').length > 0) {
React.render(, $('#breadcrumbs')[0]);
}