feat(pitch-deck): add Data Room link for investors in top-right corner
Build pitch-deck / build-push-deploy (push) Successful in 1m19s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 32s
CI / test-python-voice (push) Successful in 31s
CI / test-bqas (push) Successful in 29s
Build pitch-deck / build-push-deploy (push) Successful in 1m19s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 32s
CI / test-python-voice (push) Successful in 31s
CI / test-bqas (push) Successful in 29s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,8 @@ import { useAuditTracker } from '@/lib/hooks/useAuditTracker'
|
|||||||
import { Language, PitchData } from '@/lib/types'
|
import { Language, PitchData } from '@/lib/types'
|
||||||
import { Investor } from '@/lib/hooks/useAuth'
|
import { Investor } from '@/lib/hooks/useAuth'
|
||||||
|
|
||||||
|
import Link from 'next/link'
|
||||||
|
import { FolderOpen } from 'lucide-react'
|
||||||
import ParticleBackground from './ParticleBackground'
|
import ParticleBackground from './ParticleBackground'
|
||||||
import ProgressBar from './ProgressBar'
|
import ProgressBar from './ProgressBar'
|
||||||
import NavigationControls from './NavigationControls'
|
import NavigationControls from './NavigationControls'
|
||||||
@@ -237,6 +239,17 @@ export default function PitchDeck({ lang, onToggleLanguage, investor, onLogout,
|
|||||||
{/* Investor watermark */}
|
{/* Investor watermark */}
|
||||||
{investor && <Watermark text={investor.email} />}
|
{investor && <Watermark text={investor.email} />}
|
||||||
|
|
||||||
|
{/* Data Room link — only for real investor sessions, not preview */}
|
||||||
|
{investor && !previewData && (
|
||||||
|
<Link
|
||||||
|
href="/dataroom"
|
||||||
|
className="fixed top-4 right-4 z-40 flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-white/[0.06] border border-white/[0.08] text-white/50 hover:text-white/80 hover:bg-white/[0.1] backdrop-blur-sm transition-all text-xs"
|
||||||
|
>
|
||||||
|
<FolderOpen className="w-3.5 h-3.5" />
|
||||||
|
Data Room
|
||||||
|
</Link>
|
||||||
|
)}
|
||||||
|
|
||||||
<SlideContainer slideKey={nav.currentSlide} direction={nav.direction}>
|
<SlideContainer slideKey={nav.currentSlide} direction={nav.direction}>
|
||||||
{renderSlide()}
|
{renderSlide()}
|
||||||
</SlideContainer>
|
</SlideContainer>
|
||||||
|
|||||||
Reference in New Issue
Block a user