Skip to content

Commit

Permalink
Merge branch 'main' of github.com:dracor-org/einakter into production
Browse files Browse the repository at this point in the history
  • Loading branch information
cmil committed Nov 14, 2023
2 parents 149e20b + c686ef6 commit 1079ff6
Show file tree
Hide file tree
Showing 16 changed files with 848 additions and 525 deletions.
254 changes: 238 additions & 16 deletions data.yaml

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions originals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,18 @@ printed: 1835
premiered: 1835-11-04
fulltextUrl: https://books.google.com/books?id=cVVoAAAAcAAJ&printsec=frontcover
---
id: eorig000492
slug: andrieux-les-etourdis-ou-le-mort-suppose
author:
name: François Andrieux
wikidata: Q970585
title: Les étourdis, ou, Le mort supposé
subtitle: Comédie en trois acte, en vers
language: fre
printed: 1788
premiered: 1787-12-14
fulltextUrl: https://books.google.com/books?id=OlI6AAAAcAAJ&printsec=frontcover
---
id: eorig000011
slug: anicet-bourgeois-dumanoir-brisebarre-la-fiole-de-cagliostro
authors:
Expand Down Expand Up @@ -4766,6 +4778,28 @@ language: fre
premiered: 1735-03-26
fulltextUrl: https://books.google.com/books?id=5DHV_iGBur0C&printsec=frontcover
---
id: eorig000493
slug: pujoulx-le-rendez-vous-suppose-ou-le-souper-de-famille
author:
name: Jean-Baptiste Pujoulx
wikidata: Q3164379
title: Le rendez-vous supposé, ou Le souper de famille
subtitle: Comédie en deux actes, et en prose, mêlée d'ariettes
language: fre
premiered: 1798-08-05
fulltextUrl: https://books.google.com/books?id=OqTXxBd3MbsC&printsec=frontcover
---
id: eorig000494
slug: rose-a-quarter-of-an-hour-before-dinner-or-quality-binding
author:
name: John Rose
title: "A Quarter of an Hour Before Dinner; or, Quality Binding"
subtitle: "Dramatic Entertainment of One Act: As Performed at the Theatre Royal in the Hay-Market"
language: eng
printed: 1788
premiered: 1788
fulltextUrl: https://books.google.com/books?id=PQZXAAAAcAAJ&printsec=frontcover
---
id: eorig000368
slug: rozet-falconnet-l-heureuse-rencontre
authors:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"@lingui/macro": "^3.14.0",
"@mdx-js/loader": "^2.1.3",
"@types/js-yaml": "^4.0.5",
"axios": "^1.5.1",
"axios": "^1.6.0",
"ts-node": "^10.9.1"
}
}
22 changes: 22 additions & 0 deletions public/permalink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/components/IdCopy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const IdCopy = ({id, className = ''}: Props) => {
<span className={
`inline-flex bg-white rounded px-1.5 gap-1 align-text-bottom cursor-pointer ${className}`
}>
<img src="/permalink.svg" width="25" alt="Permalink" />
<CopyToClipboard text={`${prefix}${id}`}>
<span title="copy to clipboard">
<span className="pr-1">{id}</span>
Expand Down
8 changes: 7 additions & 1 deletion src/components/Plays.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ export default function Plays () {
id: 'normalizedYear',
header: t`Year (normalized)`,
accessorFn: row => row.normalizedYear?.toString() || '',
cell: info => <span>{formatEra(info.row.original.normalizedYear)}</span>
cell: ({row: { original: {normalizedYear}}}) => {
return (
<span>
{normalizedYear == null ? t`not available` : formatEra(normalizedYear)}
</span>
)
}
},
{
id: 'numberOfScenes',
Expand Down
Loading

0 comments on commit 1079ff6

Please sign in to comment.