From b9919df00b0b49def63c68a6430d5d1cac62d9c4 Mon Sep 17 00:00:00 2001 From: LGram16 Date: Fri, 6 Feb 2026 16:22:42 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B4=91=EA=B3=A0=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.tsx | 31 +++++++++++++++++++++++++++++++ index.html | 1 + 2 files changed, 32 insertions(+) diff --git a/App.tsx b/App.tsx index d094da5..33c55ef 100644 --- a/App.tsx +++ b/App.tsx @@ -76,6 +76,26 @@ const MapResizer = () => { return null; }; +const AdSenseComponent = () => { + useEffect(() => { + try { + // @ts-ignore + (window.adsbygoogle = window.adsbygoogle || []).push({}); + } catch (e) { + console.error('AdSense error:', e); + } + }, []); + + return ( + + ); +}; + const ChangeView = ({ center, zoom }: { center: [number, number], zoom?: number }) => { const map = useMap(); useEffect(() => { @@ -380,6 +400,17 @@ const App: React.FC = () => { }} className="p-2 bg-gray-900 text-white rounded-xl active:scale-90 shadow-lg"> + + {/* Sponsor/AdSense Space */} +
+
+
+ Sponsor +
+
+ +
+
diff --git a/index.html b/index.html index 8ebceb8..3d68c55 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ Private Wifi List +