mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-07-02 02:22:55 +08:00
fix(branding): update CloudCLI wordmark styling
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { CLOUDCLI_WORDMARK_FONT_FAMILY } from '../../../constants/branding';
|
||||
|
||||
const loadingDotAnimationDelays = ['0s', '0.15s', '0.3s'];
|
||||
|
||||
export default function AuthLoadingScreen() {
|
||||
@@ -14,7 +16,12 @@ export default function AuthLoadingScreen() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1 className="mb-4 font-serif text-2xl font-bold tracking-tight text-foreground">CloudCLI</h1>
|
||||
<h1
|
||||
className="mb-4 text-2xl font-bold tracking-tight text-foreground"
|
||||
style={{ fontFamily: CLOUDCLI_WORDMARK_FONT_FAMILY }}
|
||||
>
|
||||
CloudCLI
|
||||
</h1>
|
||||
<p className="sr-only">Loading authentication state…</p>
|
||||
<div aria-hidden className="flex items-center justify-center gap-2">
|
||||
{loadingDotAnimationDelays.map((delay) => (
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { ExternalLink, MessageSquare, Star } from 'lucide-react';
|
||||
import { Cloud, ExternalLink, MessageSquare, Star, Users } from 'lucide-react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import { CLOUDCLI_WORDMARK_FONT_FAMILY } from '../../../../constants/branding';
|
||||
import { IS_PLATFORM } from '../../../../constants/config';
|
||||
import { useVersionCheck } from '../../../../hooks/useVersionCheck';
|
||||
import PremiumFeatureCard from '../PremiumFeatureCard';
|
||||
import { Cloud, Users } from 'lucide-react';
|
||||
|
||||
const GITHUB_REPO_URL = 'https://github.com/siteboon/claudecodeui';
|
||||
const DISCORD_URL = 'https://discord.gg/buxwujPNRE';
|
||||
@@ -40,7 +41,12 @@ export default function AboutTab() {
|
||||
</div>
|
||||
<div>
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-base font-semibold text-foreground">CloudCLI</span>
|
||||
<span
|
||||
className="text-base font-semibold text-foreground"
|
||||
style={{ fontFamily: CLOUDCLI_WORDMARK_FONT_FAMILY }}
|
||||
>
|
||||
CloudCLI
|
||||
</span>
|
||||
<a
|
||||
href={releasesUrl}
|
||||
target="_blank"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import { ExternalLink, Star, MessageSquare } from 'lucide-react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import { CLOUDCLI_WORDMARK_FONT_FAMILY } from '../../../../../../constants/branding';
|
||||
import { IS_PLATFORM } from '../../../../../../constants/config';
|
||||
import type { ReleaseInfo } from '../../../../../../types/sharedTypes';
|
||||
|
||||
@@ -51,7 +53,12 @@ export default function VersionInfoSection({
|
||||
</div>
|
||||
<div>
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-sm font-semibold text-foreground">CloudCLI</span>
|
||||
<span
|
||||
className="text-sm font-semibold text-foreground"
|
||||
style={{ fontFamily: CLOUDCLI_WORDMARK_FONT_FAMILY }}
|
||||
>
|
||||
CloudCLI
|
||||
</span>
|
||||
<a
|
||||
href={releasesUrl}
|
||||
target="_blank"
|
||||
|
||||
@@ -2,6 +2,7 @@ import { Activity, Archive, Folder, FolderPlus, MessageSquare, Plus, RefreshCw,
|
||||
import type { TFunction } from 'i18next';
|
||||
|
||||
import { Button, Input, Tooltip } from '../../../../shared/view/ui';
|
||||
import { CLOUDCLI_WORDMARK_FONT_FAMILY } from '../../../../constants/branding';
|
||||
import { IS_PLATFORM } from '../../../../constants/config';
|
||||
import { cn } from '../../../../lib/utils';
|
||||
import type { SidebarSearchMode } from '../../types/types';
|
||||
@@ -67,7 +68,12 @@ export default function SidebarHeader({
|
||||
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" />
|
||||
</svg>
|
||||
</div>
|
||||
<h1 className="truncate text-sm font-normal tracking-tight text-foreground">{t('app.title')}</h1>
|
||||
<h1
|
||||
className="truncate text-sm font-bold tracking-tight text-foreground"
|
||||
style={{ fontFamily: CLOUDCLI_WORDMARK_FONT_FAMILY }}
|
||||
>
|
||||
{t('app.title')}
|
||||
</h1>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
2
src/constants/branding.ts
Normal file
2
src/constants/branding.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export const CLOUDCLI_WORDMARK_FONT_FAMILY =
|
||||
'ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji';
|
||||
Reference in New Issue
Block a user