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";
62
63pub const SECTION_TEXT: &str = "text";
67pub const SECTION_PERSONNEL: &str = "personnel";
68pub const SECTION_CONTACT: &str = "contact";
69pub const SECTION_TITLES: &str = "titles";
70pub const SECTION_API: &str = "api";
71pub const SECTION_SOCIALS: &str = "socials";
72pub const SECTION_SERVICES: &str = "services";
73pub const SECTION_PRODUCTS: &str = "products";
74pub const SECTION_LINKS: &str = "links";
75pub const SECTION_DEFAULT: &str = "default";
76
77pub const LANG_EN: &str = "en";
81pub const LANG_ES: &str = "es";
82
83pub const DEFAULT_ICON_STYLE: &str = "fa-solid";
87
88pub const DEFAULT_ROBOT_TXT: &str = r"
92User-agent: *
93Disallow: /static/
94";