Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"mui-mdi": "^1.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-icons": "^4.3.1",
"react-router-dom": "^5.3.0",
"react-scripts": "4.0.3",
"web-vitals": "^1.1.2"
Expand Down
29 changes: 25 additions & 4 deletions src/components/Components.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,37 @@
background-color: #dfb1d9;
display: flex;
margin: 5%;

background: rgba( 255, 255, 255, 0.05 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 7px );
-webkit-backdrop-filter: blur( 7px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );

display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

.filter{
color:white;
color:black;
display: flex;
justify-content: flex-end;
align-content: flex-start;
flex-wrap: wrap;
position: fixed;
right: 0;
background: rgba( 255, 255, 255, 0.25 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 4px );
-webkit-backdrop-filter: blur( 4px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.socialMedia{
display: flex;
flex-direction: row;
justify-content: space-evenly;
}

.restaurantCard:hover{
Expand Down Expand Up @@ -64,6 +79,12 @@
display: flex;
align-content: center;
justify-content: space-around;
background: black( 255, 255, 255, 0.25 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 4px );
-webkit-backdrop-filter: blur( 4px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.navBar .logo{object-fit: contain;
Expand All @@ -73,7 +94,7 @@
.navBar a{

height: 40px;
color: black;
color: white;
padding: 0.5%;
align-content: center;
}
Expand Down
17 changes: 16 additions & 1 deletion src/components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
import React from 'react'
import {FaInstagram} from "react-icons/fa"
import {FaTwitter} from "react-icons/fa"
import {FaFacebook} from "react-icons/fa"
import {FaLinkedin} from "react-icons/fa"
import {FaGithub} from "react-icons/fa"



function Footer(){
return(
<p> call us @zahir_a1</p>

<div className = "socialMedia">
<a href = "https://instagram.com/zahir_a1?utm_medium=copy_link"> <FaInstagram/> Follow us at zahir_a1</a>
<a href ="https://twitter.com/LatifJazim"><FaTwitter/> Stalk us on Twitter</a>
<a href = "https://en-gb.facebook.com/"><FaFacebook/> For selling your data!</a>
<a href ="https://www.linkedin.com/in/vinh-chu-7502b81b3/"><FaLinkedin/> Look out for big business updates</a>
<a href ="https://github.com/zahir679/Front-end-Project"><FaGithub/> To have access to the project find us on GitHub</a>
</div>
)
}

Expand Down
16 changes: 8 additions & 8 deletions src/components/RestaurantCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ function RestaurantCard({ restaurant, onClick }) {

<img class="cuisineImage" src={imageChoice} alt='Picture of food'/>

<h3>Name:</h3>
<p>{restaurant.restaurantName}</p>
<h4>Name:</h4>
<h4>{restaurant.restaurantName}</h4>
<h4>Address:</h4>
<p>{restaurant.address}</p>
<h4>{restaurant.address}</h4>
<h4>Cuisine:</h4>
<p>{restaurant.cuisine}</p>
<h4>{restaurant.cuisine}</h4>
<h4>Price:</h4>
<p>{restaurant.price}</p>
<h4>{restaurant.price}</h4>
<h4>Vegetarian:</h4>
<p>{restaurant.vegetarian ? "Yes" : "No"}</p>
<h4>{restaurant.vegetarian ? "Yes" : "No"}</h4>
<h4>Halal:</h4>
<p>{restaurant.halal ? "Yes" : "No"}</p>
<h4>{restaurant.halal ? "Yes" : "No"}</h4>
<h4>Gluten free?</h4>
<p>{restaurant.glutenFree ? "Yes" : "No"}</p>
<h4>{restaurant.glutenFree ? "Yes" : "No"}</h4>

{/* <button onClick={() => onQuickView(restaurant.id)}>Review Page</button> */}
{/* <hr/> */}
Expand Down