-
-
Znaleziono: {count}
-
+
+
+
+ {restaurants}
- {restaurants}
);
}
diff --git a/src/index.js b/src/index.js
index 0f9efab..f32c075 100644
--- a/src/index.js
+++ b/src/index.js
@@ -16,7 +16,6 @@ const store = createStore(
rootReducer(history),
compose(
applyMiddleware(routerMiddleware(history), thunk),
- window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() : f => f
)
);
diff --git a/src/reducers/data.js b/src/reducers/data.js
index 46943c4..c48695b 100644
--- a/src/reducers/data.js
+++ b/src/reducers/data.js
@@ -22,6 +22,10 @@ const initialState = {
},
backdrop: false,
tempData: {},
+ filters: {
+ type: [],
+ tags: []
+ }
};
const data = (state = initialState, action) => {
diff --git a/src/styles/Pictograms.scss b/src/styles/Pictograms.scss
index 9e4a485..3da3926 100644
--- a/src/styles/Pictograms.scss
+++ b/src/styles/Pictograms.scss
@@ -1,8 +1,8 @@
.pictograms-container {
height: 30px;
margin: 0px 8px 0px 0px;
- background-color: #444444;
- border-radius: 24px;
+/* background-color: #444444;
+ border-radius: 24px; */
padding: 2px;
width: fit-content;
}
diff --git a/src/styles/SearchPanel.scss b/src/styles/SearchPanel.scss
index 48e2dfd..6cd69ab 100644
--- a/src/styles/SearchPanel.scss
+++ b/src/styles/SearchPanel.scss
@@ -5,5 +5,6 @@
.btnContainer {
margin-left: 24px;
+ margin-right: 14px;
}
}
diff --git a/src/styles/SearchResults.scss b/src/styles/SearchResults.scss
index d92bf6c..10c1488 100644
--- a/src/styles/SearchResults.scss
+++ b/src/styles/SearchResults.scss
@@ -1,12 +1,39 @@
@import "./Design.scss";
.search-results {
- min-width: 60%;
- max-width: 90%;
+ height: 100%;
+ width: 100%;
+}
+
+.search-top{
+ background-color:$dark-gray;
+ width: 100%;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 0;
+}
+
+.search-top-left{
+ margin-left: 24px;
+}
+
+.search-top-lower{
+ margin-top: 0;
+ background-color: #202020;
+ p{
+ margin-top: 0;
+ padding: 8px;
+ }
+}
+
+.search-middle{
+ width: fit-content;
+ margin: auto;
}
.card-restaurant {
- border-radius: 15px;
+ border-radius: 22px;
padding: 4px;
margin: 10px 0px 10px 0px;
background-color: #202020;
@@ -25,8 +52,7 @@
min-width: 180px;
height: 180px;
margin: 10px;
- border-radius: 10px;
- //border-radius: 100px;
+ border-radius: 16px;
background-size: cover;
}
@@ -63,12 +89,12 @@
}
.card-pictograms {
- margin-bottom: 0px;
+ margin-bottom: 12px;
}
.results-count {
width: 100%;
- color: $secondary-color;
+ color: $gray;
text-align: left;
margin-top: 20px;
margin-bottom: 20px;
diff --git a/src/styles/TopBar.scss b/src/styles/TopBar.scss
index 2c19f5c..e015d58 100644
--- a/src/styles/TopBar.scss
+++ b/src/styles/TopBar.scss
@@ -5,7 +5,7 @@
display: flex;
justify-content: space-between;
background-color: $main-color;
- position: fixed;
+ position: sticky;
z-index: 3;
}