Skip to content

Commit cb8efed

Browse files
authored
Merge pull request #211 from jaydestro/v2-reorg
news updates for CSC
2 parents f97a879 + c54011a commit cb8efed

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

client/src/pages/conf/news.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
[
2+
{
3+
"title": "Take the Cloud Skills Challenge — Earn a Free DP-420 Voucher",
4+
"date": "April 20, 2026",
5+
"content": "<div style='position:relative;width:100%;padding-bottom:56.25%;height:0;margin-bottom:1rem;border-radius:10px;overflow:hidden;'><iframe style='position:absolute;top:0;left:0;width:100%;height:100%;border:0;' src='https://www.youtube.com/embed/wDFTJWB2Q3U' title='Cosmos Conf Cloud Skills Challenge' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share' allowfullscreen></iframe></div><p class='keynote-intro'>Join <strong>Jay Gordon</strong> and <strong>Patty Chow</strong> for a walkthrough of the <strong>Azure Cosmos DB Conf 2026 Cloud Skills Challenge</strong> — your chance to level up your NoSQL skills, build real-world apps, and qualify for a <strong>100% discount</strong> on a DP-420 certification exam voucher.</p><p class='keynote-intro'>Complete all modules by <strong>May 8, 2026</strong> and submit the entry form to be eligible for one of <strong>500 vouchers</strong>.</p><p class='keynote-cta'><a class='keynote-cta-button' href='https://aka.ms/CosmosDBConfChallenge' target='_blank' rel='noopener noreferrer'>Start the Skills Challenge</a></p><p class='keynote-cta' style='font-size:13px;opacity:0.75;margin-top:10px;'><a href='https://aka.ms/CosmosDBSkillsChallengeSweepstakesEntry' target='_blank' rel='noopener noreferrer'>Submit sweepstakes entry</a> by May 8, 2026</p>",
6+
"event_date": "April 28, 2026"
7+
},
28
{
39
"title": "Our Keynote Lineup is Coming Together!",
410
"date": "April 16, 2026",

client/src/pages/conf/sections/NewsSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const slugify = (value: string) =>
1515

1616
const NewsSection = ({ confYear }: NewsSectionProps) => {
1717
const [showAllNews, setShowAllNews] = useState(false);
18-
// Only the latest (first) news item open by default.
19-
const [expanded, setExpanded] = useState<Record<number, boolean>>({ 0: true });
18+
// The top two news items are open by default.
19+
const [expanded, setExpanded] = useState<Record<number, boolean>>({ 0: true, 1: true });
2020

2121
const toggle = (index: number) => {
2222
setExpanded((prev) => ({ ...prev, [index]: !prev[index] }));

0 commit comments

Comments
 (0)