import Component from "@glimmer/component"; import { hash } from "@ember/helper"; import { LinkTo } from "@ember/routing"; import concatClass from "discourse/helpers/concat-class"; import dIcon from "discourse-common/helpers/d-icon"; import i18n from "discourse-common/helpers/i18n"; import { DangerButton, DefaultButton, PrimaryButton, } from "admin/components/admin-page-action-button"; export default class AdminSectionLandingItem extends Component { get title() { if (this.args.titleLabelTranslated) { return this.args.titleLabelTranslated; } else if (this.args.titleLabel) { return i18n(this.args.titleLabel); } } get description() { if (this.args.descriptionLabelTranslated) { return this.args.descriptionLabelTranslated; } else if (this.args.descriptionLabel) { return i18n(this.args.descriptionLabel); } } get tagline() { if (this.args.taglineLabelTranslated) { return this.args.taglineLabelTranslated; } else if (this.args.taglineLabel) { return i18n(this.args.taglineLabel); } } }