feat: add volunteer shift signup app

Initial source, tests, migrations, and local Docker setup for the Hope Food Pantry volunteer scheduler.
This commit is contained in:
blake committed 2026-10-16 09:33:39 -05:00
commit f1a46e2ba7
129 files changed
+25290

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
{
"source": null,
"syncedAt": null,
"note": "Bundled Lexend (variable, latin) and Charm (400 and 700, latin) so the app matches hopefoodpantrysc.org without loading fonts from Google. Both families are under the SIL Open Font License; the license text is beside the font files.",
"fonts": [
{
"file": "lexend-latin.woff2",
"bytes": 39680,
"sha256": "b7e7538f59bff1812841d7627f8e49e70fe86438f9f7b397a028c0d05301c874"
},
{
"file": "charm-400.woff2",
"bytes": 20108,
"sha256": "a5b1aaccacbe192e382f24fa211f57013e8844a32124f08d685262c49edff9f8"
},
{
"file": "charm-700.woff2",
"bytes": 20476,
"sha256": "3146c99b01bc5fb2537a2b7e10a1953f4c5a614780e3a6d1124b7e884b315cd3"
}
],
"licenses": [
{
"file": "fonts/Lexend-OFL.txt",
"bytes": 4314,
"sha256": "18aabf190848725e2576eefb5c29ba06aac1029d02132252a7f312eac2e50cf3"
},
{
"file": "fonts/Charm-OFL.txt",
"bytes": 4314,
"sha256": "18aabf190848725e2576eefb5c29ba06aac1029d02132252a7f312eac2e50cf3"
}
]
}
+1
View File
@@ -0,0 +1 @@
Font files synced from the brand source are stored in this directory.
+93
View File
@@ -0,0 +1,93 @@
Google Inc.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
+93
View File
@@ -0,0 +1,93 @@
Google Inc.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+19
View File
@@ -0,0 +1,19 @@
/* Hope Volunteer brand tokens
Source: bundled fallback from the October 14, 2026 specification
Synced: not synced
This is the fallback. scripts/sync-brand.mjs replaces this file when BRAND_SRC contains tokens.css.
*/
:root {
--hope-blue-50:#f4fafd;
--hope-blue-75:#ecf7fc;
--hope-blue-100:#e4f3fb;
--hope-yellow:#f9e194;
--hope-gold:#fbcd62;
--hope-ink:#222;
--hope-ink-2:#444;
--hope-border:#b6c2c9;
--hope-border-2:#cddbe2;
--font-body:"Lexend",system-ui,sans-serif;
--font-script:"Charm",cursive;
}
+2481
View File
File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

+42
View File
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
class="ionicon"
viewBox="0 0 512 512"
version="1.1"
id="svg1"
sodipodi:docname="close.svg"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.8945312"
inkscape:cx="255.47217"
inkscape:cy="256.00001"
inkscape:window-width="2226"
inkscape:window-height="1179"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<path
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="32"
d="M368 368L144 144M368 144L144 368"
id="path1"
style="fill:none;fill-opacity:1;stroke:#222222;stroke-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+36
View File
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
enable-background="new 0 0 64 64"
height="64px"
id="Layer_1"
version="1.1"
viewBox="0 0 64 64"
width="64px"
xml:space="preserve"
sodipodi:docname="facebook.svg"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs1" /><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="15.5625"
inkscape:cx="31.967871"
inkscape:cy="32"
inkscape:window-width="2259"
inkscape:window-height="1199"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><path
d="M32,7.174C18.311,7.174,7.174,18.311,7.174,32c0,13.689,11.137,24.826,24.826,24.826c13.689,0,24.826-11.137,24.826-24.826 C56.826,18.311,45.689,7.174,32,7.174z M38.174,32.874h-4.039c0,6.453,0,14.398,0,14.398h-5.985c0,0,0-7.868,0-14.398h-2.845v-5.088 h2.845v-3.291c0-2.357,1.12-6.04,6.04-6.04l4.433,0.017v4.939c0,0-2.695,0-3.219,0c-0.524,0-1.268,0.262-1.268,1.386v2.99h4.56 L38.174,32.874z"
id="path1"
style="fill:#222222;fill-opacity:1" /></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

+46
View File
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="56.7px"
id="Layer_1"
style="enable-background:new 0 0 56.7 56.7;"
version="1.1"
viewBox="0 0 56.7 56.7"
width="56.7px"
xml:space="preserve"
sodipodi:docname="instagram.svg"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs2" /><sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="17.566137"
inkscape:cx="28.378464"
inkscape:cy="28.35"
inkscape:window-width="2259"
inkscape:window-height="1199"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><g
id="g2"
style="fill:#222222;fill-opacity:1"><circle
cx="28.1"
cy="30"
r="4.4"
id="circle1"
style="fill:#222222;fill-opacity:1" /><path
d="M33.6,19.2h-11c-1.6,0-3,0.5-3.9,1.4c-0.9,0.9-1.4,2.3-1.4,3.9v11c0,1.6,0.5,3,1.5,4c1,0.9,2.3,1.4,3.9,1.4h10.9 c1.6,0,3-0.5,3.9-1.4c1-0.9,1.5-2.3,1.5-3.9v-11c0-1.6-0.5-2.9-1.4-3.9C36.6,19.7,35.3,19.2,33.6,19.2z M28.1,36.8 c-3.8,0-6.8-3.1-6.8-6.8c0-3.8,3.1-6.8,6.8-6.8S35,26.2,35,30C35,33.8,31.9,36.8,28.1,36.8z M35.2,24.5c-0.9,0-1.6-0.7-1.6-1.6 s0.7-1.6,1.6-1.6s1.6,0.7,1.6,1.6S36.1,24.5,35.2,24.5z"
id="path1"
style="fill:#222222;fill-opacity:1" /><path
d="M28.3,5.2c-13.6,0-24.6,11-24.6,24.6c0,13.6,11,24.6,24.6,24.6c13.6,0,24.6-11,24.6-24.6C53,16.2,41.9,5.2,28.3,5.2z M41.4,35.6c0,2.3-0.8,4.3-2.2,5.7c-1.4,1.4-3.4,2.1-5.6,2.1H22.7c-2.2,0-4.2-0.7-5.6-2.1c-1.5-1.4-2.2-3.4-2.2-5.7v-11 c0-4.6,3.1-7.8,7.8-7.8h11c2.3,0,4.2,0.8,5.6,2.2c1.4,1.4,2.1,3.3,2.1,5.6V35.6z"
id="path2"
style="fill:#222222;fill-opacity:1" /></g></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

+42
View File
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
class="ionicon"
viewBox="0 0 512 512"
version="1.1"
id="svg1"
sodipodi:docname="menu.svg"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.8945312"
inkscape:cx="255.47217"
inkscape:cy="256.00001"
inkscape:window-width="2226"
inkscape:window-height="1179"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<path
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-miterlimit="10"
stroke-width="32"
d="M80 160h352M80 256h352M80 352h352"
id="path1"
style="stroke:#222222;stroke-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+121
View File
@@ -0,0 +1,121 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="23"
height="30"
id="screenshot-e54a0bcf-30e2-8041-8006-cb975f859ff4"
viewBox="0 0 23 30"
fill="none"
version="1.1"
sodipodi:docname="right-arrow.svg"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs3" />
<sodipodi:namedview
id="namedview3"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="32.533333"
inkscape:cx="11.495902"
inkscape:cy="15"
inkscape:window-width="2226"
inkscape:window-height="1179"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="screenshot-e54a0bcf-30e2-8041-8006-cb975f859ff4" />
<g
id="shape-e54a0bcf-30e2-8041-8006-cb975f859ff4"
class="ionicon"
rx="0"
ry="0"
style="fill:#000000"
transform="rotate(-90,11.5,14.999952)">
<g
id="shape-e54a0bcf-30e2-8041-8006-cb975f860eb4"
style="display:none">
<g
class="fills"
id="fills-e54a0bcf-30e2-8041-8006-cb975f860eb4">
<rect
width="23"
height="30"
x="0"
style="fill:none"
ry="0"
fill="none"
rx="0"
y="0"
id="rect1" />
</g>
<g
fill="none"
id="strokes-279c4329-e789-8027-8007-013b01dd0c82-e54a0bcf-30e2-8041-8006-cb975f860eb4"
class="strokes">
<g
class="inner-stroke-shape"
id="g2">
<defs
id="defs1">
<clipPath
id="inner-stroke-render-2-e54a0bcf-30e2-8041-8006-cb975f860eb4-0">
<use
href="#stroke-shape-render-2-e54a0bcf-30e2-8041-8006-cb975f860eb4-0"
id="use1" />
</clipPath>
<rect
rx="0"
ry="0"
x="0"
y="0"
width="23"
height="30"
id="stroke-shape-render-2-e54a0bcf-30e2-8041-8006-cb975f860eb4-0"
style="fill:none;stroke:#222222;stroke-width:6;stroke-opacity:1" />
</defs>
<use
href="#stroke-shape-render-2-e54a0bcf-30e2-8041-8006-cb975f860eb4-0"
clip-path="url(#inner-stroke-render-2-e54a0bcf-30e2-8041-8006-cb975f860eb4-0)"
id="use2" />
</g>
</g>
</g>
<g
id="shape-e54a0bcf-30e2-8041-8006-cb975f86b21b">
<g
class="fills"
id="fills-e54a0bcf-30e2-8041-8006-cb975f86b21b">
<path
d="m 5.03125,15.703125 6.46875,8.4375 6.46875,-8.4375 M 11.5,22.96875 V 5.859375"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
style="fill:none"
id="path2" />
</g>
<g
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
id="strokes-279c4329-e789-8027-8007-013b01de3225-e54a0bcf-30e2-8041-8006-cb975f86b21b"
class="strokes">
<g
class="stroke-shape"
id="g3">
<path
d="m 5.03125,15.703125 6.46875,8.4375 6.46875,-8.4375 M 11.5,22.96875 V 5.859375"
style="fill:none;stroke:#222222;stroke-width:3;stroke-opacity:1"
id="path3" />
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

+1
View File
@@ -0,0 +1 @@
<?xml version="1.0"?><svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><g id="Solid"><path d="M46.79248,24.23a4.05389,4.05389,0,0,0-5.689-.14l-7.69872,6.84a5.25608,5.25608,0,0,1,.58993,2.43,5.39055,5.39055,0,0,1-3.4794,5.02l-6.46895,2.43a1.00694,1.00694,0,0,1-1.27975-.59.98322.98322,0,0,1,.57986-1.28l6.46895-2.43A3.38021,3.38021,0,0,0,31.995,33.36,3.45753,3.45753,0,0,0,28.63555,30H9.99866A1.99982,1.99982,0,0,0,7.999,28H3.99966A1.99982,1.99982,0,0,0,2,30V46a1.99986,1.99986,0,0,0,1.99966,2H7.999a1.99986,1.99986,0,0,0,1.99967-2H14.048l1.24979.51A19.61328,19.61328,0,0,0,37.924,40.87l9.10846-11.01A4.20182,4.20182,0,0,0,46.79248,24.23ZM12.99816,44H9.99866V32h2.9995ZM30.41809,2a8.59142,8.59142,0,0,0-5.42194,1.9082A8.59147,8.59147,0,0,0,19.5742,2a8.68822,8.68822,0,0,0-8.66651,8.68945c0,9.14258,13.03,16.85059,13.58463,17.17481a1.00289,1.00289,0,0,0,1.00765,0C26.05456,27.54,39.08461,19.832,39.08461,10.68945A8.68822,8.68822,0,0,0,30.41809,2Zm-1.772,18.6571a.98319.98319,0,0,1-.65022.2229.99554.99554,0,0,1-.65047-1.7423c3.70153-3.1709,5.74025-6.17188,5.74025-8.44825A2.68158,2.68158,0,0,0,30.41809,8a1,1,0,0,1,0-2,4.68337,4.68337,0,0,1,4.66719,4.68945C35.08528,14.3681,31.584,18.13953,28.64605,20.6571Z"/></g></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

+51
View File
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="1920"
height="345"
id="screenshot-b28d1092-3bc7-8036-8006-f30481bca546"
viewBox="-0 0 1920 345"
fill="none"
version="1.1"
sodipodi:docname="wave-secondary.svg"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs3" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="0.54375"
inkscape:cx="1545.7471"
inkscape:cy="80.91954"
inkscape:window-width="1280"
inkscape:window-height="732"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="screenshot-b28d1092-3bc7-8036-8006-f30481bca546" />
<path
d="m 1920,273.54883 -0.1328,11.59179 C 1841.6891,328.15877 1744.1902,344.94184 1634.5938,345 H 1920 Z"
style="opacity:1;fill:#e4f3fb;stroke-width:1.5;stroke-linecap:square;fill-opacity:1"
id="path7" />
<path
d="M 1633.4492,345 C 1094.9992,344.71467 265.60465,-57.844514 0,262.64844 V 345 Z"
style="opacity:1;fill:#e4f3fb;stroke-width:1.5;stroke-linecap:square;fill-opacity:1"
id="path6" />
<path
d="M 1920,167.05469 C 1494.0823,469.27673 327.70703,-128.02979 0,238.30078 v 24.34766 C 265.60465,-57.844514 1094.9992,344.71467 1633.4492,345 h 1.1446 c 109.5964,-0.0582 207.0953,-16.84123 285.2734,-59.85938 L 1920,273.54883 Z"
style="opacity:1;fill:#f4fafd;stroke-width:1.5;stroke-linecap:square;fill-opacity:1"
id="path5" />
<path
d="M 1918.7988,1.2734375 C 1558.9042,380.95114 345.17035,-152.55479 0,194 v 13 31.30078 C 327.70703,-128.02979 1494.0823,469.27673 1920,167.05469 V 1.2734375 Z"
style="opacity:1;fill:#f9e194;stroke-width:1.5;stroke-linecap:square;fill-opacity:1"
id="path4" />
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

+51
View File
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="1920"
height="345"
id="screenshot-b28d1092-3bc7-8036-8006-f30481bca546"
viewBox="-0 0 1920 345"
fill="none"
version="1.1"
sodipodi:docname="wave.svg"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs3" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="0.54375"
inkscape:cx="898.3908"
inkscape:cy="79.08046"
inkscape:window-width="2259"
inkscape:window-height="1199"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="screenshot-b28d1092-3bc7-8036-8006-f30481bca546" />
<path
d="m 1920,273.54883 -0.1328,11.59179 C 1841.6891,328.15877 1744.1902,344.94184 1634.5938,345 H 1920 Z"
style="opacity:1;fill:#f4fafd;stroke-width:1.5;stroke-linecap:square;fill-opacity:1"
id="path7" />
<path
d="M 1633.4492,345 C 1094.9992,344.71467 265.60465,-57.844514 0,262.64844 V 345 Z"
style="opacity:1;fill:#f4fafd;stroke-width:1.5;stroke-linecap:square;fill-opacity:1"
id="path6" />
<path
d="M 1920,167.05469 C 1494.0823,469.27673 327.70703,-128.02979 0,238.30078 v 24.34766 C 265.60465,-57.844514 1094.9992,344.71467 1633.4492,345 h 1.1446 c 109.5964,-0.0582 207.0953,-16.84123 285.2734,-59.85938 L 1920,273.54883 Z"
style="opacity:1;fill:#e4f3fb;stroke-width:1.5;stroke-linecap:square"
id="path5" />
<path
d="M 1918.7988,1.2734375 C 1558.9042,380.95114 345.17035,-152.55479 0,194 v 13 31.30078 C 327.70703,-128.02979 1494.0823,469.27673 1920,167.05469 V 1.2734375 Z"
style="opacity:1;fill:#f9e194;stroke-width:1.5;stroke-linecap:square;fill-opacity:1"
id="path4" />
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

+129
View File
@@ -0,0 +1,129 @@
(function () {
var dialog = document.getElementById('confirm');
if (!dialog || typeof dialog.showModal !== 'function') return;
var form = document.getElementById('confirm-form');
var title = document.getElementById('confirm-title');
var detail = document.getElementById('confirm-detail');
var body = document.getElementById('confirm-body');
var note = document.getElementById('confirm-note');
var submit = document.getElementById('confirm-submit');
var cancel = document.getElementById('confirm-cancel');
var error = document.getElementById('confirm-error');
if (!form || !title || !detail || !body || !note || !submit || !cancel) return;
var text = function (link, name) {
return link.getAttribute(name) || '';
};
var chosenFor = function (name) {
return document.querySelectorAll('input[data-pick="' + name + '"]:checked');
};
var fill = function (link) {
form.querySelectorAll('[data-picked]').forEach(function (input) {
input.remove();
});
form.action = text(link, 'data-confirm-action') || link.getAttribute('href') || '';
title.textContent = text(link, 'data-confirm-title') || 'Remove';
body.textContent = text(link, 'data-confirm-body');
var when = text(link, 'data-confirm-detail');
detail.textContent = when;
detail.hidden = when === '';
var extra = text(link, 'data-confirm-note');
note.textContent = extra;
note.hidden = extra === '';
var label = text(link, 'data-confirm-submit');
submit.textContent = label || 'Remove';
submit.hidden = label === '';
submit.disabled = label === '';
cancel.textContent = label === '' ? 'Close' : 'Cancel';
if (error) {
error.textContent = '';
error.hidden = true;
}
var pick = link.getAttribute('data-confirm-pick');
if (!pick) return;
var chosen = chosenFor(pick);
var weekly = false;
chosen.forEach(function (box) {
var input = document.createElement('input');
input.type = 'hidden';
input.name = pick + '[]';
input.value = box.value;
input.setAttribute('data-picked', '');
form.appendChild(input);
if (box.getAttribute('data-weekly') === 'true') weekly = true;
});
detail.textContent = chosen.length === 1 ? '1 selected' : chosen.length + ' selected';
detail.hidden = false;
var weeklyNote = text(link, 'data-confirm-note-weekly');
if (weekly && weeklyNote) {
note.textContent = weeklyNote;
note.hidden = false;
}
};
var show = function () {
if (dialog.open) dialog.close();
dialog.showModal();
dialog.classList.add('is-modal');
var focus = submit.hidden ? cancel : submit;
if (focus) focus.focus();
};
var syncPicks = function () {
document.querySelectorAll('[data-confirm-pick]').forEach(function (control) {
var name = control.getAttribute('data-confirm-pick');
control.hidden = !name || chosenFor(name).length === 0;
});
document.querySelectorAll('[data-pick-all]').forEach(function (all) {
var name = all.getAttribute('data-pick-all');
if (!name) return;
var boxes = document.querySelectorAll('input[data-pick="' + name + '"]');
var checked = chosenFor(name);
all.checked = boxes.length > 0 && checked.length === boxes.length;
all.indeterminate = checked.length > 0 && checked.length < boxes.length;
});
};
document.querySelectorAll('[data-confirm]').forEach(function (link) {
link.addEventListener('click', function (event) {
if (event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return;
var pick = link.getAttribute('data-confirm-pick');
if (pick && chosenFor(pick).length === 0) {
event.preventDefault();
return;
}
event.preventDefault();
fill(link);
show();
});
});
document.querySelectorAll('[data-pick-all]').forEach(function (all) {
all.addEventListener('change', function () {
var name = all.getAttribute('data-pick-all');
if (!name) return;
var checked = all.checked;
document.querySelectorAll('input[data-pick="' + name + '"]').forEach(function (box) {
box.checked = checked;
});
syncPicks();
});
});
document.querySelectorAll('input[data-pick]').forEach(function (box) {
box.addEventListener('change', syncPicks);
});
dialog.addEventListener('click', function (event) {
if (event.target === dialog) dialog.close();
});
dialog.addEventListener('close', function () {
if (!dialog.open) dialog.classList.remove('is-modal');
});
syncPicks();
if (dialog.open) show();
})();
+65
View File
@@ -0,0 +1,65 @@
(function () {
var key = 'hope-place';
var place = null;
try {
var raw = sessionStorage.getItem(key);
if (raw) {
sessionStorage.removeItem(key);
place = JSON.parse(raw);
}
} catch (err) {
place = null;
}
var restore = place && place.path === location.pathname && typeof place.y === 'number' && place.y > 0;
if (restore && 'scrollRestoration' in history) history.scrollRestoration = 'manual';
var scrollToY = function (y) {
var root = document.documentElement;
var previous = root.style.scrollBehavior;
root.style.scrollBehavior = 'auto';
window.scrollTo(0, y);
root.scrollTop = y;
if (document.body) document.body.scrollTop = y;
root.style.scrollBehavior = previous;
};
if (restore) scrollToY(place.y);
document.addEventListener(
'submit',
function (event) {
var form = event.target;
if (!form || !form.hasAttribute || !form.hasAttribute('data-keep-place')) return;
var y = window.scrollY || document.documentElement.scrollTop || (document.body ? document.body.scrollTop : 0) || 0;
try {
sessionStorage.setItem(key, JSON.stringify({ path: location.pathname, y: y }));
} catch (err) {}
},
true,
);
var bind = function () {
if (restore) scrollToY(place.y);
if (location.search.indexOf('notice=') !== -1) {
try {
var url = new URL(location.href);
if (url.searchParams.has('notice')) {
url.searchParams.delete('notice');
history.replaceState(null, '', url.pathname + url.search + url.hash);
}
} catch (err) {}
}
document.querySelectorAll('[data-dismiss-notice]').forEach(function (button) {
button.addEventListener('click', function () {
var notice = button.closest('[data-notice]');
if (notice) notice.remove();
});
});
};
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', bind);
else bind();
window.addEventListener('load', function () {
if (restore) scrollToY(place.y);
});
})();
+54
View File
@@ -0,0 +1,54 @@
(function () {
bindCalendar();
var boxes = document.querySelectorAll('[data-under-18]');
for (var i = 0; i < boxes.length; i += 1) bind(boxes[i]);
function bindCalendar() {
var calendar = document.querySelector('.shift-calendar');
var weeks = document.querySelectorAll('.cal-week');
if (!calendar || !weeks.length) return;
calendar.classList.add('js');
var wide = window.matchMedia('(min-width: 42.001em) and (max-width: 75em)');
var syncAll = function () {
for (var i = 0; i < weeks.length; i += 1) syncWeek(weeks[i], wide.matches);
};
for (var i = 0; i < weeks.length; i += 1) {
var details = weeks[i].querySelectorAll('details.day-reveal');
for (var j = 0; j < details.length; j += 1) details[j].addEventListener('toggle', syncAll);
}
if (wide.addEventListener) wide.addEventListener('change', syncAll);
syncAll();
}
function syncWeek(week, wide) {
var tray = week.querySelector('.week-tray');
if (!tray) return;
var details = week.querySelectorAll('details.day-reveal');
for (var i = 0; i < details.length; i += 1) {
var detail = details[i];
var date = detail.getAttribute('data-date');
if (!date || !detail.parentNode) continue;
var drawer = week.querySelector('.shift-drawer[data-date="' + date + '"]');
if (!drawer) continue;
if (wide && detail.open) {
if (drawer.parentNode !== tray) tray.appendChild(drawer);
} else if (drawer.parentNode === tray) {
detail.parentNode.appendChild(drawer);
}
}
}
function bind(box) {
var form = box.form;
if (!form) return;
var guardian = form.querySelector('[data-guardian]');
if (!guardian) return;
var inputs = guardian.querySelectorAll('input');
var sync = function () {
var on = box.checked;
for (var j = 0; j < inputs.length; j += 1) inputs[j].required = on;
};
box.addEventListener('change', sync);
sync();
}
})();
+34
View File
@@ -0,0 +1,34 @@
(function () {
var dialog = document.getElementById('new-event');
if (!dialog || typeof dialog.showModal !== 'function') return;
var show = function () {
if (dialog.open) dialog.close();
dialog.showModal();
dialog.classList.add('is-modal');
var field = dialog.querySelector('input[name="title"]');
if (field) field.focus();
};
document.querySelectorAll('[data-open-event]').forEach(function (link) {
link.addEventListener('click', function (event) {
event.preventDefault();
if (dialog.open && dialog.classList.contains('is-modal')) {
var field = dialog.querySelector('input[name="title"]');
if (field) field.focus();
return;
}
show();
});
});
dialog.addEventListener('click', function (event) {
if (event.target === dialog) dialog.close();
});
dialog.addEventListener('close', function () {
if (!dialog.open) dialog.classList.remove('is-modal');
});
if (dialog.open) show();
})();