修改错误

This commit is contained in:
2025-08-08 00:44:23 +08:00
parent ef2e30401e
commit e903e6a3d1
2 changed files with 41 additions and 41 deletions

View File

@@ -498,7 +498,7 @@ const CreateStationDialog: React.FC<{
type="url" type="url"
value={formData.api_url} value={formData.api_url}
onChange={(e) => setFormData(prev => ({ ...prev, api_url: e.target.value }))} onChange={(e) => setFormData(prev => ({ ...prev, api_url: e.target.value }))}
placeholder="https://api.example.com" placeholder="https://api.packycode.com"
/> />
</div> </div>
@@ -659,7 +659,7 @@ const EditStationDialog: React.FC<{
type="url" type="url"
value={formData.api_url} value={formData.api_url}
onChange={(e) => setFormData(prev => ({ ...prev, api_url: e.target.value }))} onChange={(e) => setFormData(prev => ({ ...prev, api_url: e.target.value }))}
placeholder="https://api.example.com" placeholder="https://api.packycode.com"
/> />
</div> </div>

View File

@@ -99,11 +99,11 @@ export function WelcomePage({ onNavigate, onNewSession }: WelcomePageProps) {
animate={{ opacity: 1, y: 0 }} animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }} transition={{ duration: 0.5 }}
> >
<h1 className="text-5xl font-bold mb-4 flex items-center justify-center gap-4 text-white"> <h1 className="text-5xl font-bold mb-4 flex items-center justify-center gap-4 text-foreground">
<ClaudiaLogoMinimal size={56} /> <ClaudiaLogoMinimal size={56} />
{t("app.welcome")} {t("app.welcome")}
</h1> </h1>
<p className="text-white/90 text-xl"> <p className="text-muted-foreground text-xl">
{t("app.tagline")} {t("app.tagline")}
</p> </p>
</motion.div> </motion.div>
@@ -123,7 +123,7 @@ export function WelcomePage({ onNavigate, onNewSession }: WelcomePageProps) {
}} }}
> >
<div <div
className="h-full group bg-white/5 border border-white/10 rounded-lg hover:bg-white/10 hover:border-orange-500/50 transition-all duration-300 cursor-pointer" className="h-full group bg-card/50 border border-border rounded-lg hover:bg-card hover:border-orange-500/50 transition-all duration-300 cursor-pointer"
onClick={() => handleCardClick(feature.view)} onClick={() => handleCardClick(feature.view)}
> >
<div className="p-10"> <div className="p-10">
@@ -132,10 +132,10 @@ export function WelcomePage({ onNavigate, onNewSession }: WelcomePageProps) {
<feature.icon className={`h-10 w-10 ${feature.color}`} strokeWidth={1.5} /> <feature.icon className={`h-10 w-10 ${feature.color}`} strokeWidth={1.5} />
</div> </div>
<div className="flex-1"> <div className="flex-1">
<h2 className="text-2xl font-bold mb-3 text-white group-hover:text-primary transition-colors"> <h2 className="text-2xl font-bold mb-3 text-foreground group-hover:text-primary transition-colors">
{feature.title} {feature.title}
</h2> </h2>
<p className="text-white/80 text-base leading-relaxed"> <p className="text-muted-foreground text-base leading-relaxed">
{feature.subtitle} {feature.subtitle}
</p> </p>
</div> </div>
@@ -161,7 +161,7 @@ export function WelcomePage({ onNavigate, onNewSession }: WelcomePageProps) {
}} }}
> >
<div <div
className="h-32 group bg-white/5 border border-white/10 rounded-lg hover:bg-white/10 hover:border-orange-500/50 transition-all duration-300 cursor-pointer" className="h-32 group bg-card/50 border border-border rounded-lg hover:bg-card hover:border-orange-500/50 transition-all duration-300 cursor-pointer"
onClick={() => handleCardClick(feature.view)} onClick={() => handleCardClick(feature.view)}
> >
<div className="h-full flex items-center p-6"> <div className="h-full flex items-center p-6">
@@ -169,10 +169,10 @@ export function WelcomePage({ onNavigate, onNewSession }: WelcomePageProps) {
<feature.icon className={`h-7 w-7 ${feature.color}`} strokeWidth={1.5} /> <feature.icon className={`h-7 w-7 ${feature.color}`} strokeWidth={1.5} />
</div> </div>
<div className="flex-1 min-w-0"> <div className="flex-1 min-w-0">
<h3 className="text-sm font-semibold mb-1 text-white group-hover:text-primary transition-colors truncate"> <h3 className="text-sm font-semibold mb-1 text-foreground group-hover:text-primary transition-colors truncate">
{feature.title} {feature.title}
</h3> </h3>
<p className="text-xs text-white/70 line-clamp-2"> <p className="text-xs text-muted-foreground line-clamp-2">
{feature.subtitle} {feature.subtitle}
</p> </p>
</div> </div>