chore: remove OfferBlock learn more button and change to coming soon

This commit is contained in:
Dwindi Ramadhana
2026-06-13 18:45:52 +07:00
parent 3a475e9df2
commit 6a14eebf25
112 changed files with 34918 additions and 10833 deletions

0
src/App.js Normal file → Executable file
View File

BIN
src/components/._AdBlock.js Executable file

Binary file not shown.

Binary file not shown.

BIN
src/components/._OfferBlock.js Executable file

Binary file not shown.

Binary file not shown.

10
src/components/AdBlock.js Normal file → Executable file
View File

@@ -1,6 +1,10 @@
import React, { useEffect, useRef } from 'react';
import React, { useEffect, useRef } from "react";
const AdBlock = ({ className = '', adKey = 'e0ca7c61c83457f093bbc2e261b43d31', adDomain = 'solutionbiologyisle.com' }) => {
const AdBlock = ({
className = "",
adKey = "e0ca7c61c83457f093bbc2e261b43d31",
adDomain = "www.highperformanceformat.com",
}) => {
const iframeRef = useRef(null);
useEffect(() => {
@@ -39,7 +43,7 @@ const AdBlock = ({ className = '', adKey = 'e0ca7c61c83457f093bbc2e261b43d31', a
<iframe
ref={iframeRef}
className={`bg-gray-100 dark:bg-gray-800 rounded-lg overflow-hidden ${className}`}
style={{ width: '300px', height: '250px', border: 'none' }}
style={{ width: "300px", height: "250px", border: "none" }}
title="Advertisement"
sandbox="allow-scripts allow-same-origin"
/>

0
src/components/AdColumn.js Normal file → Executable file
View File

0
src/components/AdvancedURLFetch.js Normal file → Executable file
View File

0
src/components/AffiliateBlock.js Normal file → Executable file
View File

0
src/components/CodeEditor.js Normal file → Executable file
View File

0
src/components/CodeMirrorEditor.js Normal file → Executable file
View File

0
src/components/ConsentBanner.js Normal file → Executable file
View File

0
src/components/CopyButton.js Normal file → Executable file
View File

0
src/components/ErrorBoundary.js Normal file → Executable file
View File

0
src/components/Layout.js Normal file → Executable file
View File

0
src/components/Loading.js Normal file → Executable file
View File

0
src/components/MindmapView.js Normal file → Executable file
View File

14
src/components/MobileAdBanner.js Normal file → Executable file
View File

@@ -1,5 +1,5 @@
import React, { useEffect, useRef, useState } from 'react';
import { X } from 'lucide-react';
import React, { useEffect, useRef, useState } from "react";
import { X } from "lucide-react";
const MobileAdBanner = () => {
const [visible, setVisible] = useState(true);
@@ -7,8 +7,8 @@ const MobileAdBanner = () => {
const iframeRef = useRef(null);
useEffect(() => {
const wasClosed = sessionStorage.getItem('mobileAdClosed');
if (wasClosed === 'true') {
const wasClosed = sessionStorage.getItem("mobileAdClosed");
if (wasClosed === "true") {
setClosed(true);
setVisible(false);
}
@@ -42,7 +42,7 @@ const MobileAdBanner = () => {
'params' : {}
};
</script>
<script type="text/javascript" src="https://solutionbiologyisle.com/2965bcf877388cafa84160592c550f5a/invoke.js"></script>
<script type="text/javascript" src="https://www.highperformanceformat.com/2965bcf877388cafa84160592c550f5a/invoke.js"></script>
</body>
</html>
`);
@@ -55,7 +55,7 @@ const MobileAdBanner = () => {
const handleClose = () => {
setVisible(false);
setClosed(true);
sessionStorage.setItem('mobileAdClosed', 'true');
sessionStorage.setItem("mobileAdClosed", "true");
};
if (!visible || closed) return null;
@@ -72,7 +72,7 @@ const MobileAdBanner = () => {
<div className="flex justify-center items-center py-2">
<iframe
ref={iframeRef}
style={{ width: '320px', height: '50px', border: 'none' }}
style={{ width: "320px", height: "50px", border: "none" }}
title="Mobile Advertisement"
sandbox="allow-scripts allow-same-origin"
/>

0
src/components/NavigationConfirmModal.js Normal file → Executable file
View File

18
src/components/OfferBlock.js Normal file → Executable file
View File

@@ -1,20 +1,16 @@
import React from 'react';
import React from "react";
const OfferBlock = () => {
return (
<div className="w-[300px] h-[250px] bg-gradient-to-br from-indigo-500 to-purple-600 rounded-lg flex flex-col items-center justify-center text-white p-6 text-center shadow-lg hover:shadow-xl transition-shadow duration-300">
<span className="bg-white/20 text-xs font-bold px-2 py-1 rounded mb-4 backdrop-blur-sm">
SPECIAL OFFER
<span className="bg-white/20 text-xs font-bold px-2 py-1 rounded mb-4 backdrop-blur-sm uppercase tracking-wider">
Coming Soon
</span>
<h3 className="text-2xl font-bold mb-2">
Upgrade to PRO
</h3>
<p className="text-indigo-100 text-sm mb-6">
Get unlimited access to all developer tools and features.
<h3 className="text-2xl font-bold mb-2">Upgrade to PRO</h3>
<p className="text-indigo-100 text-sm mb-6 leading-relaxed">
We are preparing a premium ad-free experience with exclusive developer
tools and features. Stay tuned!
</p>
<button className="bg-white text-indigo-600 font-bold py-2 px-6 rounded-full hover:bg-indigo-50 transition-colors shadow-md">
Learn More
</button>
</div>
);
};

0
src/components/PostmanTable.js Normal file → Executable file
View File

0
src/components/PostmanTreeTable.js Normal file → Executable file
View File

0
src/components/ProBadge.js Normal file → Executable file
View File

0
src/components/RelatedTools.js Normal file → Executable file
View File

0
src/components/SEO.js Normal file → Executable file
View File

0
src/components/SEOHead.js Normal file → Executable file
View File

0
src/components/StructuredEditor.js Normal file → Executable file
View File

13
src/components/TabletAdSection.js Normal file → Executable file
View File

@@ -1,7 +1,7 @@
import React from 'react';
import AdBlock from './AdBlock';
import OfferBlock from './OfferBlock';
import AffiliateBlock from './AffiliateBlock';
import React from "react";
import AdBlock from "./AdBlock";
import OfferBlock from "./OfferBlock";
import AffiliateBlock from "./AffiliateBlock";
const TabletAdSection = () => {
return (
@@ -11,7 +11,10 @@ const TabletAdSection = () => {
</h3>
<div className="flex justify-center gap-4 overflow-x-auto pb-4">
<div className="flex-shrink-0">
<AdBlock adKey="7c55aebcdd74f6e9a8dc24bd13e7d949" adDomain="solutionbiologyisle.com" />
<AdBlock
adKey="7c55aebcdd74f6e9a8dc24bd13e7d949"
adDomain="www.highperformanceformat.com"
/>
</div>
<div className="flex-shrink-0">
<OfferBlock />

0
src/components/ThemeToggle.js Normal file → Executable file
View File

0
src/components/ToolCard.js Normal file → Executable file
View File

0
src/components/ToolLayout.js Normal file → Executable file
View File

0
src/components/ToolSidebar.js Normal file → Executable file
View File

0
src/components/invoice-templates/MinimalTemplate.js Normal file → Executable file
View File

0
src/config/features.js Normal file → Executable file
View File

0
src/config/tools.js Normal file → Executable file
View File

0
src/data/faqs.js Normal file → Executable file
View File

0
src/hooks/useAnalytics.js Normal file → Executable file
View File

0
src/hooks/useNavigationGuard.js Normal file → Executable file
View File

0
src/index.css Normal file → Executable file
View File

0
src/index.js Normal file → Executable file
View File

0
src/pages/Base64Tool.js Normal file → Executable file
View File

0
src/pages/BeautifierTool.js Normal file → Executable file
View File

0
src/pages/DiffTool.js Normal file → Executable file
View File

0
src/pages/Home.js Normal file → Executable file
View File

0
src/pages/InvoiceEditor.js Normal file → Executable file
View File

0
src/pages/InvoicePreview.js Normal file → Executable file
View File

0
src/pages/InvoicePreviewMinimal.js Normal file → Executable file
View File

0
src/pages/MarkdownEditor.js Normal file → Executable file
View File

0
src/pages/NotFound.js Normal file → Executable file
View File

0
src/pages/ObjectEditor.js Normal file → Executable file
View File

0
src/pages/PrivacyPolicy.js Normal file → Executable file
View File

0
src/pages/ReleaseNotes.js Normal file → Executable file
View File

0
src/pages/TableEditor.js Normal file → Executable file
View File

0
src/pages/TermsOfService.js Normal file → Executable file
View File

0
src/pages/TextLengthTool.js Normal file → Executable file
View File

0
src/pages/UrlTool.js Normal file → Executable file
View File

0
src/pages/components/CodeInputsNew.js Normal file → Executable file
View File

0
src/pages/components/ElementEditor.js Normal file → Executable file
View File

0
src/pages/components/PreviewFrame.js Normal file → Executable file
View File

0
src/pages/components/PreviewServer.js Normal file → Executable file
View File

0
src/pages/components/SimpleToolbar.js Normal file → Executable file
View File

0
src/pages/components/Toolbar.js Normal file → Executable file
View File

0
src/styles/device-frames.css Normal file → Executable file
View File

0
src/styles/diff-theme.css Normal file → Executable file
View File

0
src/styles/markdown-preview.css Normal file → Executable file
View File

0
src/utils/analytics.js Normal file → Executable file
View File

0
src/utils/browserCompat.js Normal file → Executable file
View File

0
src/utils/consentManager.js Normal file → Executable file
View File

0
src/utils/contentExtractor.js Normal file → Executable file
View File

0
src/utils/releaseNotesAPI.js Normal file → Executable file
View File

0
src/utils/seo.js Normal file → Executable file
View File

0
src/utils/sitemapGenerator.js Normal file → Executable file
View File