@open-slide/core 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{build-Cu5_qRyE.js → build-COxfoC_P.js} +1 -1
- package/dist/cli/bin.js +105 -15
- package/dist/{config-BQ6rD2iE.js → config-CNhYSo4C.js} +79 -896
- package/dist/{config-GMR1QUlM.d.ts → config-DHPbCCnt.d.ts} +1 -1
- package/dist/{dev-BK641O5e.js → dev-CujpTS3T.js} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -3
- package/dist/locale/index.d.ts +5 -2
- package/dist/locale/index.js +2 -2
- package/dist/{preview-BuCI-RMW.js → preview-kU5R6QXJ.js} +1 -1
- package/dist/{types-BcbaKTNY.d.ts → types-BGUi9COY.d.ts} +1 -1
- package/dist/update-CPBitJQq.js +905 -0
- package/dist/vite/index.d.ts +1 -1
- package/dist/vite/index.js +1 -1
- package/dist/{zh-tw-DlZoAc2-.js → zh-tw-BbFb4PZW.js} +519 -1
- package/package.json +4 -4
- package/skills/apply-comments/SKILL.md +1 -0
- package/skills/create-slide/SKILL.md +2 -0
- package/skills/current-slide/SKILL.md +1 -0
- package/skills/slide-authoring/SKILL.md +31 -1
- package/src/app/app.tsx +2 -0
- package/src/app/assets/open-slide.svg +39 -0
- package/src/app/components/command/command-menu.tsx +1 -3
- package/src/app/components/history-provider.tsx +25 -3
- package/src/app/components/inspector/inspector-provider.tsx +179 -21
- package/src/app/components/panel/editor-sidebar.tsx +1 -1
- package/src/app/components/panel/save-card.tsx +6 -2
- package/src/app/components/preview-step-host.tsx +16 -0
- package/src/app/components/sidebar/sidebar.tsx +2 -2
- package/src/app/components/slide-transition-layer.tsx +1 -1
- package/src/app/components/style-panel/style-panel.tsx +3 -2
- package/src/app/components/thumbnail-rail.tsx +37 -0
- package/src/app/favicon.ico +0 -0
- package/src/app/favicon.svg +39 -0
- package/src/app/index.html +2 -1
- package/src/app/lib/keys.ts +3 -0
- package/src/app/lib/locale-store.ts +6 -1
- package/src/app/lib/print-ready.ts +9 -6
- package/src/app/routes/presenter.tsx +1 -16
- package/src/app/routes/preview.tsx +169 -0
- package/src/app/routes/slide.tsx +113 -65
- package/src/locale/es.ts +548 -0
- package/src/locale/index.ts +1 -0
- package/src/locale/types.ts +1 -1
- package/src/app/assets/open-slide.png +0 -0
package/dist/vite/index.d.ts
CHANGED
package/dist/vite/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createViteConfig } from "../config-
|
|
1
|
+
import { t as createViteConfig } from "../config-CNhYSo4C.js";
|
|
2
2
|
export { createViteConfig };
|
|
@@ -516,6 +516,524 @@ const en = {
|
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
//#endregion
|
|
519
|
+
//#region src/locale/es.ts
|
|
520
|
+
const es = {
|
|
521
|
+
id: "es",
|
|
522
|
+
common: {
|
|
523
|
+
cancel: "Cancelar",
|
|
524
|
+
save: "Guardar",
|
|
525
|
+
saving: "Guardando",
|
|
526
|
+
saved: "Guardado",
|
|
527
|
+
discard: "Descartar",
|
|
528
|
+
delete: "Eliminar",
|
|
529
|
+
rename: "Renombrar",
|
|
530
|
+
move: "Mover",
|
|
531
|
+
close: "Cerrar",
|
|
532
|
+
loading: "Cargando",
|
|
533
|
+
loadFailed: "Error al cargar",
|
|
534
|
+
failedToLoadSlide: "No se pudo cargar la presentación",
|
|
535
|
+
home: "Inicio",
|
|
536
|
+
add: "Añadir",
|
|
537
|
+
done: "Hecho",
|
|
538
|
+
tryAgain: "Reintentar",
|
|
539
|
+
undo: "Deshacer",
|
|
540
|
+
redo: "Rehacer",
|
|
541
|
+
selected: "Seleccionado"
|
|
542
|
+
},
|
|
543
|
+
notFound: {
|
|
544
|
+
eyebrow: "404 · no encontrada",
|
|
545
|
+
title: "Página no encontrada"
|
|
546
|
+
},
|
|
547
|
+
home: {
|
|
548
|
+
appTitle: "open-slide",
|
|
549
|
+
draft: "Borradores",
|
|
550
|
+
duplicate: "Duplicar",
|
|
551
|
+
themes: "Temas",
|
|
552
|
+
assets: "Recursos",
|
|
553
|
+
folders: "Carpetas",
|
|
554
|
+
slides: "Presentaciones",
|
|
555
|
+
menu: "Menú",
|
|
556
|
+
newFolder: "Nueva carpeta",
|
|
557
|
+
folderName: "Nombre de la carpeta",
|
|
558
|
+
updateAvailable: "open-slide {version} está disponible",
|
|
559
|
+
updatePackage: "Actualizar",
|
|
560
|
+
updatingPackage: "Actualizando",
|
|
561
|
+
updatePackageDone: "Actualizado. Reinicia el servidor de desarrollo para usar la nueva versión.",
|
|
562
|
+
updatePackageFailed: "Error al actualizar. Revisa la salida del servidor de desarrollo.",
|
|
563
|
+
restartServer: "Reiniciar servidor de desarrollo",
|
|
564
|
+
restartingServer: "Reiniciando",
|
|
565
|
+
restartServerFailed: "Error al reiniciar. Reinicia el servidor de desarrollo manualmente.",
|
|
566
|
+
changeIcon: "Cambiar icono",
|
|
567
|
+
iconEmojiTab: "Emoji",
|
|
568
|
+
iconColorTab: "Color",
|
|
569
|
+
folderActions: "Acciones de carpeta",
|
|
570
|
+
searchPlaceholder: "Buscar presentaciones",
|
|
571
|
+
clearSearch: "Borrar búsqueda",
|
|
572
|
+
sortLabel: "Ordenar",
|
|
573
|
+
sortByCreatedDesc: "Más recientes",
|
|
574
|
+
sortByCreatedAsc: "Más antiguas",
|
|
575
|
+
sortByTitleAsc: "A–Z",
|
|
576
|
+
sortByTitleDesc: "Z–A",
|
|
577
|
+
noMatches: "Sin resultados",
|
|
578
|
+
nothingMatchesPrefix: "Nada coincide con ",
|
|
579
|
+
nothingMatchesSuffix: " en esta carpeta.",
|
|
580
|
+
noSlidesYet: "Aún no hay presentaciones",
|
|
581
|
+
createSlideHintPrefix: "Ejecuta ",
|
|
582
|
+
createSlideHintSuffix: " en tu agente para crear una.",
|
|
583
|
+
folderEmptyTitle: "{name} está vacía",
|
|
584
|
+
folderEmptyHint: "Arrastra una presentación desde Borradores a esta carpeta en la barra lateral.",
|
|
585
|
+
slideActions: "Acciones de la presentación",
|
|
586
|
+
moveToFolder: "Mover a carpeta…",
|
|
587
|
+
renameDialogEyebrow: "Renombrar",
|
|
588
|
+
renameDialogTitle: "Renombrar presentación",
|
|
589
|
+
renameDialogDescription: "Dale un nuevo nombre visible a esta presentación.",
|
|
590
|
+
slideNamePlaceholder: "Nombre de la presentación",
|
|
591
|
+
moveDialogEyebrow: "Mover",
|
|
592
|
+
moveDialogTitle: "Mover presentación",
|
|
593
|
+
moveDialogDescriptionPrefix: "Elige una carpeta para ",
|
|
594
|
+
moveDialogDescriptionSuffix: ".",
|
|
595
|
+
deleteDialogEyebrow: "Acción destructiva",
|
|
596
|
+
deleteDialogTitle: "¿Eliminar presentación?",
|
|
597
|
+
deleteDialogDescriptionPrefix: "Esto elimina permanentemente ",
|
|
598
|
+
deleteDialogDescriptionMid: " y sus archivos del disco. ",
|
|
599
|
+
deleteDialogDescriptionSuffix: "Esta acción no se puede deshacer.",
|
|
600
|
+
toastFolderCreated: "Carpeta «{name}» creada",
|
|
601
|
+
toastFolderCreateFailed: "No se pudo crear la carpeta",
|
|
602
|
+
toastSlideDuplicated: "«{slide}» duplicada como {newSlide}",
|
|
603
|
+
toastSlideDuplicateFailed: "No se pudo duplicar la presentación",
|
|
604
|
+
toastSlideMoved: "«{slide}» movida a {folder}",
|
|
605
|
+
toastSlideMoveFailed: "No se pudo mover la presentación",
|
|
606
|
+
toastFolderDeleted: "Carpeta «{name}» eliminada",
|
|
607
|
+
toastFolderDeleteFailed: "No se pudo eliminar la carpeta",
|
|
608
|
+
toastFolderReorderFailed: "No se pudieron reordenar las carpetas",
|
|
609
|
+
pickIcon: "Elegir icono"
|
|
610
|
+
},
|
|
611
|
+
slide: {
|
|
612
|
+
home: "Inicio",
|
|
613
|
+
backToHome: "Volver al inicio",
|
|
614
|
+
agentConnected: "Agente conectado",
|
|
615
|
+
agentConnectedTooltip: "La diapositiva actual y la selección del inspector se sincronizan con tu agente en tiempo real.",
|
|
616
|
+
agentDisconnected: "Agente desconectado",
|
|
617
|
+
agentDisconnectedTooltip: "Se perdió la conexión con el servidor de desarrollo, así que tu agente ya no ve la diapositiva actual ni la selección del inspector. Reinicia el servidor de desarrollo para restablecerla.",
|
|
618
|
+
download: "Descargar",
|
|
619
|
+
copyLink: "Copiar enlace",
|
|
620
|
+
moreActions: "Más acciones",
|
|
621
|
+
toastCopyLinkSuccess: "Enlace copiado al portapapeles",
|
|
622
|
+
toastCopyLinkFailed: "No se pudo copiar el enlace",
|
|
623
|
+
exportAsHtml: "Exportar como HTML",
|
|
624
|
+
exportAsPdf: "Exportar como PDF",
|
|
625
|
+
exportAsImagePptx: "Exportar como PPTX (imágenes)",
|
|
626
|
+
exportAsPptx: "Exportar como PPTX",
|
|
627
|
+
pdfExportFailed: "Error al exportar PDF",
|
|
628
|
+
pptxExportFailed: "Error al exportar PPTX",
|
|
629
|
+
imagePptxExportFailed: "Error al exportar PPTX",
|
|
630
|
+
pdfExportSafariUnsupported: "Exportar como PDF no está disponible en Safari. Prueba con un navegador basado en Chromium.",
|
|
631
|
+
present: "Presentar",
|
|
632
|
+
presentMenuAria: "Opciones de presentación",
|
|
633
|
+
presentInWindow: "Reproducir",
|
|
634
|
+
presentFullscreen: "Pantalla completa",
|
|
635
|
+
presentPresenter: "Modo presentador",
|
|
636
|
+
slidesTab: "Diapositivas",
|
|
637
|
+
assetsTab: "Recursos",
|
|
638
|
+
renameSlide: "Renombrar presentación",
|
|
639
|
+
loadingEyebrow: "Cargando",
|
|
640
|
+
loadingAssetsEyebrow: "Cargando recursos",
|
|
641
|
+
emptyEyebrow: "Vacía",
|
|
642
|
+
nothingToShow: "No hay nada que mostrar.",
|
|
643
|
+
emptyHintMust: " debe ",
|
|
644
|
+
emptyHintSuffix: " un array no vacío de componentes."
|
|
645
|
+
},
|
|
646
|
+
presenter: {
|
|
647
|
+
eyebrow: "Presentador",
|
|
648
|
+
notLinked: "Sin vincular",
|
|
649
|
+
nowShowing: "En pantalla",
|
|
650
|
+
upNext: "Siguiente",
|
|
651
|
+
lastSlide: "Última diapositiva",
|
|
652
|
+
endOfDeck: "Fin de la presentación",
|
|
653
|
+
speakerNotes: "Notas del ponente",
|
|
654
|
+
notesTextSmaller: "Reducir texto de las notas",
|
|
655
|
+
notesTextLarger: "Ampliar texto de las notas",
|
|
656
|
+
noNotesPrefix: "Esta diapositiva no tiene notas. Añade ",
|
|
657
|
+
noNotesSuffix: " al módulo de la presentación para verlas aquí.",
|
|
658
|
+
blackScreen: "Pantalla negra",
|
|
659
|
+
whiteScreen: "Pantalla blanca",
|
|
660
|
+
prev: "Anterior",
|
|
661
|
+
next: "Siguiente",
|
|
662
|
+
black: "Negro",
|
|
663
|
+
white: "Blanco",
|
|
664
|
+
reset: "Reiniciar",
|
|
665
|
+
resetTimer: "Reiniciar cronómetro",
|
|
666
|
+
currentTime: "Hora actual",
|
|
667
|
+
elapsed: "Transcurrido",
|
|
668
|
+
jump: "Ir a",
|
|
669
|
+
loadingSlide: "Cargando {slideId}…",
|
|
670
|
+
loadingAssets: "Cargando recursos…",
|
|
671
|
+
switchDeck: "Cambiar presentación",
|
|
672
|
+
searchDecks: "Buscar presentaciones…",
|
|
673
|
+
noDecksFound: "Ninguna presentación coincide"
|
|
674
|
+
},
|
|
675
|
+
present: {
|
|
676
|
+
prevSlideAria: "Diapositiva anterior (←)",
|
|
677
|
+
nextSlideAria: "Diapositiva siguiente (→)",
|
|
678
|
+
overviewAria: "Vista general (O)",
|
|
679
|
+
blackoutAria: "Pantalla negra (B)",
|
|
680
|
+
whiteoutAria: "Pantalla blanca (W)",
|
|
681
|
+
laserAria: "Puntero láser (L)",
|
|
682
|
+
presenterAria: "Vista del presentador (P)",
|
|
683
|
+
enterFullscreenAria: "Pantalla completa",
|
|
684
|
+
exitFullscreenAria: "Salir de pantalla completa",
|
|
685
|
+
helpAria: "Atajos de teclado (?)",
|
|
686
|
+
exitAria: "Salir (Esc)",
|
|
687
|
+
elapsedTime: "Tiempo transcurrido",
|
|
688
|
+
helpEyebrow: "Modo presentación",
|
|
689
|
+
helpTitle: "Atajos de teclado",
|
|
690
|
+
shortcutNext: "Diapositiva siguiente",
|
|
691
|
+
shortcutPrev: "Diapositiva anterior",
|
|
692
|
+
shortcutFirstLast: "Primera / última diapositiva",
|
|
693
|
+
shortcutJump: "Ir a diapositiva",
|
|
694
|
+
shortcutOverview: "Vista general",
|
|
695
|
+
shortcutBlack: "Pantalla negra",
|
|
696
|
+
shortcutWhite: "Pantalla blanca",
|
|
697
|
+
shortcutLaser: "Puntero láser",
|
|
698
|
+
shortcutPresenter: "Abrir vista del presentador",
|
|
699
|
+
shortcutToggleHelp: "Mostrar/ocultar esta ayuda",
|
|
700
|
+
shortcutCloseExit: "Cerrar panel / salir",
|
|
701
|
+
overviewDialogAria: "Vista general",
|
|
702
|
+
overviewEyebrow: "Vista general",
|
|
703
|
+
overviewGoToAria: "Ir a la diapositiva {n}",
|
|
704
|
+
nowBadge: "Ahora"
|
|
705
|
+
},
|
|
706
|
+
inspector: {
|
|
707
|
+
format: "Formato",
|
|
708
|
+
editMode: "Editar",
|
|
709
|
+
previewMode: "Vista previa",
|
|
710
|
+
closeFormatPanel: "Cerrar panel de formato",
|
|
711
|
+
editText: "Editar en la diapositiva",
|
|
712
|
+
emptySelectionTitle: "Selecciona un objeto",
|
|
713
|
+
emptySelectionHint: "Haz clic en un objeto para darle formato. Doble clic en un texto para editarlo.",
|
|
714
|
+
textSelectionHint: "El formato se aplica al texto seleccionado.",
|
|
715
|
+
elementText: "Texto",
|
|
716
|
+
elementImage: "Imagen",
|
|
717
|
+
elementShape: "Forma",
|
|
718
|
+
sourceSection: "Código",
|
|
719
|
+
rotateHandle: "Rotar elemento",
|
|
720
|
+
resizeHandle: "Redimensionar {handle}",
|
|
721
|
+
arrangeSection: "Organizar",
|
|
722
|
+
selectionCount: "{count} elementos seleccionados",
|
|
723
|
+
positionLabel: "Posición",
|
|
724
|
+
positionX: "Posición horizontal",
|
|
725
|
+
positionY: "Posición vertical",
|
|
726
|
+
widthLabel: "Ancho",
|
|
727
|
+
heightLabel: "Alto",
|
|
728
|
+
rotationLabel: "Rotación",
|
|
729
|
+
alignToLabel: "Alinear con",
|
|
730
|
+
alignToSelection: "Selección",
|
|
731
|
+
alignToSlide: "Diapositiva",
|
|
732
|
+
alignLeft: "Alinear a la izquierda",
|
|
733
|
+
alignCenter: "Centrar horizontalmente",
|
|
734
|
+
alignRight: "Alinear a la derecha",
|
|
735
|
+
alignTop: "Alinear arriba",
|
|
736
|
+
alignMiddle: "Centrar verticalmente",
|
|
737
|
+
alignBottom: "Alinear abajo",
|
|
738
|
+
distributeLabel: "Distribuir",
|
|
739
|
+
distributeHorizontal: "Distribuir horizontalmente",
|
|
740
|
+
distributeVertical: "Distribuir verticalmente",
|
|
741
|
+
layerLabel: "Capa",
|
|
742
|
+
bringToFront: "Traer al frente",
|
|
743
|
+
bringForward: "Traer adelante",
|
|
744
|
+
sendBackward: "Enviar atrás",
|
|
745
|
+
sendToBack: "Enviar al fondo",
|
|
746
|
+
smartGuides: "Guías inteligentes",
|
|
747
|
+
selectParent: "Seleccionar contenedor",
|
|
748
|
+
visualEditorHint: "Mayús+clic para seleccionar más. ⌘A selecciona todo. Las flechas mueven 1 px; con Mayús, 10 px. Alt ignora las guías. Mayús restringe el arrastre o mantiene las proporciones.",
|
|
749
|
+
sharedLayoutHint: "Este elemento comparte su definición JSX con otras instancias. Selecciona un contenedor padre único para organizarlo de forma independiente.",
|
|
750
|
+
inlineLayoutHint: "Selecciona el contenedor padre para mover o redimensionar contenido en línea.",
|
|
751
|
+
layerLayoutHint: "Parte del contenido anidado no se puede posicionar de forma independiente. Selecciona un contenedor posicionado para cambiar capas.",
|
|
752
|
+
inspect: "Inspeccionar",
|
|
753
|
+
deselect: "Deseleccionar",
|
|
754
|
+
agentWatching: "El agente está observando",
|
|
755
|
+
agentWatchingTooltip: "El elemento seleccionado se sincroniza con tu agente en tiempo real.",
|
|
756
|
+
agentNotWatching: "El agente no está observando",
|
|
757
|
+
agentNotWatchingTooltip: "Se perdió la conexión con el servidor de desarrollo, así que tu agente ya no ve el elemento seleccionado. Reinicia el servidor de desarrollo para restablecerla.",
|
|
758
|
+
contentSection: "Contenido",
|
|
759
|
+
typographySection: "Tipografía",
|
|
760
|
+
colorSection: "Color",
|
|
761
|
+
textColor: "Texto",
|
|
762
|
+
backgroundColor: "Fondo",
|
|
763
|
+
imageSection: "Imagen",
|
|
764
|
+
imagePlaceholderSection: "Marcador de imagen",
|
|
765
|
+
elementTextPlaceholder: "Texto del elemento",
|
|
766
|
+
sizeLabel: "Tamaño",
|
|
767
|
+
weightLabel: "Grosor",
|
|
768
|
+
weightLight: "Fina",
|
|
769
|
+
weightRegular: "Normal",
|
|
770
|
+
weightMedium: "Media",
|
|
771
|
+
weightSemibold: "Seminegrita",
|
|
772
|
+
weightBold: "Negrita",
|
|
773
|
+
weightExtrabold: "Extranegrita",
|
|
774
|
+
styleLabel: "Estilo",
|
|
775
|
+
boldAria: "Negrita",
|
|
776
|
+
italicAria: "Cursiva",
|
|
777
|
+
lineHeightLabel: "Interlineado",
|
|
778
|
+
trackingLabel: "Espaciado",
|
|
779
|
+
alignLabel: "Alineación",
|
|
780
|
+
clearAria: "Borrar",
|
|
781
|
+
replace: "Reemplazar…",
|
|
782
|
+
replaceImageDialogTitle: "Reemplazar imagen",
|
|
783
|
+
replaceImageDescription: "Elige un recurso de {path}.",
|
|
784
|
+
pickerLoading: "Cargando…",
|
|
785
|
+
pickerEmpty: "Aún no hay imágenes en la carpeta de recursos de esta presentación. Añádelas desde la pestaña Recursos.",
|
|
786
|
+
placeholderHintLabel: "Pista:",
|
|
787
|
+
crop: "Recortar…",
|
|
788
|
+
cropDialogTitle: "Recortar imagen",
|
|
789
|
+
cropDialogDescription: "Arrastra el marco para elegir qué parte queda visible.",
|
|
790
|
+
cropFitCover: "Rellenar",
|
|
791
|
+
cropFitContain: "Ajustar",
|
|
792
|
+
cropApply: "Aplicar",
|
|
793
|
+
leaveComment: "Comentar",
|
|
794
|
+
commentPlaceholder: "Describe un cambio para el agente…",
|
|
795
|
+
commentShortcutHint: "⌘/ para enfocar · ⌘↵ para añadir",
|
|
796
|
+
addComment: "Añadir comentario",
|
|
797
|
+
unsavedChanges: {
|
|
798
|
+
one: "{count} cambio sin guardar",
|
|
799
|
+
other: "{count} cambios sin guardar"
|
|
800
|
+
},
|
|
801
|
+
commentsCount: {
|
|
802
|
+
one: "{count} comentario",
|
|
803
|
+
other: "{count} comentarios"
|
|
804
|
+
},
|
|
805
|
+
commentLineLabel: "línea {n}",
|
|
806
|
+
commentsEmpty: "Aún no hay comentarios. Selecciona un objeto y abre Comentar en el panel de formato.",
|
|
807
|
+
commentsApplyHintPrefix: "Ejecuta ",
|
|
808
|
+
commentsApplyHintSuffix: " en tu agente para aplicarlos.",
|
|
809
|
+
commentDeleteAria: "Eliminar",
|
|
810
|
+
saveFailed: "No se pudo guardar:",
|
|
811
|
+
decreaseFontSize: "Reducir tamaño de fuente",
|
|
812
|
+
increaseFontSize: "Aumentar tamaño de fuente"
|
|
813
|
+
},
|
|
814
|
+
stylePanel: {
|
|
815
|
+
designTokens: "Tokens de diseño",
|
|
816
|
+
draftBadge: "borrador",
|
|
817
|
+
unsavedTitle: "Sin guardar",
|
|
818
|
+
closePanelAria: "Cerrar panel de diseño",
|
|
819
|
+
colorsSection: "Colores",
|
|
820
|
+
typographySection: "Tipografía",
|
|
821
|
+
shapeSection: "Forma",
|
|
822
|
+
backgroundLabel: "Fondo",
|
|
823
|
+
textLabel: "Texto",
|
|
824
|
+
accentLabel: "Acento",
|
|
825
|
+
displayFontLabel: "Titulares",
|
|
826
|
+
bodyFontLabel: "Cuerpo",
|
|
827
|
+
heroLabel: "Portada",
|
|
828
|
+
bodyLabel: "Cuerpo",
|
|
829
|
+
radiusLabel: "Radio",
|
|
830
|
+
designToggle: "Diseño",
|
|
831
|
+
designToggleTitle: "Tokens de diseño",
|
|
832
|
+
fontPresetCustom: "Personalizada…",
|
|
833
|
+
shuffleAria: "Diseño aleatorio",
|
|
834
|
+
shuffleTitle: "Mezclar para inspirarte"
|
|
835
|
+
},
|
|
836
|
+
asset: {
|
|
837
|
+
devOnlyMessage: "La gestión de recursos solo está disponible en modo desarrollo.",
|
|
838
|
+
sectionAria: "Recursos de la presentación",
|
|
839
|
+
eyebrow: "Recursos",
|
|
840
|
+
scopeSlide: "Esta presentación",
|
|
841
|
+
scopeGlobal: "Globales",
|
|
842
|
+
fileCount: {
|
|
843
|
+
one: "{count} archivo",
|
|
844
|
+
other: "{count} archivos"
|
|
845
|
+
},
|
|
846
|
+
createdAt: "Creado",
|
|
847
|
+
modifiedAt: "Modificado",
|
|
848
|
+
nameColumn: "Nombre",
|
|
849
|
+
typeColumn: "Tipo",
|
|
850
|
+
sizeColumn: "Tamaño",
|
|
851
|
+
statusColumn: "Estado",
|
|
852
|
+
sortAria: "Ordenar recursos",
|
|
853
|
+
sortByColumn: "Ordenar por {column}",
|
|
854
|
+
sortAscending: "Ascendente",
|
|
855
|
+
sortDescending: "Descendente",
|
|
856
|
+
assetSearchPlaceholder: "Buscar recursos…",
|
|
857
|
+
clearAssetSearch: "Borrar búsqueda de recursos",
|
|
858
|
+
usageFilterAria: "Filtrar por uso",
|
|
859
|
+
usageAll: "Todos",
|
|
860
|
+
usageUsed: "En uso",
|
|
861
|
+
usageUnused: "Sin usar",
|
|
862
|
+
typeFilterAria: "Filtrar por tipo de archivo",
|
|
863
|
+
typeAll: "Todos los tipos",
|
|
864
|
+
typeImage: "Imágenes",
|
|
865
|
+
typeFont: "Fuentes",
|
|
866
|
+
typeVideo: "Vídeos",
|
|
867
|
+
typeOther: "Otros",
|
|
868
|
+
gridViewAria: "Vista de cuadrícula",
|
|
869
|
+
listViewAria: "Vista de lista",
|
|
870
|
+
gridColumnsAria: "Columnas de la cuadrícula",
|
|
871
|
+
gridColumnsValue: "{count} columnas",
|
|
872
|
+
noMatchingAssets: "Ningún recurso coincide",
|
|
873
|
+
noMatchingAssetsHint: "Prueba a ajustar la búsqueda o los filtros.",
|
|
874
|
+
clearFilters: "Borrar filtros",
|
|
875
|
+
searchLogos: "Buscar logos",
|
|
876
|
+
searchFonts: "Buscar fuentes",
|
|
877
|
+
upload: "Subir",
|
|
878
|
+
dropToUpload: "Suelta para subir",
|
|
879
|
+
loading: "Cargando…",
|
|
880
|
+
noAssetsYet: "Aún no hay recursos",
|
|
881
|
+
noAssetsHintPrefix: "Suelta archivos en cualquier parte o usa ",
|
|
882
|
+
noAssetsHintSuffix: ".",
|
|
883
|
+
nameAlreadyExists: "Ya existe un archivo con ese nombre.",
|
|
884
|
+
previewAria: "Vista previa de {name}",
|
|
885
|
+
actionsAria: "Acciones para {name}",
|
|
886
|
+
previewMenuItem: "Vista previa",
|
|
887
|
+
renameMenuItem: "Renombrar",
|
|
888
|
+
deleteMenuItem: "Eliminar",
|
|
889
|
+
conflictTitle: "El archivo ya existe",
|
|
890
|
+
conflictDescription: "{name} ya está en la carpeta de recursos.",
|
|
891
|
+
conflictReplace: "Reemplazar",
|
|
892
|
+
conflictRenameCopy: "Renombrar copia",
|
|
893
|
+
deleteAssetTitle: "Eliminar recurso",
|
|
894
|
+
deleteAssetDescription: "¿Eliminar {name}? Las importaciones que hagan referencia a este archivo dejarán de funcionar.",
|
|
895
|
+
deleteAssetInUseDescription: "{name} se usa en {count} lugar(es) de {slides} presentación(es).",
|
|
896
|
+
deleteAssetInUseHint: "Al eliminarlo, esos usos volverán a ser marcadores de imagen.",
|
|
897
|
+
deleteAndRevert: "Eliminar y revertir",
|
|
898
|
+
toastRevertFailed: "No se pudo revertir el uso en {slideId}",
|
|
899
|
+
toastDeletedWithRevert: "{name} eliminado y {count} uso(s) revertido(s)",
|
|
900
|
+
noPreview: "Vista previa no disponible",
|
|
901
|
+
importHintComment: "import asset from ",
|
|
902
|
+
importHintSemi: ";",
|
|
903
|
+
logoSearchTitle: "Buscar logos",
|
|
904
|
+
logoSearchPoweredByPrefix: "Con la tecnología de ",
|
|
905
|
+
logoSearchPlaceholder: "Buscar por marca…",
|
|
906
|
+
logoSearchErrorTitle: "No se pudo conectar con svgl",
|
|
907
|
+
logoSearchErrorBody: "Comprueba tu conexión e inténtalo de nuevo.",
|
|
908
|
+
logoSearchNoResults: "No hay logos para \"{query}\"",
|
|
909
|
+
logoSearchEmpty: "No hay logos disponibles",
|
|
910
|
+
logoSearchEmptyHintPrefix: "Prueba con otra marca o explora el catálogo completo en ",
|
|
911
|
+
logoSearchEmptyHintSuffix: ".",
|
|
912
|
+
logoVariantLight: "Claro",
|
|
913
|
+
logoVariantDark: "Oscuro",
|
|
914
|
+
fontSearchTitle: "Buscar en Google Fonts",
|
|
915
|
+
fontSearchPoweredByPrefix: "Con la tecnología de ",
|
|
916
|
+
fontSearchPlaceholder: "Buscar familias tipográficas…",
|
|
917
|
+
fontSearchPreviewPlaceholder: "Texto de ejemplo",
|
|
918
|
+
fontSearchErrorTitle: "No se pudo conectar con Google Fonts",
|
|
919
|
+
fontSearchErrorBody: "Comprueba tu conexión e inténtalo de nuevo.",
|
|
920
|
+
fontSearchNoResults: "No hay fuentes para \"{query}\"",
|
|
921
|
+
fontSearchEmpty: "No hay fuentes disponibles",
|
|
922
|
+
fontSearchEmptyHintPrefix: "Prueba con otra familia o explora el catálogo completo en ",
|
|
923
|
+
fontSearchEmptyHintSuffix: ".",
|
|
924
|
+
fontWeightLabel: "Grosor",
|
|
925
|
+
fontPreviewSample: "El veloz murciélago hindú comía feliz cardillo y kiwi 0123456789",
|
|
926
|
+
toastUploadFailed: "Error al subir ({status})",
|
|
927
|
+
toastReplaced: "{name} reemplazado",
|
|
928
|
+
toastUploadedAs: "Subido como {name}",
|
|
929
|
+
toastUploaded: "{name} subido",
|
|
930
|
+
toastRenameFailed: "Error al renombrar ({status})",
|
|
931
|
+
toastRenamed: "Renombrado a {name}",
|
|
932
|
+
toastDeleteFailed: "Error al eliminar ({status})",
|
|
933
|
+
toastDeleted: "{name} eliminado",
|
|
934
|
+
toastDownloadFailed: "No se pudo descargar el logo",
|
|
935
|
+
toastFontDownloadFailed: "No se pudo descargar la fuente",
|
|
936
|
+
toastSearchFailed: "Error en la búsqueda"
|
|
937
|
+
},
|
|
938
|
+
thumbnailRail: {
|
|
939
|
+
pages: "Páginas",
|
|
940
|
+
goToPageAria: "Ir a la página {n}",
|
|
941
|
+
duplicatePage: "Duplicar",
|
|
942
|
+
deletePage: "Eliminar",
|
|
943
|
+
pageActionsAria: "Acciones de la página {n}",
|
|
944
|
+
toastDuplicated: "Página {n} duplicada",
|
|
945
|
+
toastDeleted: "Página {n} eliminada",
|
|
946
|
+
toastDuplicateFailed: "No se pudo duplicar la página",
|
|
947
|
+
toastDeleteFailed: "No se pudo eliminar la página",
|
|
948
|
+
resizeRail: "Redimensionar miniaturas",
|
|
949
|
+
transitionIndicator: "Tiene transición",
|
|
950
|
+
stepsIndicator: "Tiene revelado por pasos",
|
|
951
|
+
overviewAria: "Vista general (O)",
|
|
952
|
+
scrollUpToCurrentPage: "Subir hasta la página actual {n}",
|
|
953
|
+
scrollDownToCurrentPage: "Bajar hasta la página actual {n}"
|
|
954
|
+
},
|
|
955
|
+
pdfToast: {
|
|
956
|
+
title: "Exportando PDF",
|
|
957
|
+
processing: "Procesando página {current} de {total}",
|
|
958
|
+
printing: "Abriendo diálogo de impresión…",
|
|
959
|
+
done: "Hecho"
|
|
960
|
+
},
|
|
961
|
+
pptxToast: {
|
|
962
|
+
title: "Exportando PPTX",
|
|
963
|
+
processing: "Renderizando página {current} de {total}",
|
|
964
|
+
generating: "Generando presentación…",
|
|
965
|
+
done: "Hecho"
|
|
966
|
+
},
|
|
967
|
+
commandMenu: {
|
|
968
|
+
trigger: "Comandos",
|
|
969
|
+
triggerAria: "Abrir menú de comandos",
|
|
970
|
+
triggerTooltip: "Buscar",
|
|
971
|
+
placeholder: "Busca presentaciones o ejecuta un comando…",
|
|
972
|
+
slidePlaceholder: "Busca en esta presentación o ejecuta un comando…",
|
|
973
|
+
empty: "Sin resultados.",
|
|
974
|
+
groupSlides: "Presentaciones",
|
|
975
|
+
groupFolders: "Carpetas",
|
|
976
|
+
groupNavigation: "Ir a",
|
|
977
|
+
groupPresent: "Presentar",
|
|
978
|
+
groupDeck: "Esta presentación",
|
|
979
|
+
groupExport: "Exportar",
|
|
980
|
+
groupPages: "Páginas",
|
|
981
|
+
groupAppearance: "Apariencia",
|
|
982
|
+
groupDeveloper: "Desarrollo",
|
|
983
|
+
goToPage: "Página {n}",
|
|
984
|
+
overview: "Vista general",
|
|
985
|
+
designPanel: "Mostrar/ocultar panel de diseño",
|
|
986
|
+
backToSlides: "Volver a todas las presentaciones",
|
|
987
|
+
themeItem: "Tema: {name}",
|
|
988
|
+
languageItem: "Idioma: {name}",
|
|
989
|
+
hintNavigate: "Navegar",
|
|
990
|
+
hintSelect: "Seleccionar",
|
|
991
|
+
hintClose: "Cerrar"
|
|
992
|
+
},
|
|
993
|
+
themeToggle: {
|
|
994
|
+
toggleAria: "Cambiar tema",
|
|
995
|
+
title: "Tema",
|
|
996
|
+
light: "Claro",
|
|
997
|
+
dark: "Oscuro",
|
|
998
|
+
system: "Sistema"
|
|
999
|
+
},
|
|
1000
|
+
languageToggle: {
|
|
1001
|
+
toggleAria: "Cambiar idioma",
|
|
1002
|
+
title: "Idioma"
|
|
1003
|
+
},
|
|
1004
|
+
imagePlaceholder: {
|
|
1005
|
+
dropOverlay: "Suelta la imagen para usarla aquí",
|
|
1006
|
+
uploading: "Subiendo…",
|
|
1007
|
+
uploadFailed: "No se pudo subir la imagen"
|
|
1008
|
+
},
|
|
1009
|
+
notesDrawer: {
|
|
1010
|
+
toggle: "Notas",
|
|
1011
|
+
pageLabel: "página {n}/{total}",
|
|
1012
|
+
placeholder: "Escribe las notas del ponente para esta diapositiva (admite Markdown)…",
|
|
1013
|
+
statusSaving: "Guardando…",
|
|
1014
|
+
statusSaved: "Guardado",
|
|
1015
|
+
statusError: "Error al guardar: {msg}"
|
|
1016
|
+
},
|
|
1017
|
+
themes: {
|
|
1018
|
+
title: "Temas",
|
|
1019
|
+
noThemesTitle: "Aún no hay temas",
|
|
1020
|
+
noThemesHintPrefix: "Ejecuta ",
|
|
1021
|
+
noThemesHintSuffix: " para crear uno: un archivo markdown en themes/ más una presentación de demostración.",
|
|
1022
|
+
noDemoYet: "Aún no hay demo",
|
|
1023
|
+
noDemoHintPrefix: "Vuelve a ejecutar ",
|
|
1024
|
+
noDemoHintSuffix: " para este tema y generar una presentación de vista previa.",
|
|
1025
|
+
backToGallery: "Volver a temas",
|
|
1026
|
+
pageOf: "página {n}/{total}",
|
|
1027
|
+
nextPageAria: "Página siguiente",
|
|
1028
|
+
prevPageAria: "Página anterior",
|
|
1029
|
+
openThemeAria: "Abrir tema {name}",
|
|
1030
|
+
usedBy: "Presentaciones que usan este tema",
|
|
1031
|
+
usedByEmpty: "Ninguna presentación usa este tema todavía.",
|
|
1032
|
+
expandPromptAria: "Expandir prompt",
|
|
1033
|
+
collapsePromptAria: "Contraer prompt"
|
|
1034
|
+
}
|
|
1035
|
+
};
|
|
1036
|
+
//#endregion
|
|
519
1037
|
//#region src/locale/ja.ts
|
|
520
1038
|
const ja = {
|
|
521
1039
|
id: "ja",
|
|
@@ -2070,4 +2588,4 @@ const zhTW = {
|
|
|
2070
2588
|
}
|
|
2071
2589
|
};
|
|
2072
2590
|
//#endregion
|
|
2073
|
-
export { en as i, zhCN as n, ja as r, zhTW as t };
|
|
2591
|
+
export { en as a, es as i, zhCN as n, ja as r, zhTW as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-slide/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Runtime and CLI for open-slide — write slides in slides/, we handle the rest.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"react": "^19.2.8",
|
|
83
83
|
"react-dom": "^19.2.8",
|
|
84
84
|
"react-image-crop": "^11.0.10",
|
|
85
|
-
"react-router-dom": "^7.18.
|
|
86
|
-
"shadcn": "^4.
|
|
85
|
+
"react-router-dom": "^7.18.4",
|
|
86
|
+
"shadcn": "^4.21.0",
|
|
87
87
|
"sonner": "^2.0.7",
|
|
88
88
|
"tailwind-merge": "^3.5.0",
|
|
89
89
|
"tailwindcss": "^4.3.3",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"vite": "^8.3.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@playwright/test": "~1.
|
|
95
|
+
"@playwright/test": "~1.63.0",
|
|
96
96
|
"@types/node": "^26.6.2",
|
|
97
97
|
"@types/react": "^19.2.18",
|
|
98
98
|
"@types/react-dom": "^19.2.5",
|
|
@@ -53,6 +53,7 @@ Your job: read those markers, perform the described edits, and delete the marker
|
|
|
53
53
|
6. **Verify.**
|
|
54
54
|
- After all edits, re-read the file and confirm the only remaining markers are ones you reported as skipped.
|
|
55
55
|
- Confirm the edited JSX is well-formed (balanced tags, no dangling attributes). If the project's `package.json` has typecheck/lint scripts, run them with the project's package manager; scaffolded projects ship neither TypeScript nor a linter — there, rely on the running dev server (or the `build` script) to surface compile errors. Fix any errors you introduced.
|
|
56
|
+
- If the dev server is running, screenshot each edited page via `/s/<id>/preview?p=N` to confirm the change looks right — see **Previewing a page visually** in `slide-authoring`.
|
|
56
57
|
|
|
57
58
|
7. **Report.**
|
|
58
59
|
- Summarise: `N applied, M skipped` plus a one-line description of each change (including the slide id).
|
|
@@ -82,6 +82,8 @@ If the user asked for a speech script / speaker notes (in the initial request or
|
|
|
82
82
|
|
|
83
83
|
Run the checklist in `slide-authoring` ("Self-review before finishing"). It covers structural correctness, layout discipline, and asset existence.
|
|
84
84
|
|
|
85
|
+
If the dev server is already running, screenshot each page through the preview route and fix what looks off — see **Previewing a page visually** in `slide-authoring`.
|
|
86
|
+
|
|
85
87
|
## Step 8 — Hand off to the user
|
|
86
88
|
|
|
87
89
|
Tell the user:
|
|
@@ -95,6 +95,7 @@ User: "tighten the spacing on this page"
|
|
|
95
95
|
3. Read `pagePath` (e.g. `slides/q2-roadmap/index.tsx`).
|
|
96
96
|
4. Identify the page at `pageIndex` in the default-exported array.
|
|
97
97
|
5. Consult the `slide-authoring` skill for spacing rules, then edit that page in place.
|
|
98
|
+
6. To check the result visually, screenshot `s/<slideId>/preview?p=<pageNumber>` on the dev server — see **Previewing a page visually** in `slide-authoring`.
|
|
98
99
|
|
|
99
100
|
If `current.json` is missing or stale, ask: "Which slide and page should I tighten? The dev server hasn't published a current page recently."
|
|
100
101
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: slide-authoring
|
|
3
|
-
description: Technical reference for writing or editing open-slide pages — file contract, 1920×1080 canvas, type scale, layout, palette/visual direction, assets, speaker notes, stepped reveals, page transitions, and morph transitions. Consult this whenever you are about to write or modify any file under `slides/<id>/`, including from inside the `create-slide` or `apply-comments` workflows, or for any ad-hoc slide edit. Triggers on phrases like "edit slide", "tweak this page", "fix the layout", "change the palette", "reveal one by one", "add a transition", "morph transition", "write the speaker notes", "generate the script / talk track", "investigate the slide framework", "how do slides work here".
|
|
3
|
+
description: Technical reference for writing or editing open-slide pages — file contract, 1920×1080 canvas, type scale, layout, palette/visual direction, assets, speaker notes, stepped reveals, page transitions, and morph transitions. Consult this whenever you are about to write or modify any file under `slides/<id>/`, including from inside the `create-slide` or `apply-comments` workflows, or for any ad-hoc slide edit. Triggers on phrases like "edit slide", "tweak this page", "fix the layout", "change the palette", "reveal one by one", "add a transition", "morph transition", "write the speaker notes", "generate the script / talk track", "preview / screenshot a page", "check how it looks", "investigate the slide framework", "how do slides work here".
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Authoring open-slide pages
|
|
@@ -335,6 +335,35 @@ This applies whenever the *visual element* repeats, not whenever the *data* does
|
|
|
335
335
|
- Arrow keys / PageUp / PageDown navigate. `F` enters fullscreen play mode.
|
|
336
336
|
- In play mode: Space/→ next, ← prev, Esc exit.
|
|
337
337
|
- Hot reload: edit `index.tsx` and the browser updates live.
|
|
338
|
+
- Dev-only preview route `/s/<id>/preview?p=N` renders one page with no editor chrome — see **Previewing a page visually**.
|
|
339
|
+
|
|
340
|
+
## Previewing a page visually
|
|
341
|
+
|
|
342
|
+
After writing or editing a page, look at it — the vertical-budget math catches overflow, but not clashing colors, awkward wraps, or a broken image. While the dev server runs, every page has a chrome-less preview URL; don't drive the full editor UI (home → deck → thumbnail) to get there.
|
|
343
|
+
|
|
344
|
+
1. **Find the dev server.** Read `node_modules/.open-slide/server.json` (written on startup, removed on shutdown):
|
|
345
|
+
|
|
346
|
+
```json
|
|
347
|
+
{ "url": "http://localhost:5173/", "port": 5173, "pid": 41234, "startedAt": "…" }
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
Missing file = the dev server isn't running. Don't start it yourself unless the user asked; skip the visual check and mention it in your hand-off.
|
|
351
|
+
|
|
352
|
+
2. **Open** `<url>s/<slideId>/preview?p=<pageNumber>` — `p` is 1-based. Add `&step=<n>` to show only the first `n` `<Step>`s of a stepped page (default: fully revealed).
|
|
353
|
+
|
|
354
|
+
3. **Wait** for `[data-osd-preview="ready"]` — set once fonts, `data-waitfor` targets, images, and entry animations have settled. It becomes `[data-osd-preview="error"]` instead when the slide id is unknown, the page is out of range, the page throws while rendering, or something hasn't settled within 10 s (a font or image never loaded, a `data-waitfor` target never appeared, an animation is still running); `[data-osd-preview-error]` holds the message. Fix the cause rather than screenshotting anyway.
|
|
355
|
+
|
|
356
|
+
4. **Screenshot** with a **1920×1080 viewport** so the page renders at native size (smaller viewports scale it down to fit). Use whatever browser tool you have (Playwright / Chrome MCP, a browser-automation tool). If the project already has Playwright installed, the CLI works too — `--no` stops `npx` from downloading it:
|
|
357
|
+
|
|
358
|
+
```bash
|
|
359
|
+
npx --no playwright screenshot --viewport-size "1920,1080" \
|
|
360
|
+
--wait-for-selector '[data-osd-preview="ready"]' \
|
|
361
|
+
"http://localhost:5173/s/<slideId>/preview?p=3" /tmp/<slideId>-p3.png
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
If no browser tool is available, don't install one without asking — skip the visual check.
|
|
365
|
+
|
|
366
|
+
Then view the image and fix what you see. The preview hot-reloads like the editor, and it never moves the user's cursor in `current.json`.
|
|
338
367
|
|
|
339
368
|
## Self-review before finishing
|
|
340
369
|
|
|
@@ -353,6 +382,7 @@ This applies whenever the *visual element* repeats, not whenever the *data* does
|
|
|
353
382
|
- [ ] If a `SlideTransition` is declared, every page sits in one family — same duration band (200–280 ms), same easing pair, same hold-then-fade-in shape (no enter delay, no `throughBackground` outside a deliberate section break), magnitude under 12 px / 3%. No six-different-vocabularies decks. When in doubt, omit transitions entirely. (Pages that opt into `morph` may exceed the band to match the morph — see `references/morph.md`.)
|
|
354
383
|
- [ ] If a transition opts into `morph`: every morph `id` is unique per page and stable across the pair, morph geometry is pixel-constant (never measured after mount), no `transform` sits on the morph node, and entrance animations are gated behind `useIsActivePage()`.
|
|
355
384
|
- [ ] If the user asked for a speech script / speaker notes, it lives in `export const notes` (index-aligned with the page array) — not in a markdown or text file.
|
|
385
|
+
- [ ] If the dev server is running, you previewed every page you touched (see **Previewing a page visually**) and fixed what looked off.
|
|
356
386
|
- [ ] Nothing outside `slides/<id>/` was edited.
|
|
357
387
|
|
|
358
388
|
## Anti-patterns
|
package/src/app/app.tsx
CHANGED
|
@@ -7,6 +7,7 @@ import { AssetsPage } from './routes/assets';
|
|
|
7
7
|
import { Home } from './routes/home';
|
|
8
8
|
import { HomeShell } from './routes/home-shell';
|
|
9
9
|
import { Presenter } from './routes/presenter';
|
|
10
|
+
import { Preview } from './routes/preview';
|
|
10
11
|
import { Slide } from './routes/slide';
|
|
11
12
|
import { ThemeDetailPage, ThemesGalleryPage } from './routes/themes';
|
|
12
13
|
|
|
@@ -27,6 +28,7 @@ export function App() {
|
|
|
27
28
|
)}
|
|
28
29
|
<Route path="/s/:slideId" element={<Slide />} />
|
|
29
30
|
<Route path="/s/:slideId/presenter" element={<Presenter />} />
|
|
31
|
+
{import.meta.env.DEV && <Route path="/s/:slideId/preview" element={<Preview />} />}
|
|
30
32
|
<Route path="*" element={<NotFound />} />
|
|
31
33
|
</Routes>
|
|
32
34
|
</TooltipProvider>
|