~singpolyma/post-part

aa897ccbf0cdca6f78ac1a6854cfa568ecb543e7 — Stephen Paul Weber 9 months ago 470848f
slim-lint
6 files changed, 106 insertions(+), 103 deletions(-)

A .slim-lint.yml
M QVtq/index.slim
M credits/index.slim
M index.slim
M interactive/index.slim
M window.slim
A .slim-lint.yml => .slim-lint.yml +7 -0
@@ 0,0 1,7 @@
linters:
  Tab:
    enabled: false
  LineLength:
    enabled: false
  ControlStatementSpacing:
    enabled: false

M QVtq/index.slim => QVtq/index.slim +17 -17
@@ 1,19 1,19 @@
-# Full source may be found at: https://git.singpolyma.net/post-part
-# Copyright 2020 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.

- paras = File.read("assets/paras.txt").lines
/ Full source may be found at: https://git.singpolyma.net/post-part
  Copyright 2020 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.

- paras = File.read('assets/paras.txt').lines
doctype html
html
	head


@@ 53,7 53,7 @@ html
		section#map
			h1 Click on each Location on the Map to be taken to our exhibition webpages

			== open("assets/img/map.svg").read
			== open('assets/img/map.svg').read

		a href="credits" Credits


M credits/index.slim => credits/index.slim +15 -16
@@ 1,19 1,18 @@
-# Full source may be found at: https://git.singpolyma.net/post-part
-# Copyright 2020 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.

- paras = File.read("assets/paras.txt").lines
/ Full source may be found at: https://git.singpolyma.net/post-part
  Copyright 2020 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

M index.slim => index.slim +16 -19
@@ 1,19 1,19 @@
-# Full source may be found at: https://git.singpolyma.net/post-part
-# Copyright 2020 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.

- paras = File.read("assets/paras.txt").lines
/ Full source may be found at: https://git.singpolyma.net/post-part
  Copyright 2020 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.

- paras = File.read('assets/paras.txt').lines
doctype html
html
	head


@@ 26,9 26,6 @@ html
		hgroup
			h1 Post-Part

		a href="https://gofund.me/b0a0ac62" Donate
		a href="https://www.eventbrite.ca/e/artist-lead-walking-tour-post-part-kitchener-exhibition-tickets-147694136137" Artist-Lead Tours

		p= paras[8]
		p= paras[9]
		p= paras[13]

M interactive/index.slim => interactive/index.slim +21 -21
@@ 1,20 1,20 @@
-# Full source may be found at: https://git.singpolyma.net/post-part
-# Copyright 2020 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.

- paras = File.read("assets/paras.txt").lines
- transcripts = File.read("assets/audio/transcripts.txt").lines.map { |x| x.chomp.split("/") }
/ Full source may be found at: https://git.singpolyma.net/post-part
  Copyright 2020 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.

- paras = File.read('assets/paras.txt').lines
- transcripts = File.read('assets/audio/transcripts.txt').lines.map { |x| x.chomp.split('/') }
doctype html
html
	head


@@ 53,13 53,13 @@ html
			- (1..5).each do |n|
				figure
					figcaption
						h1= transcripts[n-1].shift
						h1= transcripts[n - 1].shift
						p
							- transcripts[n-1].each_with_index do |t, i|
								- if t[0] == "*"
							- transcripts[n - 1].each_with_index do |t, i|
								- if t[0] == '*'
									cite= t
								- else
									- if i > 0
									- if i.positive?
									  br
									= t
					audio controls="controls"

M window.slim => window.slim +30 -30
@@ 1,17 1,17 @@
-# 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.
/ 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


@@ 71,7 71,7 @@ html
			h2= "Welcome to Post-Part Site #{num}"
			h2= location

		- if num == "Four"
		- 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"


@@ 98,7 98,7 @@ html
					== Tilt['md'].new { open("assets/window#{num}Transcript.md").read }.render

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


@@ 110,55 110,55 @@ html
		section#window-sponsors
			h1 Thank you to the following sponsors

			- if sponsors.include?("ambrosia")
			- if sponsors.include?('ambrosia')
				a href="https://ambrosiacornerbakery.com/"
					img alt="Abrosia Corner Bakery" src="../../assets/img/ambrosia.png"
			- if sponsors.include?("AWB")
			- if sponsors.include?('AWB')
				a href="https://awesomewithoutborders.org/"
					img alt="Awesome Without Borders" src="../../assets/img/AWB.png"
			- if sponsors.include?("encompass")
			- if sponsors.include?('encompass')
				a href="https://www.encompasshealth.ca/"
					img alt="Encompass Health" src="../../assets/img/encompass.png"
			- if sponsors.include?("shore")
			- if sponsors.include?('shore')
				a href="https://www.shorecentre.ca/"
					img alt="SHORE Centre" src="../../assets/img/shore.png"
			- if sponsors.include?("lisette")
			- 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")
			- if sponsors.include?('CityofKitchener')
				img alt="City of Kitchener" src="../../assets/img/CityofKitchener.png"
			- if sponsors.include?("cotd")
			- 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")
			- 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")
			- 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")
			- 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"
			- if num != 'One'
				section
					h1 Ambrosia Corner Bakery
					p 324 Frederick St

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

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

			- if num != "Four"
			- 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.