Skip to content

Commit 1b81951

Browse files
authored
Merge pull request #161 from chnm/feature/architecture
Integrate content into pages
2 parents 201c637 + c8e9e29 commit 1b81951

21 files changed

+10245
-897
lines changed

bom-website/assets/js/common.js

+10-13
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ document.addEventListener("DOMContentLoaded", function () {
66
document
77
.querySelectorAll("nav .relative ul")
88
.forEach((ul) => ul.classList.add("hidden"));
9-
document
10-
.querySelectorAll(".dropdown-toggle")
11-
.forEach((btn) => {
12-
btn.classList.remove("dropdown-open");
13-
btn.querySelector("svg").classList.remove("rotate-180");
14-
});
9+
document.querySelectorAll(".dropdown-toggle").forEach((btn) => {
10+
btn.classList.remove("dropdown-open");
11+
btn.querySelector("svg").classList.remove("rotate-180");
12+
});
1513

1614
if (!isOpen) {
1715
dropdown.classList.remove("hidden");
@@ -26,12 +24,11 @@ document.addEventListener("DOMContentLoaded", function () {
2624
document
2725
.querySelectorAll("nav .relative ul")
2826
.forEach((ul) => ul.classList.add("hidden"));
29-
document
30-
.querySelectorAll(".dropdown-toggle")
31-
.forEach((btn) => {
32-
btn.classList.remove("dropdown-open");
33-
btn.querySelector("svg").classList.remove("rotate-180");
34-
});
27+
document.querySelectorAll(".dropdown-toggle").forEach((btn) => {
28+
btn.classList.remove("dropdown-open");
29+
btn.querySelector("svg").classList.remove("rotate-180");
30+
});
3531
}
3632
});
37-
});
33+
});
34+

bom-website/assets/js/database.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
import Alpine from "alpinejs";
2-
import collapse from "@alpinejs/collapse";
3-
4-
// initialize Alpine
5-
window.Alpine = Alpine;
6-
Alpine.plugin(collapse);
7-
81
document.addEventListener("alpine:init", () => {
2+
const params = new URLSearchParams(window.location.search);
93
Alpine.data("billsData", () => ({
104
bills: [],
115
christenings: [],
@@ -118,7 +112,6 @@ document.addEventListener("alpine:init", () => {
118112
// billType defaults to filters.selectedBillType unless one is provided by the app
119113
billType = billType || this.filters.selectedBillType;
120114

121-
122115
// Bills data
123116
let response = await fetch(
124117
`https://data.chnm.org/bom/bills?start-year=${this.filters.selectedStartYear}&end-year=${this.filters.selectedEndYear}&bill-type=${billType}&count-type=${this.filters.selectedCountType}&parish=${this.filters.selectedParishes}&limit=${this.server.limit}&offset=${this.server.offset}`,
@@ -373,5 +366,3 @@ document.addEventListener("alpine:init", () => {
373366
},
374367
}));
375368
});
376-
377-
Alpine.start();

bom-website/content/analysis/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Analysis"
33
slug: /analysis/
44
---
55

6-
Analysis page. *Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.*
6+
The London Bills of Mortality lend themselves to both qualitative and quantitative analyses. The following team member essays analyze the bills using a variety of historical and statistical methods.

bom-website/content/context/_index.md

+34-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,37 @@ title: Context
33
slug: /context/
44
---
55

6-
Context intro. *Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.*
6+
The London Bills of Mortality were complex documents whose format changed significantly over the hundreds of years they were produced by the Worshipful Company of Parish Clerks. These essays by project team members help explain and situate the bills in their historical context.
7+
8+
### General Introduction
9+
10+
- [London Bills of Mortality](https://dev.deathbynumbers.org/context/the-london-bills-of-mortality/)
11+
- [Confusion of Calendars](https://dev.deathbynumbers.org/context/confusion-of-calendars/)
12+
- [Why is There Bread in the Bills?](https://dev.deathbynumbers.org/context/why-bread/)
13+
14+
### Space and Places
15+
16+
- [Parishes and Extra-Parochial Places](https://dev.deathbynumbers.org/context/parishes-and-extra-parochial-places/)
17+
- ["Within the Bills": EEBO and the Early Modern London Metropolis](https://dev.deathbynumbers.org/context/within-the-bills-eebo-and-the-early-modern-london-metropolis/)
18+
- [A Parish By Any Other Name](https://dev.deathbynumbers.org/context/a-parish-by-any-other-name/)
19+
20+
### Production of the Bills
21+
22+
- [A Woman's Touch on the Bills of Mortality](https://dev.deathbynumbers.org/context/2024-06-10-womans-touch/)
23+
- [The Parish Clerks' Memento Mori: Iconography of Death and Trademark in the London Bills of Mortality, 1727-1752](https://dev.deathbynumbers.org/context/parish-clerks-memento-mori/)
24+
25+
### Reading the Bills
26+
27+
- [God's Terrible Voice in the City: New England Connections to the London Bills of Mortality](https://dev.deathbynumbers.org/context/2022-08-29-gods-terrible-voice-in-the-city-new-england-connections-to-the-bills-of-mortality/)
28+
- [London in Tears: Grief and Collective Mourning in the Bills of Mortality](https://dev.deathbynumbers.org/context/2022-11-07-london-in-tears-grief-and-collective-mourning-in-the-bills-of-mortality/)
29+
- [The Facts of Mortality: the Use of the London Bills in Daniel Defoe's _A Journal of the Plague Year_](https://dev.deathbynumbers.org/context/2022-09-26-the-facts-of-mortality-the-use-of-the-london-bills-in-daniel-dafoes-a-journal-of-the-plague-year/)
30+
31+
### Specific Causes of Death
32+
33+
- [A Starvation Death During the Great Plague of 1665](https://dev.deathbynumbers.org/analysis/starvation/)
34+
- [Chimneys and the Great Storm of 1703](https://dev.deathbynumbers.org/analysis/chimneys-and-the-great-storm-of-1703/)
35+
- [Found Dead? Unknown Causes of Death in the Bills of Mortality](https://dev.deathbynumbers.org/context/2022-10-31-found-dead-unknown-causes-of-death-in-the-bills-of-mortality/)
36+
- [Infant Mortality in the Monarchical Bills of Mortality, 1665-1669](https://dev.deathbynumbers.org/analysis/2023-10-25-infant-mortality-in-the-monarchical-bills-of-mortality-1665-1669/)
37+
- [Of Fires Great and Small](https://dev.deathbynumbers.org/analysis/2023-03-14-fires/)
38+
- [Old Age and Aged Deaths](https://dev.deathbynumbers.org/analysis/old-age-and-aged-deaths/)
39+
- [Strangled himself (being distracted): Messy Data and Suicides in the Bills of Mortality](https://dev.deathbynumbers.org/context/strangled-himself-being-distracted-messy-data-and-suicides-in-the-bills-of-mortality/)

bom-website/content/data.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@ title: Data
33
slug: /data/
44
---
55

6-
Data page overview.
6+
The data for the Death by Numbers project has been manually transcribed out of photographs and digitized microfiche images of the original bills of mortality. To ensure that scholars are able to trace our transcriptions back to the original, archival sources, we have divided our transcribed bills into multiple datasets that are named and described according to the archive and call numbers where we found collections of bills. This is most apparent in the downloadable CSV files and can also be traced in the unique IDs for each transcription. For more on our project workflow, see our [methodologies essays](https://deathbynumbers.org/methodologies/).
7+
8+
Data can be access through
9+
- [our online database](https://deathbynumbers.org/database/)
10+
- [images of the bills](https://bom.chnm.org/s/bills-of-mortality/page/welcome)
11+
- [downloadable CSV files](https://deathbynumbers.org/downloads/)
12+
- [our API, which is documented here](https://deathbynumbers.org/api/)

bom-website/content/pedagogy.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ title: Pedagogy
33
slug: /pedagogy/
44
---
55

6-
Pedagogy page.
6+
The London Bills of Mortality make an excellent resource to use in a classroom environment and are appropriate for students grades 8-12, undergraduates, and graduates. You may find below a poster presentation on using the bills in the classroom and a link to the prototype of a text-based adventure game to survive the Great Plague of 1665. More pedagogical resources will be forthcoming.
77

8-
## Games
9-
10-
- Plague game
8+
- [Early Modern Death in the 21st Century Classroom](https://dev.deathbynumbers.org/context/teaching-early-modern-death/)
9+
- [Gaming the Great Plague of London](https://1665plague.rrchnm.org)
1110

bom-website/content/people.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ slug: /team/
77
- [Hernán Adasme](/authors/hernan-adasme/), Graduate Research Assistant, 2022-present
88
- Donna Baker, Grants Manager, 2023-present
99
- Jerusha French, Digital History Research Assistant, 2024-present
10+
- Mikayla Hart, Digital History Research Assistant, 2024-present
1011
- [Jason Heppler](/authors/jason-heppler/), Senior Web Developer, 2021-present
1112
- JD Hubbard, Digital History Research Assistant, 2024-present
1213
- Kristin Jacobsen, Omeka Designer, 2024-present
13-
- [Katie Kania](/authors/katie-kania/), Digital History Research Assistant, 2021-present
1414
- Alison Langford, Office Manager, 2022-present
15+
- Ha Le, Digital History Research Assistant, 2024-present
1516
- Francisco Perez, Digital History Research Assistant, 2024-present
1617
- [Laszlo Taba](/authors/laszlo-taba/), Digital History Research Assistant, 2024-present
1718
- Tony Trinh, Systems Administrator, 2022-present
@@ -37,6 +38,7 @@ slug: /team/
3738
- Julia Hoffer, Grants Administrator, 2020-2022
3839
- [Dan Howlett](/authors/dan-howlett/), Graduate Research Assistant, 2021-2022
3940
- Jennie Jiang, RRCHNM Summer Intern, 2022
41+
- [Katie Kania](/authors/katie-kania/), Digital History Research Assistant, 2021-2024
4042
- God's Will Katchoua, Systems Administrator, 2020-2022
4143
- Paige Kuester, Graduate Student Assistant, 2018
4244
- [Emily Meyers](/authors/emily-meyers/), Digital History Research Assistant, 2021-2023

bom-website/hugo_stats.json

+10-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"bg-orange-100",
7575
"bg-slate-100",
7676
"bg-slate-200",
77-
"bg-slate-500",
77+
"bg-slate-400",
7878
"bg-white",
7979
"bi",
8080
"bi-folder",
@@ -90,6 +90,7 @@
9090
"border-gray-300",
9191
"border-l-4",
9292
"border-none",
93+
"border-r",
9394
"border-slate-200",
9495
"border-solid",
9596
"border-t",
@@ -229,6 +230,7 @@
229230
"max-w-2xl",
230231
"max-w-3xl",
231232
"max-w-lg",
233+
"max-w-none",
232234
"max-w-xl",
233235
"mb-0",
234236
"mb-10",
@@ -306,6 +308,7 @@
306308
"pb-5",
307309
"pb-6",
308310
"posts",
311+
"pr-4",
309312
"pr-5",
310313
"prose",
311314
"prose-2xl",
@@ -356,6 +359,7 @@
356359
"sm:mr-3",
357360
"sm:order-last",
358361
"sm:p-0",
362+
"sm:pl-8",
359363
"sm:pr-16",
360364
"sm:px-5",
361365
"sm:scale-100",
@@ -491,7 +495,7 @@
491495
"fnref:7",
492496
"fnref:8",
493497
"fnref:9",
494-
"games",
498+
"general-introduction",
495499
"got-feedback",
496500
"instructions-title",
497501
"mapping-killings-suicides-and-drownings",
@@ -508,7 +512,9 @@
508512
"problem-number-5-tech-happens",
509513
"problem-number-6-know-when-to-check",
510514
"problem-number-7-not-saving",
515+
"production-of-the-bills",
511516
"project-alumni",
517+
"reading-the-bills",
512518
"regulating-the-price-of-bread",
513519
"reset-button",
514520
"row",
@@ -521,6 +527,8 @@
521527
"solution-please-remember-to-save",
522528
"solution-see-above",
523529
"solution-you-shouldnt-be-surprised-small-level-of-math-knowledge-required",
530+
"space-and-places",
531+
"specific-causes-of-death",
524532
"start-year",
525533
"step-1-putting-your-data-ducks-in-a-row",
526534
"step-2-joining-your-csv-to-your-shp",

0 commit comments

Comments
 (0)