Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: remove the welcome description on desktop

Vanalite99b870faaa68
diff --git a/web-app/src/containers/SetupScreen.tsx b/web-app/src/containers/SetupScreen.tsx
index 74e966244..f48f0e6de 100644
--- a/web-app/src/containers/SetupScreen.tsx
+++ b/web-app/src/containers/SetupScreen.tsx
@@ -330,10 +330,6 @@ function SetupScreen() {
}
}, [quickStartInitiated, isDownloaded, defaultVariant, navigate])
- const descriptionKey = isQuickStartAvailable
- ? 'setup:description'
- : 'setup:descriptionWeb'
-
return (
<div className="flex h-full flex-col justify-center">
<HeaderPage></HeaderPage>
@@ -343,9 +339,11 @@ function SetupScreen() {
<h1 className="font-editorialnew text-main-view-fg text-4xl">
{t('setup:welcome')}
</h1>
- <p className="text-main-view-fg/70 text-lg mt-2">
- {t(descriptionKey)}
- </p>
+ {!isQuickStartAvailable && (
+ <p className="text-main-view-fg/70 text-lg mt-2">
+ {t('setup:descriptionWeb')}
+ </p>
+ )}
</div>
<div className="flex gap-4 flex-col">
{/* Quick Start Button - Highlighted */}