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:
commit
ed9aef8f39
3 changed files with 9 additions and 2 deletions
|
|
@ -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" })
|
||||||
|
|
|
||||||
|
|
@ -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">
|
||||||
|
|
|
||||||
|
|
@ -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({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue