Skip to content

Commit 58b30ed

Browse files
committed
modal
1 parent 55bd165 commit 58b30ed

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

dashboard/ai-analytics/src/components/ui/onboarding-modal.tsx

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -372,26 +372,36 @@ export function OnboardingModal({ isOpen, onClose }: OnboardingModalProps) {
372372
<div className="flex">
373373
{currentStep === 0 ? (
374374
<a
375-
href={learnMoreUrl}
375+
href={activeTab === 'deploy'
376+
? 'https://github.com/tinybirdco/llm-performance-tracker?tab=readme-ov-file#build-and-deploy-your-own-llm-tracker'
377+
: activeTab === 'litellm'
378+
? 'https://www.tinybird.co/docs/forward/get-data-in/guides/ingest-litellm'
379+
: 'https://www.tinybird.co/docs/forward/get-data-in/guides/ingest-vercel-ai-sdk'
380+
}
376381
target="_blank"
377382
rel="noopener noreferrer"
378383
className="h-[48px] px-12 text-[#F4F4F4] hover:text-white transition-colors flex items-center"
379384
>
380-
Learn more
385+
{activeTab === 'deploy'
386+
? 'Fork and build your own'
387+
: activeTab === 'litellm'
388+
? 'Learn about LiteLLM'
389+
: 'Learn about Vercel AI SDK'
390+
}
381391
</a>
382392
) : (
383393
<button
384-
onClick={handlePrevious}
394+
onClick={() => setCurrentStep(0)}
385395
className="h-[48px] px-12 text-[#F4F4F4] hover:text-white transition-colors"
386396
>
387-
Previous
397+
Getting Started
388398
</button>
389399
)}
390400
<button
391401
onClick={handleNext}
392402
className="h-[48px] px-12 bg-[#27F795] text-black hover:bg-[#20C77A] transition-colors"
393403
>
394-
Next
404+
{currentStep === 0 ? 'Tour' : 'Next'}
395405
</button>
396406
</div>
397407
</div>

0 commit comments

Comments
 (0)