-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add markdown layout for /work routes. (#188)
- Loading branch information
1 parent
f74c0a2
commit 1adaad5
Showing
28 changed files
with
10,615 additions
and
4,273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"label": { "none": ["Maktaba"] }, | ||
"summary": { | ||
"none": [ | ||
"A digital collection of 20 African Arabic manuscripts from University of Illinois at Urbana-Champaign and Northwestern University with images, translations, and brief essays." | ||
] | ||
}, | ||
"collection": "https://iiif-maktaba.dc.rdc-staging.library.northwestern.edu/collection.json", | ||
"metadata": ["Date", "Subject"], | ||
"locales": [ | ||
{ | ||
"config": "locales/en.json", | ||
"label": "English إنجليزي", | ||
"lang": "en" | ||
}, | ||
{ | ||
"config": "locales/ar.json", | ||
"label": "Arabic عربي", | ||
"lang": "ar" | ||
} | ||
], | ||
"search": { | ||
"enabled": true, | ||
"flexSearch": { | ||
"bidirectional": false, | ||
"charset": ["latin:extra", "arabic:extra"], | ||
"document": { | ||
"index": [ | ||
{ | ||
"bidirectional": true, | ||
"depth": 3, | ||
"field": "label", | ||
"resolution": 9, | ||
"tokenize": "full" | ||
}, | ||
{ | ||
"field": "metadata", | ||
"resolution": 2 | ||
}, | ||
{ | ||
"field": "summary", | ||
"resolution": 1 | ||
} | ||
] | ||
}, | ||
"optimize": true, | ||
"tokenize": "strict" | ||
}, | ||
"index": { | ||
"metadata": { | ||
"all": false, | ||
"enabled": true | ||
}, | ||
"summary": { | ||
"enabled": true | ||
} | ||
} | ||
}, | ||
"theme": { | ||
"defaultTheme": "light", | ||
"accentColor": "red", | ||
"grayColor": "sand", | ||
"panelBackground": "translucent", | ||
"radius": "small", | ||
"scaling": "100%" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<Work.Viewer /> | ||
|
||
<Container> | ||
<Section pb="4"> | ||
<Work.Title size="8" mb="5" /> | ||
<Work.Summary size="4" color="gray" /> | ||
</Section> | ||
|
||
<Section size="1"> | ||
<Tabs.Root defaultValue="details"> | ||
<Tabs.List> | ||
<Tabs.Trigger value="details">Item Details</Tabs.Trigger> | ||
<Tabs.Trigger value="essays">Referencing Content</Tabs.Trigger> | ||
<Tabs.Trigger value="annotations">Transcriptions and Translations</Tabs.Trigger> | ||
</Tabs.List> | ||
|
||
<Box pt="3"> | ||
<Tabs.Content value="details"> | ||
<Work.Metadata /> | ||
<Work.RequiredStatement /> | ||
<Work.ManifestId /> | ||
</Tabs.Content> | ||
|
||
<Tabs.Content value="annotations"> | ||
<Work.Scroll /> | ||
</Tabs.Content> | ||
|
||
<Tabs.Content value="essays"> | ||
<Work.ReferencingContent /> | ||
</Tabs.Content> | ||
|
||
</Box> | ||
</Tabs.Root> | ||
|
||
</Section> | ||
|
||
<Section size="1"> | ||
## Related Works | ||
|
||
<Work.Related /> | ||
|
||
</Section> | ||
|
||
</Container> |
Oops, something went wrong.