rumtk_web/utils/
defaults.rs1use crate::utils::ConstTextMap;
24use phf_macros::phf_ordered_map;
25pub static DEFAULT_TEXT_MAP: ConstTextMap = phf_ordered_map!();
29
30pub const DEFAULT_LOCAL_LISTENING_ADDRESS: &str = "127.0.0.1:3000";
34pub const DEFAULT_OUTBOUND_LISTENING_ADDRESS: &str = "0.0.0.0:3000";
35
36pub const DEFAULT_TEXT_ITEM: &str = "default";
40pub const DEFAULT_CONTACT_ITEM: &str = "company";
41pub const DEFAULT_NO_TEXT: &str = "";
42
43pub const OPT_INVERTED_DIRECTION: &str = "inverted";
47
48pub const PARAMS_TITLE: &str = "title";
52pub const PARAMS_TYPE: &str = "type";
53pub const PARAMS_CSS_CLASS: &str = "class";
54pub const PARAMS_SOCIAL_LIST: &str = "social_list";
55pub const PARAMS_ITEM: &str = "item";
56pub const PARAMS_INVERTED: &str = "inverted";
57pub const PARAMS_SECTION: &str = "section";
58pub const PARAMS_FUNCTION: &str = "function";
59pub const PARAMS_TARGET: &str = "target";
60pub const PARAMS_SIZE: &str = "size";
61pub const PARAMS_CONTENTS: &str = "contents";
62pub const PARAMS_MODULE: &str = "module";
63pub const PARAMS_ENDPOINT: &str = "endpoint";
64
65pub const SECTION_TEXT: &str = "text";
69pub const SECTION_PERSONNEL: &str = "personnel";
70pub const SECTION_CONTACT: &str = "contact";
71pub const SECTION_TITLES: &str = "titles";
72pub const SECTION_API: &str = "api";
73pub const SECTION_SOCIALS: &str = "socials";
74pub const SECTION_SERVICES: &str = "services";
75pub const SECTION_PRODUCTS: &str = "products";
76pub const SECTION_LINKS: &str = "links";
77pub const SECTION_MODULES: &str = "modules";
78pub const SECTION_ENDPOINTS: &str = "endpoint";
79pub const SECTION_DEFAULT: &str = "default";
80
81pub const LANG_EN: &str = "en";
85pub const LANG_ES: &str = "es";
86
87pub const DEFAULT_ICON_STYLE: &str = "fa-solid";
91
92pub const DEFAULT_ROBOT_TXT: &str = r"
96User-agent: *
97Disallow: /static/
98";