Skip to content

Commit

Permalink
Add metadata to order and order history pages
Browse files Browse the repository at this point in the history
  • Loading branch information
armans-code committed Oct 18, 2024
1 parent 24dcc9c commit 9ad9f1e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/order-history/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { LoginForm } from "@/components/login-form";
import { Metadata } from "next";

export const metadata: Metadata = {
title: "Order | NextMaster",
};

export default function Page() {
return (
Expand Down
5 changes: 5 additions & 0 deletions src/app/order/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ import { removeFromCart } from "@/lib/actions";
import { products } from "@/db/schema";
import { inArray } from "drizzle-orm";
import Link from "next/link";
import { Metadata } from "next";

export const metadata: Metadata = {
title: "Order | NextMaster",
};

export default async function Page() {
const cart = await getCart();
Expand Down

0 comments on commit 9ad9f1e

Please sign in to comment.