Skip to content

Commit 3aca976

Browse files
Link and copy tweaks
1 parent c5d1dd6 commit 3aca976

3 files changed

Lines changed: 25 additions & 6 deletions

File tree

assets/APIM-Samples-Slide-Deck.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ <h4>Azure Maps</h4>
11181118
</div>
11191119
<div class="arch-card">
11201120
<h4>Costing</h4>
1121-
<p>Track API costs per business unit via subscriptions, Entra ID apps, and AI Gateway tokens, including streaming token usage (not simple to capture correctly in APIM).</p>
1121+
<p>Track API costs per business unit via subscriptions, Entra ID apps, and AI Gateway tokens, <em>including streaming (SSE) token usage</em> (not simple to capture correctly in APIM).</p>
11221122
</div>
11231123
<div class="arch-card">
11241124
<h4>Dynamic CORS</h4>

docs/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ <h1>Azure API Management <span class="accent">Samples</span></h1>
233233
<div class="container">
234234
<h2 id="value-heading" class="visually-hidden">Why APIM Samples</h2>
235235
<div class="value-grid">
236-
<article class="value-card">
236+
<a class="value-card value-card-link" href="#infrastructures">
237237
<!-- Inline SVG, not emoji: the building-construction and
238238
fork-and-plate emoji default to monochrome text
239239
presentation on most platforms, and this repo forbids
@@ -252,8 +252,8 @@ <h3>Infrastructures</h3>
252252
Five pre-built Azure architectures, from a simple public APIM instance through to Front Door,
253253
Application Gateway, Private Link, and VNet-injected designs.
254254
</p>
255-
</article>
256-
<article class="value-card">
255+
</a>
256+
<a class="value-card value-card-link" href="#samples">
257257
<div class="icon" aria-hidden="true">
258258
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
259259
<path d="M10 3v6L4 20h16L14 9V3"/>
@@ -266,7 +266,7 @@ <h3>Samples</h3>
266266
Real-world policy examples covering authentication, load balancing, cost allocation, OAuth
267267
credential management, and more.
268268
</p>
269-
</article>
269+
</a>
270270
<article class="value-card">
271271
<div class="icon" aria-hidden="true">
272272
<svg viewBox="0 0 24 24">
@@ -447,7 +447,7 @@ <h3>Azure Maps</h3>
447447

448448
<a class="sample-card" href="https://github.com/Azure-Samples/Apim-Samples/tree/main/samples/costing" target="_blank" rel="noopener">
449449
<h3>Costing</h3>
450-
<p>Track and allocate API costs per business unit using subscriptions, Entra ID application tracking, and AI Gateway token/PTU tracking including streaming (SSE) token usage, which is not simple to capture correctly in APIM.</p>
450+
<p>Track and allocate API costs per business unit using subscriptions, Entra ID application tracking, and AI Gateway token/PTU tracking <em>including streaming (SSE) token usage</em>, which is not simple to capture correctly in APIM.</p>
451451
<span class="infra-tag">All infrastructures</span>
452452
</a>
453453

docs/styles.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,25 @@ img { max-width: 100%; height: auto; }
439439
box-shadow: var(--shadow-card);
440440
}
441441

442+
/* Anchor variant: the Infrastructures and Samples value cards link to their
443+
respective in-page sections. Strip default link styling and mirror the
444+
subtle lift used by .infra-card / .sample-card so the affordance is
445+
consistent across the page. */
446+
a.value-card-link {
447+
display: block;
448+
text-decoration: none;
449+
color: inherit;
450+
transition: transform var(--transition-card), box-shadow var(--transition-card), border-color var(--transition-card);
451+
}
452+
453+
a.value-card-link:hover,
454+
a.value-card-link:focus-visible {
455+
transform: translateY(-4px);
456+
box-shadow: var(--shadow-card-hover);
457+
border-color: var(--brand-blue);
458+
color: inherit;
459+
}
460+
442461
/* Icon is a gradient circle echoing the .step::before counter badge
443462
further down the page, so the two sections share visual DNA.
444463
The SVG child uses currentColor for fill/stroke; setting color

0 commit comments

Comments
 (0)