diff --git a/pitch-deck/components/NavigationFAB.tsx b/pitch-deck/components/NavigationFAB.tsx
index 38357fd..2d04d01 100644
--- a/pitch-deck/components/NavigationFAB.tsx
+++ b/pitch-deck/components/NavigationFAB.tsx
@@ -13,6 +13,8 @@ interface NavigationFABProps {
onGoToSlide: (index: number) => void
lang: Language
onToggleLanguage: () => void
+ slideNames?: string[]
+ onPresenterStart?: () => void
}
export default function NavigationFAB({
@@ -22,6 +24,8 @@ export default function NavigationFAB({
onGoToSlide,
lang,
onToggleLanguage,
+ slideNames: slideNamesProp,
+ onPresenterStart,
}: NavigationFABProps) {
const [isOpen, setIsOpen] = useState(false)
const [isFullscreen, setIsFullscreen] = useState(false)
@@ -35,6 +39,7 @@ export default function NavigationFAB({
})
}, [])
const i = t(lang)
+ const activeSlideNames = slideNamesProp ?? i.slideNames
const toggleFullscreen = useCallback(() => {
if (!document.fullscreenElement) {
@@ -89,7 +94,7 @@ export default function NavigationFAB({
{/* Slide List */}
- {i.slideNames.map((name, idx) => {
+ {activeSlideNames.map((name, idx) => {
const isActive = idx === currentIndex
const isVisited = visitedSlides.has(idx)
const isAI = idx === totalSlides - 1
@@ -164,6 +169,18 @@ export default function NavigationFAB({
+ {/* AI Presenter */}
+ {onPresenterStart && (
+
+ )}
+
{/* Fullscreen */}