diff --git a/src/public/i_alcohol.svg b/src/public/i_alcohol.svg
new file mode 100644
index 0000000..ed3b115
--- /dev/null
+++ b/src/public/i_alcohol.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_card.svg b/src/public/i_card.svg
new file mode 100644
index 0000000..567087a
--- /dev/null
+++ b/src/public/i_card.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_delivery.svg b/src/public/i_delivery.svg
new file mode 100644
index 0000000..0d27d14
--- /dev/null
+++ b/src/public/i_delivery.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_eggs.svg b/src/public/i_eggs.svg
new file mode 100644
index 0000000..d856c31
--- /dev/null
+++ b/src/public/i_eggs.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_gluten.svg b/src/public/i_gluten.svg
new file mode 100644
index 0000000..fe40fa2
--- /dev/null
+++ b/src/public/i_gluten.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_glutenFree.svg b/src/public/i_glutenFree.svg
new file mode 100644
index 0000000..e5b4a3d
--- /dev/null
+++ b/src/public/i_glutenFree.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_lactose.svg b/src/public/i_lactose.svg
new file mode 100644
index 0000000..0b422ee
--- /dev/null
+++ b/src/public/i_lactose.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_lactoseFree.svg b/src/public/i_lactoseFree.svg
new file mode 100644
index 0000000..a4c01f5
--- /dev/null
+++ b/src/public/i_lactoseFree.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_peanuts.svg b/src/public/i_peanuts.svg
new file mode 100644
index 0000000..19646cf
--- /dev/null
+++ b/src/public/i_peanuts.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_pets.svg b/src/public/i_pets.svg
new file mode 100644
index 0000000..88e7b74
--- /dev/null
+++ b/src/public/i_pets.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_seaFood.svg b/src/public/i_seaFood.svg
new file mode 100644
index 0000000..6e33c5d
--- /dev/null
+++ b/src/public/i_seaFood.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_sesame.svg b/src/public/i_sesame.svg
new file mode 100644
index 0000000..6fdd3b0
--- /dev/null
+++ b/src/public/i_sesame.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_soy.svg b/src/public/i_soy.svg
new file mode 100644
index 0000000..468b713
--- /dev/null
+++ b/src/public/i_soy.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_vegan.svg b/src/public/i_vegan.svg
new file mode 100644
index 0000000..0376411
--- /dev/null
+++ b/src/public/i_vegan.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/public/i_vegetarian.svg b/src/public/i_vegetarian.svg
new file mode 100644
index 0000000..acf75f6
--- /dev/null
+++ b/src/public/i_vegetarian.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/reducers/appMode.js b/src/reducers/appMode.js
index b7bb239..a8e04dc 100644
--- a/src/reducers/appMode.js
+++ b/src/reducers/appMode.js
@@ -1,4 +1,4 @@
-const appModeReducer = (state = "search results", action) => {
+const appModeReducer = (state = "init", action) => {
switch (action.type) {
case "APP_INIT":
return (state = "init");
diff --git a/src/styles/Pictograms.scss b/src/styles/Pictograms.scss
new file mode 100644
index 0000000..8b2ce9f
--- /dev/null
+++ b/src/styles/Pictograms.scss
@@ -0,0 +1,10 @@
+.pictograms-container {
+ height: 30px;
+ margin: 8px 8px 8px 0px;
+}
+
+.pictogram {
+ margin: 6px;
+ height: 20px;
+ width: 20px;
+}
diff --git a/src/styles/SearchResults.scss b/src/styles/SearchResults.scss
index ffe1e89..41cd87d 100644
--- a/src/styles/SearchResults.scss
+++ b/src/styles/SearchResults.scss
@@ -4,16 +4,14 @@
}
.card-restaurant {
- background-color: #f7f7f7;
- margin: 14px;
+ margin: 20px 0px 20px 0px;
color: $secondary-color;
- border-radius: 10px;
min-width: 70vw;
min-height: 200px;
display: flex;
cursor: pointer;
- :hover {
- background-color: #ebebeb;
+ &:hover {
+ color: $main-color;
}
}
@@ -21,7 +19,7 @@
width: 180px;
height: 180px;
margin: 10px;
- border-radius: 8px;
+ border-radius: 100px;
background-image: url("../public/cat.jpg");
background-size: cover;
}
@@ -29,21 +27,43 @@
.card-info {
text-align: start;
flex-grow: 6;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
h1 {
color: $main-color;
font-size: 1.6rem;
font-weight: 300;
margin-bottom: 4px;
+ margin-top: 8px;
}
h3 {
font-weight: 400;
margin-top: 2px;
margin-bottom: 2px;
- font-size: 0.8rem;
+ font-size: 0.9rem;
}
hr {
color: $main-color;
border: solid 1px;
}
}
+
+.card-pictograms {
+ margin-bottom: 4px;
+}
+
+.results-count {
+ width: 100%;
+ color: $secondary-color;
+ text-align: left;
+ margin-top: 20px;
+ margin-bottom: 20px;
+ hr {
+ border: solid 1px rgb(238, 238, 238);
+ }
+ p {
+ font-size: 0.9rem;
+ }
+}
diff --git a/src/styles/TopBar.scss b/src/styles/TopBar.scss
index 0c05ba9..2f9c30d 100644
--- a/src/styles/TopBar.scss
+++ b/src/styles/TopBar.scss
@@ -10,4 +10,8 @@
.topBarLogo {
height: 2.4rem;
margin: 16px;
+ cursor: pointer;
+ &:hover {
+ opacity: 0.5;
+ }
}