Skip to content

Commit dab2a11

Browse files
Merge pull request #9 from aboderinsamuel/main
fix: make / the marketing landing page, move dashboard to /dashboard
2 parents a6d3101 + 4e7bf0e commit dab2a11

13 files changed

Lines changed: 496 additions & 496 deletions

File tree

__tests__/components/PromptForm.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ describe("PromptForm – authenticated submission", () => {
9696
expect(mockAddOptimistic).toHaveBeenCalledWith(
9797
expect.objectContaining({ title: "My Prompt", content: "Prompt content" })
9898
);
99-
expect(mockPush).toHaveBeenCalledWith("/dashboard");
99+
expect(mockPush).toHaveBeenCalledWith("/");
100100
});
101101

102102
it("defaults collection to 'uncategorized' when left blank", async () => {

app/dashboard/page.tsx

Lines changed: 0 additions & 135 deletions
This file was deleted.

app/docs/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ export default function DocsPage() {
439439
{" "}· Computer Engineering · UNILAG
440440
</p>
441441
<div className="flex items-center gap-4 text-sm">
442-
<Link href="/" className="text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 transition-colors">Home</Link>
442+
<Link href="/home" className="text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 transition-colors">Home</Link>
443443
<Link href="/prompts/new" className="text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 transition-colors">New Prompt</Link>
444444
<Link href="/ocr" className="text-neutral-500 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-100 transition-colors">OCR</Link>
445445
</div>

0 commit comments

Comments
 (0)