diff --git a/App.tsx b/App.tsx index f62cd4a..e6b9ca9 100644 --- a/App.tsx +++ b/App.tsx @@ -11,6 +11,28 @@ import { CreateFolderModal, RenameModal, DeleteModal } from './components/FileAc import ConflictModal from './components/ConflictModal'; import { formatBytes } from './utils/formatters'; +const AdSenseBanner: React.FC = () => { + useEffect(() => { + try { + // @ts-ignore + (window.adsbygoogle = window.adsbygoogle || []).push({}); + } catch (e) { + console.error("AdSense error", e); + } + }, []); + + return ( +
+ +
+ ); +}; + const App: React.FC = () => { // --- State --- const savedPref = localStorage.getItem('save_connection_info') !== 'false'; @@ -1035,13 +1057,10 @@ const App: React.FC = () => {
-
+
+ {/* Placeholder for Sponsored tag if needed, or remove it */}
SPONSORED
-
-
GOOGLE ADSENSE
-
Premium Ad Space Available
-
-
+
diff --git a/index.html b/index.html index 52f6c15..f839a1e 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,8 @@ WebFTP by SIMP +