From f9dcdaeddcccccbbac95d7fe6c850e008cc0ecb3 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 10:08:00 +0000 Subject: [PATCH] Add home icon to share boxes Add a home icon to the share boxes and link it to the homepage. --- src/components/SocialShare.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/SocialShare.tsx b/src/components/SocialShare.tsx index 78dd5a5..1b297fe 100644 --- a/src/components/SocialShare.tsx +++ b/src/components/SocialShare.tsx @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'; import { Button } from '@/components/ui/button'; import { Card, CardContent } from '@/components/ui/card'; import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from '@/components/ui/dialog'; -import { Share2, Copy, QrCode, Twitter, Facebook, Linkedin } from 'lucide-react'; +import { Share2, Copy, QrCode, Twitter, Facebook, Linkedin, Home } from 'lucide-react'; import { useToast } from '@/hooks/use-toast'; import QRCode from 'qrcode'; import { validateShareData, rateLimiter } from '@/utils/security'; @@ -204,6 +204,17 @@ const SocialShare: React.FC = ({ + + {/* Home button */} +