+ autocomplete + thunk

This commit is contained in:
2020-07-21 19:39:56 +02:00
parent 29efa13410
commit 2bcbfef8ba
16 changed files with 255 additions and 38 deletions

View File

@@ -4,20 +4,31 @@ import "./App.scss";
import TopBar from "./components/TopBar";
import Footer from "./components/Footer";
import SearchPanel from "./components/SearchPanel";
import { createMuiTheme, ThemeProvider } from "@material-ui/core/styles";
const theme = createMuiTheme({
palette: {
primary: {
main: "#0e8496",
},
},
});
function App() {
return (
<div className="App">
<TopBar />
<div className="main-container">
<img src={logo} className="logo" alt="Menui logo" />
<SearchPanel />
<p className="darkParagraph">
Sprawdź co serwuje Twoja ulubiona restauracja.
</p>
<ThemeProvider theme={theme}>
<div className="App">
<TopBar />
<div className="main-container">
<img src={logo} className="logo" alt="Menui logo" />
<SearchPanel />
<p className="darkParagraph">
Sprawdź co serwuje Twoja ulubiona restauracja.
</p>
</div>
<Footer />
</div>
<Footer />
</div>
</ThemeProvider>
);
}