Merge pull request #333 from multica-ai/agent/naiyuan-agent/074f02da

feat(web): add canonical URL, robots directive, and login tagline update
This commit is contained in:
Naiyuan Qing 2026-04-02 14:50:51 +08:00 committed by GitHub
commit ed9aef8f39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 2 deletions

View file

@ -50,7 +50,7 @@ describe("LoginPage", () => {
render(<LoginPage />); render(<LoginPage />);
expect(screen.getByText("Multica")).toBeInTheDocument(); expect(screen.getByText("Multica")).toBeInTheDocument();
expect(screen.getByText("AI-native task management")).toBeInTheDocument(); expect(screen.getByText("Turn coding agents into real teammates")).toBeInTheDocument();
expect(screen.getByLabelText("Email")).toBeInTheDocument(); expect(screen.getByLabelText("Email")).toBeInTheDocument();
expect( expect(
screen.getByRole("button", { name: "Continue" }) screen.getByRole("button", { name: "Continue" })

View file

@ -286,7 +286,7 @@ function LoginPageContent() {
<Card className="w-full max-w-sm"> <Card className="w-full max-w-sm">
<CardHeader className="text-center"> <CardHeader className="text-center">
<CardTitle className="text-2xl">Multica</CardTitle> <CardTitle className="text-2xl">Multica</CardTitle>
<CardDescription>AI-native task management</CardDescription> <CardDescription>Turn coding agents into real teammates</CardDescription>
</CardHeader> </CardHeader>
<CardContent> <CardContent>
<form id="login-form" onSubmit={handleSendCode} className="space-y-4"> <form id="login-form" onSubmit={handleSendCode} className="space-y-4">

View file

@ -41,6 +41,13 @@ export const metadata: Metadata = {
twitter: { twitter: {
card: "summary_large_image", card: "summary_large_image",
}, },
alternates: {
canonical: "/",
},
robots: {
index: true,
follow: true,
},
}; };
export default async function RootLayout({ export default async function RootLayout({