From a6c9b2f3a7e3a323d102a3f38e23871da9486bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Mon, 20 Apr 2026 15:09:13 +0400 Subject: [PATCH] Remove examples on snippet page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- .../snippet/CookieBannerSnippetPage.tsx | 60 +------------------ 1 file changed, 1 insertion(+), 59 deletions(-) diff --git a/apps/console/src/pages/organizations/cookie-banners/configuration/snippet/CookieBannerSnippetPage.tsx b/apps/console/src/pages/organizations/cookie-banners/configuration/snippet/CookieBannerSnippetPage.tsx index fed1927b5..de854d150 100644 --- a/apps/console/src/pages/organizations/cookie-banners/configuration/snippet/CookieBannerSnippetPage.tsx +++ b/apps/console/src/pages/organizations/cookie-banners/configuration/snippet/CookieBannerSnippetPage.tsx @@ -37,7 +37,6 @@ export default function CookieBannerSnippetPage() { description={__("Mark scripts, iframes, and other third-party resources with a data-cookie-consent attribute so they only load after the visitor grants consent for the corresponding category. Replace src with data-src (or href with data-href) to prevent the browser from loading the resource before consent is given.")} >
-

{__("Scripts")}

               
@@ -54,65 +53,8 @@ export default function CookieBannerSnippetPage() {
             
-

{__("Inline scripts")}

- -
-              
-                {``}
-              
-            
-
- -

{__("Iframes & embeds")}

- -
-              
-                {``}
-              
-            
-
- -

{__("Images, video & audio")}

- -
-              
-                {``}
-              
-            
-
- -

{__("Stylesheets")}

- -
-              
-                {``}
-              
-            
-
-

- {__("Supported elements: script, iframe, img, video, audio, embed, object, and link. The data-cookie-consent value must match a category name configured in your banner settings.")} + {__("The same approach works for iframes, images, stylesheets, and other elements. See our documentation for the full list of supported elements and detailed integration guides.")}