diff --git a/src/components/Input/InputLunchMenuHours.js b/src/components/Input/InputLunchMenuHours.js
index c535c75..01e4daa 100644
--- a/src/components/Input/InputLunchMenuHours.js
+++ b/src/components/Input/InputLunchMenuHours.js
@@ -27,17 +27,17 @@ export default function InputWorkingHoursSingle(props) {
props.changeValue(event.target.value);
};
const handleCheckbox = () => {
- if (!props.off) {
+ if (!props.nieczynne) {
props.changeValue("");
} else {
- props.changeValue("13:00 - 15:00");
+ props.changeValue("12:30 - 13:30");
}
};
const classes = useStyles();
return (
-
Lunch menu
+ Lunch hours
+
}
- label="Wyłącz"
+ label="Brak"
/>
);
diff --git a/src/components/Output/HomeScreen.js b/src/components/Output/HomeScreen.js
new file mode 100644
index 0000000..31f3d4f
--- /dev/null
+++ b/src/components/Output/HomeScreen.js
@@ -0,0 +1,29 @@
+import React from 'react';
+import LogoMain from "../Output/logoMain";
+import SearchPanel from "../Input/SearchPanel";
+import HelpIcon from '@material-ui/icons/Help';
+import appstore from "../../public/appstore.png";
+import googleplay from "../../public/googleplay.png";
+
+export default function HomeScreen() {
+ return
+
+
Dowiedz się czym właściwie jest Menui
+
+
+
+
+
+
+ Sprawdź co serwuje Twoja ulubiona restauracja.
+
+
+
+
Pobierz na telefon
+
+

+

+
+
+
+}
\ No newline at end of file
diff --git a/src/config.js b/src/config.js
index ec759a4..a59ed40 100644
--- a/src/config.js
+++ b/src/config.js
@@ -1 +1,37 @@
export const backend = "https://menui.azurewebsites.net/";
+
+export const restaurantTypes = [
+ "afrykańska",
+ "arabska",
+ "bałkańska",
+ "belgijska",
+ "brytyjska",
+ "chińska",
+ "chorwacka",
+ "czeska",
+ "dietetyczna",
+ "francuska",
+ "grecka",
+ "gruzińska",
+ "hiszpańska",
+ "indyjska",
+ "irlandzka",
+ "japońska",
+ "koreańska",
+ "koszerna",
+ "meksykańska",
+ "międzynarodowa",
+ "polska",
+ "rosyjska",
+ "skandynawska",
+ "śródziemnomorska",
+ "tajska",
+ "turecka",
+ "ukraińska",
+ "węgierska",
+ "wietnamska",
+ "włoska",
+ "żydowska",
+ "mieszane",
+ "inna",
+ ];
\ No newline at end of file
diff --git a/src/index.js b/src/index.js
index e3990e0..67be22c 100644
--- a/src/index.js
+++ b/src/index.js
@@ -20,7 +20,7 @@ const store = createStore(
rootReducer(history),
compose(
applyMiddleware(routerMiddleware(history), thunk),
- window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
+ window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() : f => f
)
);
diff --git a/src/public/appstore.png b/src/public/appstore.png
new file mode 100644
index 0000000..b2e3db7
Binary files /dev/null and b/src/public/appstore.png differ
diff --git a/src/public/googleplay.png b/src/public/googleplay.png
new file mode 100644
index 0000000..5be08a5
Binary files /dev/null and b/src/public/googleplay.png differ
diff --git a/src/styles/Home.scss b/src/styles/Home.scss
new file mode 100644
index 0000000..eb4e47f
--- /dev/null
+++ b/src/styles/Home.scss
@@ -0,0 +1,36 @@
+.hs {
+ height: 100%;
+ display: flex;
+ flex-flow: column;
+ justify-content: space-around;
+ align-items: center;
+}
+
+.hs-top {
+ display: flex;
+ cursor: pointer;
+ width: fit-content;
+ justify-content: center;
+ background-color: rgba(0, 0, 0, 0.315);
+ color: rgb(184, 184, 184);
+ border-radius: 8px;
+ h5 {
+ font-weight: 500;
+ margin-left: 18px;
+ }
+ transition: background-color 0.2s;
+}
+
+.hs-top:hover {
+ background-color: rgba(71, 71, 71, 0.315);
+}
+
+.hs-top-icon {
+ margin: 18px;
+}
+
+.hs-bottom-icon {
+ height: 3rem;
+ margin: 10px;
+ cursor: pointer;
+}