Skip to content

Commit

Permalink
removed unnecessary UI
Browse files Browse the repository at this point in the history
  • Loading branch information
VihaanShah26 committed Nov 8, 2024
1 parent 6fa49fc commit cb482c0
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 6 deletions.
42 changes: 42 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 @@
"firebase-admin": "^12.7.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react-router-dom": "^6.28.0",
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1"
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ export const Banner = ({ cafes }) => {
</div>

<div className="banner-buttons">
<button className="banner-btn">
{/* <button className="banner-btn">
Review
</button>
</button> */}
{user ? (
<button className="banner-btn" onClick={handleLogout}>
Logout
Expand Down
10 changes: 8 additions & 2 deletions src/components/CafeList.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@
}

.cafe-list {
display: block;
flex-grow: 1;
width: 100%;
align-items: center;
justify-content: center;
display: flex;
flex-wrap: wrap;
gap: 1rem;
padding: 1rem;
overflow-y: auto;
}

.cafe-card {
Expand Down
4 changes: 2 additions & 2 deletions src/components/CafeList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const CafeList = ({ cafes }) => {

return (
<div className="cafe-list-container">
<div className="filter">
{/* <div className="filter">
<h4>Filter Options</h4>
<label>
Rating:
Expand All @@ -26,7 +26,7 @@ const CafeList = ({ cafes }) => {
Location:
<input type="text" placeholder="Search by location" />
</label>
</div>
</div> */}
<div className="cafe-list">
{cafes.map((cafe) => (
<div
Expand Down

0 comments on commit cb482c0

Please sign in to comment.