~singpolyma/post-part

b861d592f72115b9a447142ea46edbc2e45ea943 — Stephen Paul Weber 6 days ago 81820ba master
Window template updates
2 files changed, 72 insertions(+), 5 deletions(-)

M Makefile
M window.slim
M Makefile => Makefile +4 -1
@@ 30,9 30,12 @@ interactive/index.js: interactive/Interactive.purs packages.dhall spago.dhall
credits/index.html: credits/index.slim assets/paras.txt
	/usr/share/doc/ruby-slim/examples/slimrb -p credits/index.slim > $@

window/NsD0/index.html: window.slim Makefile
window/NsD0/index.html: window.slim Makefile window.js
	mkdir -p window/NsD0
	/usr/share/doc/ruby-slim/examples/slimrb -l '{ "num": "One", "location": "Ambrosia Corner Bakery" }' -p window.slim > $@

window.js: Window.purs packages.dhall spago.dhall
	spago bundle-app -u-c --main Window --to window.js

clean:
	$(RM) -r interactive/index.html interactive/index.css interactive/index.js output/

M window.slim => window.slim +68 -4
@@ 20,18 20,57 @@ html
		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:
			#bgmusic {
				display: none;
				position: fixed;
				bottom: 0;
				left: 0;
				width: 100%;
				z-index: 1000;
			}
			#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

		audio#bgmusic controls="controls" autoplay="autoplay" 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
		small Click to activate audio

		#slideshow
			img src="../../assets/img/window#{num}Slide1.png" alt="Wallpaper top"
			img src="../../assets/img/window#{num}Slide2.png" alt="Wallpaper underneath"
			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

		section#credits
			p


@@ 40,18 79,43 @@ html

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

			section
				h1 Testimonies
				ul
					li Charlotte Perkins Gilman — excerpts from The Yellow Wallpaper
					li Catherine
					li Shannon
					li Tara

			section
				h1 Voices
				ul
					li Kesta
					li Paula
					li Pazit
					li Tuku

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

			a href="https://awesomewithoutborders.org/": img alt="Awesome Without Borders" src="../../assets/img/AWB.png"
			a href="https://doula.sette.ca": img alt="Lisette Weber, Postpartum Doula" src="../../assets/img/lisette.png"
			img alt="City of Kitchener" src="../../assets/img/CityofKitchener.png"
			a href="https://cotdwaterlooregion.org/": img alt="Climb Out of the Darkness" src="../../assets/img/cotd.jpg"

		section#locations
			h1 Further locations can be visited at

			p Some other places
			section
				h1 Encompass Health & Wellness
				p 20 Queen Street North. Window accessible from GOUDIES LANE

			section
				h1 Benton & Charles Parking Garage
				p window viewable from Benton Street, west side under overhang

			section
				h1 Joseph Schneider Haus
				p 466 Queen Street South. Window accesible by laneway behind main house — interior of windowed laneway.

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