~singpolyma/post-part

post-part/window.slim -rw-r--r-- 5.8 KiB
fa0c8bd1Stephen Paul Weber 'change link' 11 months ago
                                                                                
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
/ Full source may be found at: https://git.singpolyma.net/post-part
  Copyright 2021 Stephen Paul Weber <singpolyma.net>

  Permission to use, copy, modify, and/or distribute this software for any
  purpose with or without fee is hereby granted, provided that the above
  copyright notice and this permission notice appear in all copies.

  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
  RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
  CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

doctype html
html
	head
		meta charset="utf-8"
		title Post-Part
		link type="text/css" rel="stylesheet" href="../../index.css"
		script type="text/javascript" src="../../index.js"
		script type="text/javascript" src="../../window.js"
		base target="_blank"
		scss:
			audio#bgmusic {
				display: none;
				position: fixed;
				bottom: 0;
				left: 0;
				width: 100%;
				z-index: 1000;
			}
			video {
				margin: 1em auto;
				max-width: 100%;
			}
			details {
				p { margin: 1em auto; }
				summary {
					font-size: 1.2em;
					margin-top: 1em;
					cursor: pointer;
				}
			}
			#credits {
				p {
					margin-top: 2em;
					margin-bottom: 2em;
				}
				p:nth-of-type(2) {
					margin-bottom: 1em;
				}

				ul, li {
					padding: 0;
					list-style-type: none;
				}
			}
			#locations section {
				h1 { font-size: 1em; }
				p {
					font-size: 1em;
					margin-top: 1em;
					margin-bottom: 1em;
				}
			}
	body
		hgroup
			h1 Post-Part
			h2= "Welcome to Post-Part Site #{num}"
			h2= location

		- if num == 'Four'
			video#bgmusic controls="controls" poster="../../assets/img/play.svg"
				source src="../../assets/video/cuttingpaper.webm" type="video/webm"
				source src="../../assets/video/cuttingpaper.mp4" type="video/mp4"
				a href="../../assets/video/cuttingpaper.webm" cutting paper video
		- else
			audio#bgmusic controls="controls" loop="loop"
				source src="../../assets/audio/window#{num}.opus" type="audio/ogg; codecs=opus"
				source src="../../assets/audio/window#{num}.mp3" type="audio/mpeg"
				a href="../../assets/audio/window#{num}.opus" background music
			p
				' Click to activate audio
				br
				' Audio includes first hand account of Perinatal Mental Health experiences.

			#slideshow
				img src="../../assets/img/window#{num}Slide1.jpg" alt="Wallpaper top"
				img src="../../assets/img/window#{num}Slide2.jpg" alt="Wallpaper underneath"
				small
					' photography by
					a href="http://www.melaniegordon.com" Melanie Gordon

				details
					summary Read audio testimonies in full
					== Tilt['md'].new { open("assets/window#{num}Transcript.md").read }.render

		section#credits
			- if num != 'Four'
				p
					' Audio composition by:
					a href="https://14blue.com/" Adam Harendorf

				p With deep gratitude to our story tellers for sharing their experiences:

			== Tilt['md'].new { open("assets/window#{num}Credits.md").read }.render

		section#window-sponsors
			h1 Thank you to the following sponsors

			- if sponsors.include?('ambrosia')
				a href="https://ambrosiacornerbakery.com/"
					img alt="Abrosia Corner Bakery" src="../../assets/img/ambrosia.png"
			- if sponsors.include?('AWB')
				a href="https://awesomewithoutborders.org/"
					img alt="Awesome Without Borders" src="../../assets/img/AWB.png"
			- if sponsors.include?('encompass')
				a href="https://www.encompasshealth.ca/"
					img alt="Encompass Health" src="../../assets/img/encompass.png"
			- if sponsors.include?('shore')
				a href="https://www.shorecentre.ca/"
					img alt="SHORE Centre" src="../../assets/img/shore.png"
			- if sponsors.include?('lisette')
				a href="https://doula.sette.ca"
					img alt="Lisette Weber, Postpartum Doula" src="../../assets/img/lisette.png"
			- if sponsors.include?('CityofKitchener')
				img alt="City of Kitchener" src="../../assets/img/CityofKitchener.png"
			- if sponsors.include?('cotd')
				a href="https://cotdwaterlooregion.org/"
					img alt="Climb Out of the Darkness" src="../../assets/img/cotd.jpg"
			- if sponsors.include?('cpmt')
				a href="https://www.canadianperinatalmentalhealthtrainings.com/"
					img alt="Canadian Perinatal Mental Health Trainings" src="../../assets/img/cpmt.png"
			- if sponsors.include?('breastfeeding-buddies')
				a href="https://www.breastfeedingbuddies.com/"
					img alt="Breastfeeding Buddies" src="../../assets/img/breastfeeding-buddies.png"
			- if sponsors.include?('schneiderhaus')
				a href="https://www.schneiderhaus.ca"
					img alt="Schneider Haus National Historic Site" src="../../assets/img/schneiderhaus.png"

		section#locations
			h1 Further locations can be visited at

			- if num != 'One'
				section
					h1 Ambrosia Corner Bakery
					p 324 Frederick St

			- if num != 'Two'
				section
					h1 Encompass Health &amp; Wellness
					p 20 Queen Street North. Window accessible from GOUDIES LANE

			- if num != 'Three'
				section
					h1 Benton &amp; Charles Parking Garage
					p window viewable from Benton Street, west side under overhang

			- if num != 'Four'
				section
					h1 Schneider Haus National Historic Site
					p 466 Queen Street South. Window accesible by laneway behind main house — interior of windowed laneway.

			a href="../../" Home

			a href="https://www.instagram.com/post_part/"
				img src="../../assets/img/INSTAGRAM.png" alt="Instagram"

		footer
			markdown:
				This website was designed by [Nat Janin](https://natjanin.com/) and
				[Catherine Mellinger](http://www.cargocollective.com/catherinemellinger),
				developed by [Stephen Paul Weber](https://git.singpolyma.net/post-part).