Skip to content

Commit

Permalink
adding ely green variorum
Browse files Browse the repository at this point in the history
  • Loading branch information
ajolipa committed Aug 13, 2024
1 parent 44c90cd commit f71cff6
Show file tree
Hide file tree
Showing 6 changed files with 2,904 additions and 121 deletions.
113 changes: 11 additions & 102 deletions astro-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion astro-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@astrojs/mdx": "^2.1.1",
"@astrojs/react": "^3.0.10",
"@astrojs/tailwind": "^5.1.0",
"@cu-mkp/editioncrafter": "^1.0.2",
"@cu-mkp/editioncrafter": "^1.0.3",
"@fontsource/dm-sans": "^5.0.19",
"@fontsource/martel": "^5.0.12",
"@fontsource/source-code-pro": "^5.0.17",
Expand Down
32 changes: 22 additions & 10 deletions astro-web/src/layouts/Viewer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,27 @@ const { title, documentName, transcriptionTypes, iiifManifest, documentInfo, thr
</Container>
) : null
}
<EditionCrafter
documentName={documentName}
documentInfo={documentInfo}
transcriptionTypes={transcriptionTypes}
iiifManifest={iiifManifest}
glossaryURL={glossaryURL}
threePanel={threePanel}
client:only
transition:persist
/>
{
documentInfo ? (
<EditionCrafter
documentInfo={documentInfo}
documentName={documentName}
glossaryURL={glossaryURL}
threePanel={threePanel}
client:only
transition:persist
/>
) : (
<EditionCrafter
documentName={documentName}
transcriptionTypes={transcriptionTypes}
iiifManifest={iiifManifest}
glossaryURL={glossaryURL}
threePanel={threePanel}
client:only
transition:persist
/>
)
}
</div>
</Layout>
31 changes: 25 additions & 6 deletions astro-web/src/pages/projects/ely-green.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,29 @@ import Viewer from "../../layouts/Viewer.astro";

<Viewer
threePanel
documentName='ElyGreenMS'
transcriptionTypes={{
transcription: 'Transcription'
}}
iiifManifest='https://performant-software.github.io/elygreen-variorum-data/ElyGreenMS/iiif/manifest.json'
title="Ely Green Manuscript"
documentName='Ely Green Variorum',
documentInfo={{
egA: {
documentName: 'EG A',
transcriptionTypes: {
'text': 'Transcription'
},
iiifManifest: 'https://faircopy.cloud/documents/eg-a/iiif/manifest.json'
},
egB: {
documentName: 'EG B',
transcriptionTypes: {
'DerivativeB': 'Transcription'
},
iiifManifest: 'https://faircopy.cloud/documents/eg-b/iiif/manifest.json'
},
ElyGreenMS: {
documentName: 'ElyGreen MS',
transcriptionTypes: {
'transcription': 'Transcription'
},
iiifManifest: 'https://faircopy.cloud/documents/ElyGreenMS/iiif/manifest.json'
},
}}
title="Ely Green Variorum"
/>
Loading

0 comments on commit f71cff6

Please sign in to comment.