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
88 changes: 44 additions & 44 deletions frontend/package-lock.json

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

6 changes: 3 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/material": "^7.3.2",
"axios": "^1.11.0",
"@mui/material": "^7.3.4",
"axios": "^1.12.2",
"gsap": "^3.13.0",
"html2pdf.js": "^0.10.3",
"leaflet": "^1.9.4",
"lucide-react": "^0.525.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hot-toast": "^2.5.2",
"react-hot-toast": "^2.6.0",
"react-icons": "^5.5.0",
"react-leaflet": "^4.2.1",
"react-router-dom": "^6.30.1",
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import LinkedInIcon from '../Icons/LinkedInIcon';
import GithubIcon from '../Icons/GithubIcon';
import FooterLogo from './FooterLogo';
import NewsletterSubscription from '../NewsletterSubscription/NewsletterSubscription';
import QRCodeDownload from "./QRCodeDownload";

const Footer = () => {
return (
Expand All @@ -25,6 +26,7 @@ const Footer = () => {
<div className="footer-content-left">
{/* <img src={assets.foodie_icon} alt="Foodie Logo" /> */}
<FooterLogo />
<QRCodeDownload link="https://foodie-beta-rouge.vercel.app/" />
<p>
Enjoy delicious food from your favorite restaurants.
Fast delivery, easy to use, and always satisfying.
Expand Down
20 changes: 20 additions & 0 deletions frontend/src/components/Footer/QRCodeDownload.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from "react";
import { QRCodeCanvas } from "qrcode.react";

const QRCodeDownload = () => {
return (
<div className="qr-code-download">
<h3>📲 Scan to Download</h3>
<QRCodeCanvas
value="https://play.google.com/store/apps/details?id=com.yourapp"
size={150} // size in pixels
bgColor="#ffffff" // background color
fgColor="#000000" // QR color
level="H" // error correction level
includeMargin={true} // adds padding
/>
</div>
);
};

export default QRCodeDownload;
10 changes: 10 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
@@ -1,6 +1,7 @@
{
"dependencies": {
"html2pdf.js": "^0.10.3",
"qrcode.react": "^4.2.0",
"react-icons": "^5.5.0",
"react-to-print": "^3.1.1",
"vite": "7.1.1"
Expand Down