forked from cu-mkp/editioncrafter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added sample projects; Added more to getting started docs (#6)
* trying width and height auto * resize based on container * add loading spinner component * added loading spinner to image and transcription views * made dropdown and help icon visible on single pane * initial creation of astro site folder * built out index page * added buttons * updated header * updated deploy.yml to pull from main * Create deploy.yml * Update astro.config.mjs * adding mdx * adding getting started section * increasing responsivity * add mdx * resize based on container * add loading spinner component * initial creation of astro site folder * built out index page * Update astro.config.mjs * adding mdx * adding getting started section * increasing responsivity * adding project view pages * Updates to styling and reactiveness (cu-mkp#75) * trying width and height auto * resize based on container * add loading spinner component * added loading spinner to image and transcription views * made dropdown and help icon visible on single pane * improved layout of nav at small widths * improvement to color of nav row for imageview * Fixing zoom control and help popup bugs (cu-mkp#78) * trying width and height auto * resize based on container * add loading spinner component * added loading spinner to image and transcription views * made dropdown and help icon visible on single pane * improved layout of nav at small widths * improvement to color of nav row for imageview * fixed imageview zoom buttons * fixed positioning issue of help popup * fix merge errors in navigation * Adding astro frontend site (#1) * trying width and height auto * resize based on container * add loading spinner component * added loading spinner to image and transcription views * made dropdown and help icon visible on single pane * initial creation of astro site folder * built out index page * added buttons * updated header * updated deploy.yml to pull from main * Create deploy.yml * Update astro.config.mjs * configured base in astro config * changed base in astro config * updated image links * add mdx * resize based on container * add loading spinner component * initial creation of astro site folder * built out index page * Update astro.config.mjs * adding mdx * adding getting started section * increasing responsivity * resize based on container * add loading spinner component * initial creation of astro site folder * adding project view pages * updated version number for new release * update EC version and tweak viewer layout * Improved navigation component styling (cu-mkp#79) * updated navbar styling to adapt to container * updated stories with 1200px width example * fixed visibility of "jump to folio" on small widths * updated some styles for one-pane view * updated version number for new release (cu-mkp#80) * Adding astro frontend site (#1) * trying width and height auto * resize based on container * add loading spinner component * added loading spinner to image and transcription views * made dropdown and help icon visible on single pane * initial creation of astro site folder * built out index page * added buttons * updated header * updated deploy.yml to pull from main * Create deploy.yml * Update astro.config.mjs * configured base in astro config * changed base in astro config * updated image links * add mdx * resize based on container * add loading spinner component * initial creation of astro site folder * built out index page * Update astro.config.mjs * adding mdx * adding getting started section * increasing responsivity * resize based on container * add loading spinner component * initial creation of astro site folder * adding project view pages * Adding astro frontend site (#1) * trying width and height auto * resize based on container * add loading spinner component * added loading spinner to image and transcription views * made dropdown and help icon visible on single pane * initial creation of astro site folder * built out index page * added buttons * updated header * updated deploy.yml to pull from main * Create deploy.yml * Update astro.config.mjs * resize based on container * add loading spinner component * built out index page * Update astro.config.mjs * adding mdx * adding getting started section * resize based on container * add loading spinner component * update EC version and tweak viewer layout * Adjusting how height is handled dynamically (cu-mkp#82) * updated version number for new release * Making height more dynamic (cu-mkp#81) * making height fit layout container * made height fill container when relevant * fixed async useeffect call * added story contained in full screen div * update version number to 0.2.3 * updated to most recent version of viewer * fleshed out getting started page * fixed height class of viewer * added projects and improved doc page
- Loading branch information
Showing
14 changed files
with
120 additions
and
25 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,16 +1,26 @@ | ||
--- | ||
import { Image } from 'astro:assets'; | ||
export interface Props { | ||
title: string | ||
title: string; | ||
img?: ImageMetadata; | ||
href?: string; | ||
active?: boolean; | ||
} | ||
const { title } = Astro.props; | ||
const { title, img, href = '#', active = true } = Astro.props; | ||
--- | ||
|
||
<div class="bg-neutral flex flex-col w-[336px]"> | ||
<div class="bg-neutral-gray w-[336px] h-[282px]" /> | ||
<p class="p-8"> | ||
{title} | ||
</p> | ||
</div> | ||
<a href={href}> | ||
<div class={`bg-neutral flex flex-col w-[336px] ${active ? 'hover:scale-105 transition cursor-pointer' : 'cursor-default'}`}> | ||
{ img ? ( | ||
<Image src={img} alt={title} height={282} width={336} /> | ||
) : ( | ||
<div class="bg-neutral-gray/30 w-[336px] h-[282px]" /> | ||
) } | ||
<p class="p-8 font-serif"> | ||
{title} | ||
</p> | ||
</div> | ||
</a> |
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
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,15 @@ | ||
--- | ||
import Viewer from "../../layouts/Viewer.astro"; | ||
--- | ||
|
||
<Viewer | ||
documentName='BnF Ms. Fr. 640' | ||
transcriptionTypes={{ | ||
tc: 'Diplomatic (FR)', | ||
tcn: 'Normalized (FR)', | ||
tl: 'Translation (EN)', | ||
test: 'Test Field (EN)', | ||
}} | ||
iiifManifest='https://cu-mkp.github.io/editioncrafter-data/fr640_3r-3v-example/iiif/manifest.json' | ||
title="BnF Ms. Fr. 640" | ||
/> |
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,12 @@ | ||
--- | ||
import Viewer from "../../layouts/Viewer.astro"; | ||
--- | ||
|
||
<Viewer | ||
documentName='O.8.35' | ||
transcriptionTypes={{ | ||
transcription: 'Translation', | ||
}} | ||
iiifManifest='https://cu-mkp.github.io/dyngleyfamily-editioncrafter-data/O_8_35/iiif/manifest.json' | ||
title="Dyngley Family" | ||
/> |
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,13 @@ | ||
--- | ||
import Viewer from "../../layouts/Viewer.astro"; | ||
--- | ||
|
||
<Viewer | ||
threePanel | ||
documentName='Interviste Pescatori 1r-35v' | ||
transcriptionTypes={{ | ||
transcription: 'Transcription' | ||
}} | ||
iiifManifest='https://cu-mkp.github.io/venice-editioncrafter-data/data/interviste-pescatori_1r-35v/iiif/manifest.json' | ||
title="Interviste Pescatori" | ||
/> |
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,13 @@ | ||
--- | ||
import Viewer from "../../layouts/Viewer.astro"; | ||
--- | ||
|
||
<Viewer | ||
documentName='FHL_007548733_TAOS_BAPTISMS_BATCH_2' | ||
transcriptionTypes={{ | ||
translation: 'Translation', | ||
transcription: 'Transcription', | ||
}} | ||
iiifManifest='https://cu-mkp.github.io/editioncrafter/taos-baptisms-example/iiif/manifest.json' | ||
title="Native Bound Unbound" | ||
/> |