From 503193b5ef46e78c024031b09f5bc92f44a31930 Mon Sep 17 00:00:00 2001 From: David Mytton Date: Fri, 6 Dec 2024 15:07:27 +0000 Subject: [PATCH] chore: Distinguish features by plan (#313) --- src/content/docs/blueprints/cookie-banner.mdx | 16 +- .../docs/blueprints/ip-geolocation.mdx | 21 ++- .../docs/blueprints/vpn-proxy-detection.mdx | 12 +- src/content/docs/reference/bun.mdx | 108 +---------- src/content/docs/reference/nestjs.mdx | 108 +---------- src/content/docs/reference/nextjs.mdx | 168 ++++-------------- src/content/docs/reference/nodejs.mdx | 108 +---------- src/content/docs/reference/remix.mdx | 108 +---------- src/content/docs/reference/sveltekit.mdx | 108 +---------- src/snippets/reference/shared/IPAnalysis.mdx | 121 +++++++++++++ 10 files changed, 195 insertions(+), 683 deletions(-) create mode 100644 src/snippets/reference/shared/IPAnalysis.mdx diff --git a/src/content/docs/blueprints/cookie-banner.mdx b/src/content/docs/blueprints/cookie-banner.mdx index f0b0bb1b..50186aed 100644 --- a/src/content/docs/blueprints/cookie-banner.mdx +++ b/src/content/docs/blueprints/cookie-banner.mdx @@ -3,11 +3,21 @@ title: "Cookie Banner with Arcjet" description: "Use Arcjet's IP analysis to show a cookie banner in some jurisdictions." --- -import { Aside } from "@astrojs/starlight/components"; +import { Aside, Badge } from "@astrojs/starlight/components"; -Cookie banners serve as digital consent notices, informing visitors about data tracking practices. While not universally mandated, they are required in specific jurisdictions, notably the EU under GDPR. Prudent websites implement these notifications selectively, ensuring compliance where necessary while preserving a streamlined user experience in regions without such requirements. +Cookie banners serve as digital consent notices, informing visitors about data +tracking practices. While not universally mandated, they are required in +specific jurisdictions, notably the EU under GDPR. Prudent websites implement +these notifications selectively, ensuring compliance where necessary while +preserving a streamlined user experience in regions without such requirements. -Using Arcjet's IP Geolocation feature it is possible to selectively show the banner's to users resident in jurisdictions that require them, without interfering with the experience of everyone else. +Using Arcjet's IP Geolocation feature it is possible to selectively show the +banner's to users resident in jurisdictions that require them, without +interfering with the experience of everyone else. + +Country data is available on the plan, +but the region data is only available on the +and above.