feat: unify app name

This commit is contained in:
weishu
2025-12-29 14:36:24 +08:00
parent 517eb46b4e
commit e758efb0ec
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# hapi
# HAPI
HAPI means "哈皮," a Chinese transliteration of [Happy](https://github.com/slopus/happy). Great credit to the original project.
+2 -2
View File
@@ -15,7 +15,7 @@
<!-- iOS PWA Meta Tags -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Hapi" />
<meta name="apple-mobile-web-app-title" content="HAPI" />
<link rel="apple-touch-icon" href="/apple-touch-icon-180x180.png" />
<!-- Favicon -->
@@ -38,7 +38,7 @@
}
</script>
<title>Hapi</title>
<title>HAPI</title>
</head>
<body>
<div id="root"></div>
+1 -1
View File
@@ -204,7 +204,7 @@ export function App() {
// Telegram auth failed
return (
<div className="p-4 space-y-3">
<div className="text-base font-semibold">Hapi</div>
<div className="text-base font-semibold">HAPI</div>
<div className="text-sm text-red-600">
{authError ?? 'Not authorized'}
</div>
+3 -3
View File
@@ -20,7 +20,7 @@ export function InstallPrompt() {
<div className="w-full max-w-lg bg-[var(--app-bg)] rounded-t-2xl p-5 pb-8 space-y-4 animate-slide-up">
<div className="flex items-center justify-between">
<h3 className="text-base font-semibold text-[var(--app-fg)]">
Install Hapi
Install HAPI
</h3>
<button
onClick={() => setShowIOSGuide(false)}
@@ -85,7 +85,7 @@ export function InstallPrompt() {
<div className="flex items-center justify-between gap-3">
<div className="flex-1 min-w-0">
<p className="text-sm font-medium text-[var(--app-fg)]">
Install Hapi
Install HAPI
</p>
<p className="text-xs text-[var(--app-hint)] mt-0.5">
Add to home screen for the best experience
@@ -133,7 +133,7 @@ export function InstallPrompt() {
<div className="flex items-center justify-between gap-3">
<div className="flex-1 min-w-0">
<p className="text-sm font-medium text-[var(--app-fg)]">
Install Hapi
Install HAPI
</p>
<p className="text-xs text-[var(--app-hint)] mt-0.5">
Add to home screen for the best experience
+1 -1
View File
@@ -140,7 +140,7 @@ export function LoginPrompt(props: LoginPromptProps) {
<div className="w-full max-w-sm space-y-6">
{/* Header */}
<div className="text-center space-y-2">
<div className="text-2xl font-semibold">Hapi</div>
<div className="text-2xl font-semibold">HAPI</div>
<div className="text-sm text-[var(--app-hint)]">
Enter your access token to continue
</div>
+2 -2
View File
@@ -26,8 +26,8 @@ export default defineConfig({
registerType: 'autoUpdate',
includeAssets: ['favicon.ico', 'apple-touch-icon-180x180.png', 'mask-icon.svg'],
manifest: {
name: 'Hapi',
short_name: 'Hapi',
name: 'HAPI',
short_name: 'HAPI',
description: 'AI-powered development assistant',
theme_color: '#ffffff',
background_color: '#ffffff',