configuration/strings/tab.strings.ts

configuration/strings/tab.strings.ts is a file in Bane's Lab Site. 36 lines of code and 8 definitions.

import {
    ANATOMY_SHARE,
    ARCHITECTURE_SHARE,
    GRAMMAR_SHARE,
    METHODOLOGY_SHARE,
} from "#configuration/strings/page.strings";
import { GRAMMAR_EMBLEM } from "#core/assets/image.assets";
import type { TabbedMeta } from "#types/document.types";

export const COPY_SECTION_TITLE = "Copy this section";

export const chapterPageLabel = function chapterPageLabel(section: string): string {
    return `The whole of ${section}`;
};

export const METHODOLOGY_META: TabbedMeta = {
    subtitle: METHODOLOGY_SHARE.tagline,
    title: METHODOLOGY_SHARE.headline,
    version: "3.0.0",
};

export const ARCHITECTURE_META: TabbedMeta = {
    subtitle:
        "A system as a graph, principles as typed records, and the predicate set that makes an architecture real when a model writes the code.",
    title: ARCHITECTURE_SHARE.headline,
    version: "1.0.0",
};

export const GRAMMAR_META: TabbedMeta = {
    emblem: GRAMMAR_EMBLEM,
    subtitle: GRAMMAR_SHARE.tagline,
    title: GRAMMAR_SHARE.headline,
    version: "2.0.0",
};

export const ANATOMY_META: TabbedMeta = {
    subtitle: ANATOMY_SHARE.tagline,
    title: ANATOMY_SHARE.headline,
    version: "1.0.0",
};

export const WRONG_LABEL = "Wrong";

export const CORRECT_LABEL = "Correct";