File tree Expand file tree Collapse file tree
frontend/src/routes/inscription/[slug] Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 import InscriptionEdition from ' $lib/components/inscription/InscriptionEdition.svelte' ;
1313 import InscriptionOverview from ' $lib/components/inscription/InscriptionOverview.svelte' ;
1414 import ScrollSpy from ' $lib/components/ScrollSpy.svelte' ;
15+ import InscriptionLettering from ' $lib/components/InscriptionLettering.svelte' ;
1516
1617 /**
1718 * @typedef {Object} Props
232233 < dd> {config .EMPTY_PLACEHOLDER }< / dd>
233234 {/ if }
234235
235- {#if metadata? .handNote ? .lettering }
236- < dt> Lettering< / dt>
237- < dd>
238- < p> {metadata .handNote .lettering ._ }< / p>
239- {#if metadata .lettering_types }
240- < ul>
241- {#each metadata .lettering_types as aref}
242- < li>< a href= {aref .target }> {aref ._ }< / a>< / li>
243- {/ each}
244- < / ul>
245- {/ if }
246- < / dd>
247- {/ if }
236+ < dt> Lettering< / dt>
237+ < dd>
238+ {#if metadata? .handNote ? .lettering }
239+ < InscriptionLettering lettering= {metadata .handNote .lettering } / >
240+ {: else }
241+ {config .EMPTY_PLACEHOLDER }
242+ {/ if }
243+ < / dd>
244+
248245 < dt> Letter heights< / dt>
249246 {#each metadata .handNote .dimensions .filter ((dim ) => dim? .type === ' letterHeight' ) as dimension}
250247 < dd> {dimension .l }: {dimension .h }{dimension .unit }< / dd>
You can’t perform that action at this time.
0 commit comments