Auto-commit: when user click on image it should be open in popup. width should be 80% of the screen.
This commit is contained in:
@@ -13,6 +13,9 @@ import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'
|
|||||||
import { CheckCircle, Flower2, Leaf, Palette, Sparkles } from "lucide-react";
|
import { CheckCircle, Flower2, Leaf, Palette, Sparkles } from "lucide-react";
|
||||||
import FaqBase from '@/components/sections/faq/FaqBase';
|
import FaqBase from '@/components/sections/faq/FaqBase';
|
||||||
|
|
||||||
|
const handleImageClick = (imageUrl) => {
|
||||||
|
window.open(imageUrl, '_blank', 'width=80%');
|
||||||
|
};
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
const [isLoading, setIsLoading] = useState(false);
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user