Skip to content

Commit 5f315ed

Browse files
added conditional rendering
1 parent e2329e3 commit 5f315ed

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

src/content/partials/networking-services/reference/traffic-steering.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,12 @@ The following table exemplifies how to use geographic scoping for routes:
160160

161161
When there are multiple routes to the same prefix with equal priority, and those routes are assigned to different geographic regions (like WNAM and ENAM), traffic entering the network in a specific region — for example, WNAM — will egress through the route associated with that same region.
162162

163-
<Render file="routing/anycast-warning" product="networking-services" />
163+
{ props.magicWord === "Magic Transit" && (
164+
<>
165+
<Render file="routing/anycast-warning" product="networking-services" />
166+
</>
167+
)
168+
}
164169

165170
### Region codes and associated regions
166171

src/content/partials/networking-services/routing/configure-routes.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ Refer to <a href={props.trafficSteeringPage}>Traffic Steering</a> for more infor
1919
- Regional scoping of traffic to reduce latency
2020
- BGP peering
2121

22-
<Render file="routing/anycast-warning" product="networking-services" />
22+
{ props.magicWord === "Magic Transit" && (
23+
<>
24+
<Render file="routing/anycast-warning" product="networking-services" />
25+
</>
26+
)
27+
}
2328

2429
## Configure static routes
2530

src/content/partials/networking-services/routing/configure-tunnels.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ To configure the tunnels between Cloudflare and your locations, you must provide
4343

4444
You can use GRE or IPsec tunnels to onboard your traffic to {props.productName}, and set them up via the Cloudflare dashboard or the API. However, if you want to use the API, be sure to have your [account ID](/fundamentals/account/find-account-and-zone-ids/) and [API key](/fundamentals/api/get-started/keys/#view-your-global-api-key) ready before you begin.
4545

46-
<Render file="routing/anycast-warning" product="networking-services" />
46+
{ props.magicWord === "Magic Transit" && (
47+
<>
48+
<Render file="routing/anycast-warning" product="networking-services" />
49+
</>
50+
)
51+
}
4752

4853
#### IPsec supported ciphers
4954

0 commit comments

Comments
 (0)