@use crate::templates::base;
@use crate::template_utils::*;
@use crate::routes::*;

@(ctx: BaseContext)

@:base(ctx, i18n!(ctx.1, "Moderation"), {}, {}, {
  <h1>@i18n!(ctx.1, "Moderation")</h1>

  @tabs(&[
    (&uri!(instance::admin).to_string(), i18n!(ctx.1, "Home"), true),
    (&uri!(instance::admin_instances: page = _).to_string(), i18n!(ctx.1, "Instances"), false),
    (&uri!(instance::admin_users: page = _).to_string(), i18n!(ctx.1, "Users"), false),
  ])
})
