-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.qmd
232 lines (217 loc) · 5.72 KB
/
index.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
---
pagetitle: "Philly Social Justice Hackathon"
page-layout: custom
section-divs: false
toc: false
anchor-sections: true # not working?
aliases:
- index.html
execute:
echo: false
output: asis
warning: false
---
```{r workspace}
#| include: false
library(htmltools)
library(shiny) # markdown()
library(glue)
general_card_div <- function(..., lg = 3, md = 2, sm = 2, xs = 1) {
class_info <-
paste(
"card", # card class
# about card
"rounded-3", # border-radius = 0.3rem
"m-2", # margin all sides: 0.5rem
# about grid placement
glue("g-col-lg-{12/lg}"), # when >=1200px use {lg} cols per card (ex. 3 across)
glue("g-col-md-{12/md}"), # when >= 992px use {md} cols per card (ex. 2 across)
glue("g-col-sm-{12/sm}"), # when >= 768px use {sm} cols per card (ex. 2 across)
glue("g-col-{12/xs}") # when < 576px use {xs} cols per card (ex. 1 across)
)
div(
class = class_info,
style = "background: #8f4b99;",
...
)
}
```
<!-- HERO BANNER -->
::: {.content-block}
```{r}
a(
class="preview-link",
href="https://www.eventbrite.com/e/philadelphias-social-justice-hackathon-tickets-829209476867",
target="_blank",
p(
class="hero-link content-block",
HTML("<b>Register for free!</b> Join us April 5-7 for Philly's 2nd Social Justice Hackathon!")
)
)
```
:::
::: {.hero-banner .text-center}
```{r hero-banner}
h3(
class="text-left",
HTML("Philly's 2nd")
)
h1(
class = "text-left hero-title",
HTML("Social Justice Hackathon")
)
h3(
class="text-left",
HTML("April 5th-7th @ Drexel Kline School of Law")
)
```
:::
<!-- /HERO BANNER -->
:::::: {.content-block}
:::{.hero-text .content-block}
Students, programmers, “civic-minded hackers”, faculty, justice advocates, public servants, community legal providers, writers, story-tellers, and members of the Philly community will all come together to design creative solutions to respond to specific justice needs of residents and neighborhoods most impacted by social, economic, and environmental injustices in Philadelphia.
:::
::: {.list .grid}
```{r info-cards}
add_info_card <- function(title, body, button_text, button_link) {
general_card_div(
div(
class = "card-body",
# title
tags$section(
class = "card-title text-center",
h5(title)
),
# body
br(),
p(body),
br()
),
# button
div(
class = "d-flex justify-content-center mb-3",
#class = "card-footer",
tags$a(
class = "btn btn-action btn-primary btn-action-primary justify-content-center",
button_text,
href = button_link
)
)
)
}
add_info_card(
title = "Free to Attend",
body =
"Free to attend and open to everyone, regardless of coding experience
or affiliation with an organization or university.",
button_text = "Register",
button_link = "https://www.eventbrite.com/e/philadelphias-social-justice-hackathon-tickets-829209476867"
)
add_info_card(
title = "Community Driven",
body =
"Are you a justice advocate, public servant, or community legal provider?
Help us create impactful projects. Or volunteer as a project mentor.",
button_text = "Get Involved",
button_link = "/posts/2024-02-08-for-organizers.qmd"
)
add_info_card(
title = "Volunteer for the event",
body =
"Interested in helping us run the event itself?
Great for those trying to provide excellent volunteer experiences
or to get hands-on experience running events.",
button_text = "Volunteer",
button_link = "https://forms.gle/2Nc41iEoTqveGCQU7"
)
```
:::
::::::
:::::: {.content-block}
## Our Sponsors {#sponsors}
```{r}
div(
class="sponsor-logos",
a(
href="https://drexel.edu/law/",
target="_blank",
img(
src="assets/sponsors/drexel-law-school.png",
alt="Drexel Law School Logo"
)
),
a(
href="https://www1.villanova.edu/university/law.html",
target="_blank",
img(
src="assets/sponsors/Villanova_VU19Blue.png",
alt="Villanova Law School Logo"
)
),
a(
href="https://www.law.upenn.edu/",
target="_blank",
img(
src="assets/sponsors/fpi logo.png",
alt="Penn Law School Logo"
)
),
a(
href="https://law.temple.edu/ilit/",
target="_blank",
img(
src="assets/sponsors/iLIT__White_Vert_Red_Black_Horiz (1).png",
alt="Temple iLIT Logo"
)
),
a(
href="https://www.meetup.com/LegalHackersPA/",
target="_blank",
img(
src="assets/sponsors/PhiladelphiaChapterOfLegalHackers_Logo_111623.gif",
alt="Philadelphia Legal Hackers Logo"
)
),
a(
href="https://www.rladiesphilly.org/",
target="_blank",
img(
src="assets/sponsors/rladies logo.png",
alt="R Ladies Philly Logo"
)
),
a(
href="https://codeforphilly.org/",
target="_blank",
img(
src="assets/sponsors/code-for-philly.png",
alt="Code for Philly Logo"
)
),
a(
href="https://neota.com/",
target="_blank",
img(
src="assets/sponsors/neota-logo.png",
alt="Neota Logo"
)
),
a(
href="https://www.gavel.io",
target="_blank",
img(
src="assets/sponsors/Gavel logo with transparent background.png",
alt="Gavel Logo"
)
),
a(
href="https://badgecert.com/",
target="_blank",
img(
src="assets/sponsors/BadgeCert Logo.png",
alt="BadgeCert Logo"
)
)
)
```
::::::