24 lines
1.5 KiB
TypeScript
24 lines
1.5 KiB
TypeScript
import type { MetaFunction } from "@remix-run/node";
|
|
import { useParams } from "react-router-dom";
|
|
import StoreForm from "../components/store/StoreForm";
|
|
|
|
export const meta: MetaFunction = () => {
|
|
return [
|
|
{ title: "ویرایش فروشگاه - ویترون" },
|
|
{ name: "description", content: "ویرایش اطلاعات فروشگاه شما در ویترون. تغییر نام، توضیحات، لوگو و سایر تنظیمات فروشگاه." },
|
|
{ name: "keywords", content: "ویرایش فروشگاه، تنظیمات فروشگاه، اطلاعات فروشگاه، ویترون" },
|
|
{ name: "robots", content: "noindex, follow" },
|
|
{ property: "og:title", content: "ویرایش فروشگاه - ویترون" },
|
|
{ property: "og:description", content: "ویرایش اطلاعات فروشگاه شما در ویترون. تغییر نام، توضیحات، لوگو و سایر تنظیمات فروشگاه." },
|
|
{ property: "og:type", content: "website" },
|
|
{ name: "twitter:card", content: "summary" },
|
|
{ name: "twitter:title", content: "ویرایش فروشگاه - ویترون" },
|
|
{ name: "twitter:description", content: "ویرایش اطلاعات فروشگاه شما در ویترون. تغییر نام، توضیحات، لوگو و سایر تنظیمات فروشگاه." },
|
|
];
|
|
};
|
|
|
|
export default function StoreEdit() {
|
|
const { storeId } = useParams();
|
|
return <StoreForm mode="edit" storeId={storeId} />;
|
|
}
|