Skip to content

Commit faacf1c

Browse files
feat: add help instructions
1 parent fd5af1b commit faacf1c

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

public/form.pdf

58 KB
Binary file not shown.

public/help.pdf

130 KB
Binary file not shown.

src/components/SearchResults.vue

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ const toggleExpand = () => {
7070
</div>
7171

7272
<div v-if="isExpanded" class="results-content">
73+
<div class="cure-instructions">
74+
See <a href="/help.pdf" target="_blank">help.pdf</a> for instructions on how to cure a ballot! Submit <a href="/form.pdf" target="_blank">form.pdf</a> via email or in-person. Call the Board of Elections with any questions: <a href="tel:2156863469">(215) 686-3469</a>
75+
</div>
7376
<div class="results-list">
7477
<div v-for="result in sortedResults" :key="result.name + result.division" class="result-card">
7578
<div class="result-name">{{ result.name }}</div>
@@ -134,6 +137,27 @@ const toggleExpand = () => {
134137
box-sizing: border-box;
135138
}
136139
140+
.cure-instructions {
141+
background-color: #fff3cd;
142+
color: #856404;
143+
padding: 10px 15px;
144+
font-size: 14px;
145+
border-bottom: 1px solid #ffeeba;
146+
text-align: center;
147+
margin-bottom: 10px;
148+
}
149+
150+
.cure-instructions a {
151+
color: #533f03;
152+
font-weight: bold;
153+
text-decoration: underline;
154+
}
155+
156+
.cure-instructions a:hover {
157+
color: #533f03;
158+
text-decoration: none;
159+
}
160+
137161
.result-count {
138162
font-weight: 600;
139163
color: #333;

0 commit comments

Comments
 (0)