import { MetaFunction } from "@remix-run/node";
import { useServiceGetFollowedSellers } from "../requestHandler/use-following-hooks";
import ProfilePagesHeader from "../components/ProfilePagesHeader";
import { Link } from "@remix-run/react";
import { FollowList } from "src/api/types";
import UiProvider from "~/components/UiProvider";
import SellerLogo from "~/components/SellerLogo";
export default function Following() {
const {
data: followedSellers,
isLoading,
isError,
refetch,
} = useServiceGetFollowedSellers();
return (
);
}
const FollowedSellersList = ({
followedSellers,
}: {
followedSellers: FollowList[];
}) => {
return (
{followedSellers.map((seller) => (
))}
);
};
export const meta: MetaFunction = () => {
const title = "فروشگاههای دنبال شده | ویترون";
const description = "مشاهده لیست فروشگاههای دنبال شده در ویترون";
const imageUrl =
"https://vitrownstatics.s3.ir-thr-at1.arvanstorage.ir/SVG-06.svg?versionId=";
return [
{ title },
{ name: "description", content: description },
{
name: "keywords",
content: "فروشگاه، دنبال شده، فالو، ویترون",
},
{ name: "robots", content: "noindex, follow" },
// Open Graph
{ property: "og:type", content: "website" },
{ property: "og:title", content: title },
{ property: "og:description", content: description },
{ property: "og:image", content: imageUrl },
{ property: "og:site_name", content: "ویترون" },
{ property: "og:locale", content: "fa_IR" },
// Twitter Card
{ name: "twitter:card", content: "summary" },
{ name: "twitter:title", content: title },
{ name: "twitter:description", content: description },
];
};