+ {/* Work header */}
+
+
{work.title}
+
+
+ {work.year &&
Published: {work.year}}
+
Reading time: ~{readingTimeMinutes} min
+
+
+
+ {work.tags?.map(tag => (
+
+ {tag.name}
+
+ ))}
+
+
+
+
+
+
+
+
+
+
+
+ {/* Translation selector */}
+ {translations && translations.length > 0 && (
+
+
Translations
+
+
+
+ {translations.map(translation => (
+
+ ))}
+
+
+ )}
+
+ {/* Reading content */}
+
+
+
+ Text
+ Annotations
+
+
+
+
+ {mainContent.lines.map((line, i) => (
+
+ {line}
+
+ ))}
+
+
+
+
+
+ No annotations yet.
+
+
+
+
+
+ {/* Pagination controls */}
+ {mainContent.totalPages > 1 && (
+
+
+
+
+ Page {activePage} of {mainContent.totalPages}
+
+
+
+
+ )}
+
+