import React, {Component} from 'react'; import { Button } from 'react-bootstrap'; import { translate, Trans } from 'react-i18next'; import {render} from 'react-dom'; import { Link } from 'react-router-dom'; // https://www.npmjs.com/package/react-resize-detector import ReactResizeDetector from 'react-resize-detector'; import FiresMap from '../FiresMap/FiresMap'; import FireSubscription from '/imports/ui/pages/FireSubscription/FireSubscription'; import './new-age.js'; import './Index.scss'; import './Index-custom.scss'; class Index extends Component { // Debounce by David Walsch // https://davidwalsh.name/javascript-debounce-function constructor(props) { super(props); } debounce = (func, wait, immediate) => { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if (!immediate) func.apply(context, args); }; var callNow = immediate && !timeout; clearTimeout(timeout); timeout = setTimeout(later, wait); if (callNow) func.apply(context, args); }; }; scaleHeader = () => { var scalable = document.getElementById('tcefh1'); var margin = 10; var scalableContainer = scalable.parentNode; scalable.style.transform = 'scale(1)'; var scalableContainerWidth = scalableContainer.offsetWidth - margin; var scalableWidth = scalable.offsetWidth; scalable.style.transform = 'scale(' + scalableContainerWidth / scalableWidth + ')'; scalableContainer.style.height = scalable.getBoundingClientRect().height + 'px'; }; myScaleFunction = this.debounce(() => { this.scaleHeader(); }, 250); _onResize = () => { this.myScaleFunction(); }; render() { return (
{/* https://v4-alpha.getbootstrap.com/components/carousel/ */}

Elige un lugar

Elige un radio de vigilancia

Recibe alertas de fuegos en esa zona

Alerta cuando hay un fuego

Previous Next

{this.props.t('AppName')}

Siempre alerta a los fuegos en nuestro vecindario

{this.props.t('Participa')}

Discover what all the buzz is about!

Our app is available on any mobile device! Download now to get started!

Unlimited Features, Unlimited Fun

Check out what you can do with this app theme!


{/* Demo image for screen mockup, you can put an image here, some HTML, an animation, video, or anything else! */}
{/* You can hook the "home button" to some JavaScript events or just remove it */}

Telegram

Usa nuestro bot de Telegram

Correo electronico

Recibe nuestras notificaciones de fuegos por correo

Open Source

Since this theme is MIT licensed, you can use it commercially!

Device Mockups

Ready to use HTML/CSS device mockups, no Photoshop required!

Stop waiting.
Start building.

Let's Get Started!

We new friends!

); }; } export default translate([], { wait: true })(Index);