Skip to content

Commit 27109d9

Browse files
author
Daan Hoogland
committed
add separate VP component to update VP id and links
1 parent c3c1dc2 commit 27109d9

File tree

5 files changed

+59
-20
lines changed

5 files changed

+59
-20
lines changed

blog/2024-10-25-ccc-agenda/index.md~

Lines changed: 0 additions & 15 deletions
This file was deleted.

source/generate_who.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def generate_markdown(pmc_members, committers):
8484
pmc_members.sort(key=lambda x: locale.strxfrm(x[0].lower()))
8585
committers.sort(key=lambda x: locale.strxfrm(x[0].lower()))
8686
repo_path = get_repo_path()
87-
with open(repo_path + "/src/pages/who.md", "w", encoding="utf-8") as f:
87+
with open(repo_path + "/src/pages/who.mdx", "w", encoding="utf-8") as f:
8888
f.write("""---
8989
title: Apache CloudStack Project Membership
9090
---
@@ -95,10 +95,13 @@ def generate_markdown(pmc_members, committers):
9595
9696
Board Minutes: https://whimsy.apache.org/board/minutes/CloudStack.html
9797
98-
""")
98+
````mdx-code-block
99+
import Releases from "@site/src/components/VP";
100+
101+
<VP/>
102+
````
99103
100-
pmc_chair = "Nicolás Vázquez (nvazquez)"
101-
f.write(f"**PMC Chair**: {pmc_chair}\n\n")
104+
""")
102105

103106
f.write("The following data is subject to change. The up-to-date information can be found on <a href=\"http://people.apache.org/committers-by-project.html#cloudstack-pmc\">the Apache Peoples site</a>:\n\n")
104107

src/components/VP/index.tsx

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
import React from "react";
2+
3+
const pmc_chair_quote = `"Earlier this year, I was selected by my fellow PMC members as the project’s VP. The main role of the VP is to report
4+
quarterly to the Apache Software Foundation Board,
5+
representing CloudStack and providing updates on the health
6+
and status of the project. I am grateful for the opportunity
7+
to serve as the CloudStack VP and to work with amazing people
8+
from the community to continue making CloudStack an even
9+
greater cloud orchestration platform!"`
10+
11+
const pmc_chair_name = "Nicolás Vázquez"
12+
const pmc_chair_picture = "/img/authors/nicolas.png"
13+
const pmc_chair_githandle = "nvazquez"
14+
const pmc_chair_linked = "nvazquezuy"
15+
16+
const git_link = "https://github.com/"+pmc_chair_githandle
17+
const linked_link = "https://www.linkedin.com/in/"+pmc_chair_linked
18+
19+
export default function VP(): JSX.Element {
20+
return <>
21+
<div className="row">
22+
<div className="col col--3">
23+
24+
<img src={pmc_chair_picture} alt="{pmc_chair_name}" class="blog-image"/>
25+
26+
</div>
27+
<div className="col col--9">
28+
29+
<p><b>PMC Chair</b>: {pmc_chair_name}</p>
30+
<p>
31+
<a href={git_link} target="_blank">
32+
<img src="/img/git_logo.svg" width="40px" alt=""/>
33+
</a>
34+
&nbsp;
35+
<a href={linked_link} target="_blank">
36+
<img src="/img/social/LinkedIn-Blue.png" width="40px" alt=""/>
37+
</a>
38+
</p>
39+
<p>
40+
41+
{pmc_chair_quote}
42+
43+
</p>
44+
</div>
45+
</div>
46+
</>
47+
}

src/pages/who.md renamed to src/pages/who.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ PMC Information: https://projects.apache.org/committee.html?cloudstack
88

99
Board Minutes: https://whimsy.apache.org/board/minutes/CloudStack.html
1010

11-
**PMC Chair**: Nicolás Vázquez (nvazquez)
11+
````mdx-code-block
12+
import VP from "@site/src/components/VP";
13+
14+
<VP/>
15+
````
1216

1317
The following data is subject to change. The up-to-date information can be found on <a href="http://people.apache.org/committers-by-project.html#cloudstack-pmc">the Apache Peoples site</a>:
1418

8.18 KB
Loading

0 commit comments

Comments
 (0)