This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function eventLog() { | |
return { | |
get: () => localStorage.getItem('eventLog') || '{}', | |
set: (data) => localStorage.setItem('eventLog', data) | |
} | |
} | |
window.events = JSON.parse(eventLog().get()) | |
const doRequest = async () => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import Menu from './components/Menu/' | |
import dadosIniciais from './data/dados_iniciais.json' | |
import BannerMain from './components/BannerMain' | |
import Carousel from './components/Carousel' | |
import Footer from './components/Footer' | |
function App() { | |
return ( | |
<div style={{background: '#141414'}}> |