2026-10-10 08:19:43 +00:00
|
|
|
|
// First: the static `metadata` below reads a server-only namespace, which the server bootstrap
|
|
|
|
|
|
// adds to i18n when this module loads, whichever module Next loads first (0055).
|
|
|
|
|
|
import '../../../../bootstrap/bootstrap.server';
|
|
|
|
|
|
|
2026-10-08 18:36:22 +00:00
|
|
|
|
import {
|
|
|
|
|
|
SubscriptionTerms,
|
|
|
|
|
|
subscriptionTermsLabels,
|
|
|
|
|
|
} from '@lumina/market/app/screens/(flow)/terms/subscription/organisms/subscription-terms';
|
|
|
|
|
|
import { supportChatUrls } from '@lumina/market/app/screens/organisms/support-entry';
|
|
|
|
|
|
import { getEnv } from '@lumina/market/env';
|
|
|
|
|
|
import type { Metadata } from 'next';
|
|
|
|
|
|
|
|
|
|
|
|
import { i18n } from '../../../../i18n';
|
|
|
|
|
|
|
2026-10-10 08:19:43 +00:00
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
|
title: i18n.t('terms:meta-title'),
|
|
|
|
|
|
description: i18n.t('terms:meta-description'),
|
|
|
|
|
|
};
|
2026-10-08 18:36:22 +00:00
|
|
|
|
|
|
|
|
|
|
/**
|
2026-10-10 09:29:48 +00:00
|
|
|
|
* «شرایط اشتراک», the second tab of «قوانین لومینا» on mobile (S5 ۱.۱, G-2): the section's bar and
|
|
|
|
|
|
* tabs come from its layout; back returns to where the rules were opened (checkout, a suspended
|
|
|
|
|
|
* card, the support sheet).
|
2026-10-08 18:36:22 +00:00
|
|
|
|
*/
|
|
|
|
|
|
export default function SubscriptionTermsPage() {
|
|
|
|
|
|
const labels = subscriptionTermsLabels(
|
|
|
|
|
|
i18n.getFixedT(null, 'terms'),
|
|
|
|
|
|
i18n.getFixedT(null, 'auth'),
|
|
|
|
|
|
getEnv().supportHours,
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
2026-10-10 09:29:48 +00:00
|
|
|
|
<SubscriptionTerms
|
|
|
|
|
|
layout="mobile"
|
|
|
|
|
|
chats={supportChatUrls()}
|
|
|
|
|
|
labels={labels}
|
|
|
|
|
|
/>
|
2026-10-08 18:36:22 +00:00
|
|
|
|
);
|
|
|
|
|
|
}
|