mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
21 lines
530 B
TypeScript
21 lines
530 B
TypeScript
"use client";
|
|
|
|
import GlobalBackButton from "@/components/GlobalBackButton";
|
|
import { useTranslations } from "next-intl";
|
|
|
|
type GlobalInfoProps = {
|
|
countries: string[];
|
|
};
|
|
|
|
export default function GlobalInfo({ countries }: GlobalInfoProps) {
|
|
const t = useTranslations("Global");
|
|
return (
|
|
<section className="flex items-center justify-between">
|
|
<GlobalBackButton />
|
|
<p className="text-sm font-medium opacity-40">
|
|
{t("Distributions")} {countries.length} {t("Regions")}
|
|
</p>
|
|
</section>
|
|
);
|
|
}
|