Skip to content

Commit 26b8c37

Browse files
committed
Version 3.1
1 parent a1f257d commit 26b8c37

2 files changed

Lines changed: 78 additions & 24 deletions

File tree

src/react/src/pages/index.js

Lines changed: 47 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ function HeroSection() {
136136
return (
137137
<header className={styles.hero}>
138138
<div className={styles.heroInner}>
139-
<div className={styles.heroTagline}>
139+
<a className={styles.heroTagline} href="#whats-new">
140140
<span className={styles.newBadge}>
141141
<Translate id="badge.new">NEW</Translate>
142142
</span>
143143
<Translate id="hero.tagline">
144144
New pillars and a redesigned Assessment Overview
145145
</Translate>
146-
</div>
146+
</a>
147147

148148
<h1 className={styles.heroTitle}>
149149
<Translate id="hero.title">
@@ -160,17 +160,28 @@ function HeroSection() {
160160
</p>
161161

162162
<div className={styles.heroCtas}>
163-
<Link
164-
className={styles.ctaPrimary}
165-
href="https://zerotrust.microsoft.com/"
166-
>
167-
<Translate id="hero.cta.workshop">Launch Workshop</Translate>
168-
</Link>
163+
<div className={styles.heroPrimaryCtas}>
164+
<Link
165+
className={styles.ctaPrimary}
166+
href="https://zerotrust.microsoft.com/"
167+
>
168+
<Translate id="hero.cta.workshop">Launch Workshop</Translate>
169+
</Link>
170+
<Link
171+
className={styles.ctaPrimary}
172+
href="https://learn.microsoft.com/security/zero-trust/assessment/get-started"
173+
>
174+
<Translate id="hero.cta.assessment">Run Assessment</Translate>
175+
</Link>
176+
</div>
169177
<Link
170178
className={styles.ctaSecondary}
171-
href="https://learn.microsoft.com/security/zero-trust/assessment/get-started"
179+
href="https://microsoft.github.io/zerotrustassessment/demo/#/"
172180
>
173-
<Translate id="hero.cta.assessment">Run Assessment</Translate>
181+
<Translate id="hero.cta.assessmentDemo">
182+
View Assessment Demo
183+
</Translate>{" "}
184+
174185
</Link>
175186
</div>
176187

@@ -183,7 +194,7 @@ function HeroSection() {
183194
/* ─── Section 2: Latest Updates ──────────────────────────── */
184195
function LatestUpdates() {
185196
return (
186-
<section className={styles.aiSpotlight}>
197+
<section id="whats-new" className={styles.aiSpotlight}>
187198
<div className={styles.aiSpotlightInner}>
188199
<div className={styles.aiPill}>
189200
<Translate id="ai.pill">What&apos;s New</Translate>
@@ -220,9 +231,12 @@ function LatestUpdates() {
220231
Zero Trust roadmap with dedicated DevSecOps guidance.
221232
</Translate>
222233
</p>
223-
<span className={`${styles.pillarItem} ${styles.pillarHighlighted}`}>
234+
<Link
235+
className={`${styles.pillarItem} ${styles.pillarHighlighted}`}
236+
href="https://zerotrust.microsoft.com/"
237+
>
224238
<Translate id="pillar.devsecops">DevSecOps</Translate>
225-
</span>
239+
</Link>
226240
</div>
227241

228242
<div className={styles.releaseItem}>
@@ -243,20 +257,32 @@ function LatestUpdates() {
243257
</Translate>
244258
</p>
245259
<div className={styles.pillarRow}>
246-
<span className={`${styles.pillarItem} ${styles.pillarHighlighted}`}>
260+
<Link
261+
className={`${styles.pillarItem} ${styles.pillarHighlighted}`}
262+
href="https://microsoft.github.io/zerotrustassessment/demo/#/infrastructure"
263+
>
247264
<Translate id="pillar.infrastructure">Infrastructure</Translate>
248-
</span>
249-
<span className={`${styles.pillarItem} ${styles.pillarHighlighted}`}>
265+
</Link>
266+
<Link
267+
className={`${styles.pillarItem} ${styles.pillarHighlighted}`}
268+
href="https://microsoft.github.io/zerotrustassessment/demo/#/secops"
269+
>
250270
<Translate id="pillar.secops">Security Operations</Translate>
251-
</span>
252-
<span className={`${styles.pillarItem} ${styles.pillarHighlighted}`}>
271+
</Link>
272+
<Link
273+
className={`${styles.pillarItem} ${styles.pillarHighlighted}`}
274+
href="https://microsoft.github.io/zerotrustassessment/demo/#/ai"
275+
>
253276
<Translate id="pillar.ai">AI</Translate>
254-
</span>
255-
<span className={`${styles.pillarItem} ${styles.pillarHighlighted}`}>
277+
</Link>
278+
<Link
279+
className={`${styles.pillarItem} ${styles.pillarHighlighted}`}
280+
href="https://microsoft.github.io/zerotrustassessment/demo/"
281+
>
256282
<Translate id="updates.assessment.overview">
257283
Revamped Overview Page
258284
</Translate>
259-
</span>
285+
</Link>
260286
</div>
261287
</div>
262288
</div>

src/react/src/pages/index.module.css

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@
3232
letter-spacing: 0.02em;
3333
margin-bottom: 1.5rem;
3434
color: #c8e6ff;
35+
text-decoration: none;
36+
transition: background 0.15s, border-color 0.15s;
37+
}
38+
39+
.heroTagline:hover,
40+
.heroTagline:focus-visible {
41+
background: rgba(255, 255, 255, 0.2);
42+
border-color: rgba(255, 255, 255, 0.4);
43+
color: #fff;
44+
text-decoration: none;
3545
}
3646

3747
.newBadge {
@@ -64,12 +74,20 @@
6474

6575
.heroCtas {
6676
display: flex;
77+
flex-direction: column;
78+
align-items: center;
6779
gap: 1rem;
6880
justify-content: center;
69-
flex-wrap: wrap;
7081
margin-bottom: 3rem;
7182
}
7283

84+
.heroPrimaryCtas {
85+
display: flex;
86+
gap: 1rem;
87+
justify-content: center;
88+
flex-wrap: wrap;
89+
}
90+
7391
.ctaPrimary {
7492
display: inline-flex;
7593
align-items: center;
@@ -313,6 +331,7 @@
313331
}
314332

315333
.pillarItem {
334+
display: inline-block;
316335
padding: 0.55rem 1rem;
317336
border-radius: 8px;
318337
background: #e8eef4;
@@ -334,10 +353,15 @@
334353
background: linear-gradient(135deg, #ff6b35, #e05520);
335354
color: #fff;
336355
animation: pillarGlow 2.5s ease-in-out infinite;
356+
cursor: pointer;
357+
text-decoration: none;
337358
}
338359

339-
.pillarHighlighted:hover {
360+
.pillarHighlighted:hover,
361+
.pillarHighlighted:focus-visible {
340362
box-shadow: 0 4px 20px rgba(255, 107, 53, 0.45);
363+
color: #fff;
364+
text-decoration: none;
341365
}
342366

343367
.pillarNew {
@@ -865,8 +889,12 @@
865889
}
866890

867891
.heroCtas {
892+
width: 100%;
893+
}
894+
895+
.heroPrimaryCtas {
868896
flex-direction: column;
869-
align-items: center;
897+
width: 100%;
870898
}
871899

872900
.ctaPrimary,

0 commit comments

Comments
 (0)