Skip to content

Commit c27ab18

Browse files
committed
board page
1 parent 6cf97e1 commit c27ab18

File tree

4 files changed

+81
-0
lines changed

4 files changed

+81
-0
lines changed

src/data/navbar.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
dropdown:
99
- name: About Us
1010
href: /about
11+
- name: Board
12+
href: /about/board
1113
- name: History
1214
href: /about/history
1315
- name: Leadership

src/pages/about/board.astro

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
import PageSite from "@layouts/PageSite.astro"
3+
---
4+
5+
<style>
6+
.center {
7+
display: flex;
8+
flex-direction: column;
9+
align-items: center;
10+
}
11+
12+
.box {
13+
display: flex;
14+
gap: 10px;
15+
flex-wrap: wrap;
16+
justify-content: center;
17+
}
18+
19+
.card {
20+
height: 75px;
21+
min-width: 300px;
22+
border: #9c9c9c 1px solid;
23+
position: relative;
24+
margin-top: 10px;
25+
}
26+
27+
.card > h1 {
28+
font-size: x-large;
29+
background-color: white;
30+
position: absolute;
31+
top: -13px;
32+
left: 10px;
33+
padding: 0px 10px 0px 10px;
34+
}
35+
36+
.card > p {
37+
font-size: large;
38+
margin-left: auto;
39+
margin-top: auto;
40+
padding: 13px 15px 0px 15px;
41+
}
42+
</style>
43+
44+
<PageSite title="Board" description={"Meet the board of our nonprofit organization."}>
45+
<div class="center">
46+
<h1>Board</h1>
47+
<div class="box">
48+
<div class="card">
49+
<h1>Kevin Wang</h1>
50+
<p>President</p>
51+
</div>
52+
53+
<div class="card">
54+
<h1>Richard Leung</h1>
55+
<p>Vice President, Treasurer</p>
56+
</div>
57+
58+
<div class="card">
59+
<h1>Joseph Blay</h1>
60+
<p>Faculty Director</p>
61+
</div>
62+
63+
<div class="card">
64+
<h1>Navid Kashem</h1>
65+
<p>Secretary, Mentor Director</p>
66+
</div>
67+
68+
<div class="card">
69+
<h1>Dustin Doan</h1>
70+
<p>Director</p>
71+
</div>
72+
73+
<div class="card">
74+
<h1>James Lonardo</h1>
75+
<p>Director</p>
76+
</div>
77+
</div>
78+
</div>
79+
</PageSite>

0 commit comments

Comments
 (0)