{"size": 1279, "ext": "js", "max_stars_repo_path": "src/data/auth/activate.cms.js", "max_stars_repo_name": "faouziMohamed/evote-app", "max_stars_repo_stars_event_min_datetime": "2021-07-25T19:33:35.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-11T17:49:54.000Z", "max_issues_repo_path": "src/data/auth/activate.cms.js", "max_issues_repo_name": "faouziMohamed/evote-app", "max_issues_repo_issues_event_min_datetime": "2021-07-30T03:11:09.000Z", "max_issues_repo_issues_event_max_datetime": "2021-07-30T03:23:01.000Z", "max_forks_repo_path": "src/data/auth/activate.cms.js", "max_forks_repo_name": "faouziMohamed/evote-app", "max_forks_repo_forks_event_min_datetime": "2021-07-27T23:45:54.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-11T17:50:41.000Z"}
{"max_stars_count": 2, "max_issues_count": 1, "max_forks_count": 2, "avg_line_length": 21.3166666667, "max_line_length": 63, "alphanum_fraction": 0.5957779515}
import { addScriptTag, getCommonPageData } from '../cms.utils';

export const content = {
  en: {
    pageTitle: 'Activate your account',
    newToUs: 'New to Evote App?',
    signUp: 'Sign up',
    emailLabel: 'Email',
    cinLabel: 'CIN',
    submitBtn: 'Request Activation Link',
  },
  fr: {
    pageTitle: 'Activer votre compte',
    newToUs: 'Nouveau chez Evote App?',
    signUp: "S'inscrire",
    emailLabel: 'Email',
    cinLabel: 'CIN',
    submitBtn: "Demander un lien d'activation",
  },
};

const metadata = {
  en: {
    title: 'Activation Page',
    description: 'Activate vonting account',
    keywords: 'activate, account, register page',
  },
  fr: {
    title: 'Activation Page',
    description: 'Activate vonting account',
    keywords: 'inscription, inscrire, inscrire page',
  },
};

export const activatePageData = {
  lang: 'en',
  content,
  metadata,
  slug: ['activate'],
  inject: {
    bodyScripts: [
      {
        addScriptTag,
        src: '/js/auth_bundle.js',
        type: 'text/javascript',
        attributes: ['async', 'defer'],
      },
    ],
  },
};

export function getActivatePageData(options = {}) {
  return (
    getCommonPageData({ ...activatePageData, ...options }) || {
      ...activatePageData,
      ...options,
    }
  );
}
