-
Notifications
You must be signed in to change notification settings - Fork 4
/
ride_to_work_by_bike_config.toml
132 lines (104 loc) · 3.32 KB
/
ride_to_work_by_bike_config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# COLORS
colorPrimary = "#43449C"
colorPrimaryDark = "#110547"
colorPrimaryOpacity = 0.1
colorSecondary = "#A0D7C4"
colorGray = "#D4D4D4"
colorGrayLight = "#F3F7FF"
colorGrayMiddle = "#DCE1ED"
colorWhite = "#FFFFFF"
colorBlack = "#000000"
colorRed = "#F15857"
colorSecondaryBackgroundOpacity = 0.4
colorWhiteBackgroundOpacity = 0.2
# STYLING ATTRIBUTES
# container used for registration forms
containerFormWidth = "752px"
# container used for main layout
containerContentWidth = "1024px"
borderRadiusButtonSmall = "8px"
borderRadiusCard = "16px"
borderRadiusCardSmall = "8px"
maxWidthBanner = "876px"
image = "image.png"
width = "850px"
title = "Title"
subtitle = "Subtitle"
notifyMessagePosition = "top"
# CONTACT DETAILS
# Emails
contactEmail = "[email protected]"
# LOCAL URLS
urlRTWBBLogo = "#/"
urlLoginRegisterBackgroundImage = "/image/login-register-layout.webp"
# EXTERNAL URLS
urlAppStore = "https://apps.apple.com/cz/app/do-pr%C3%A1ce-na-kole/id1564442780"
urlAutoMat = "https://auto-mat.cz"
urlBlog = "https://dopracenakole.cz/novinky-do-prace-na-kole"
urlProjectSourceCode = "https://github.com/auto-mat/ride-to-work-by-bike-frontend"
urlFacebook = "https://www.facebook.com/spolekautomat"
urlFreeSoftwareDefinition = "https://www.gnu.org/philosophy/free-sw.en.html"
urlGooglePlay = "https://play.google.com/store/apps/details?id=cz.dopracenakole"
urlInstagram = "https://www.instagram.com/spolekautomat"
urlAppDataPrivacyPolicy = "https://auto-mat.cz/zasady"
urlTwitter = "https://twitter.com/spolekautomat"
urlVideoLoggingRoutes = "https://www.youtube.com/embed/ItfTtrEutgo?rel=0"
urlVideoOnboarding = "https://www.youtube.com/embed/ItfTtrEutgo?rel=0"
urlYoutube = "https://www.youtube.com/@spolekautomat"
# CHALLENGE DETAILS
challengeMonth = "may"
challengeStartDate = "2024-08-01T12:00:00"
challengeLoggingWindowDays = 8
defaultDistanceZero = "0.00"
# Challenge registration
entryFeePaymentMin = "390"
entryFeePaymentMax = "2000"
entryFeePaymentOptions = "500,700"
# API CONFIGURATION
apiBase = "https://test.dopracenakole.cz/rest/"
apiVersion = "1.0"
apiDefaultLang = "cs"
urlApiHasUserVerifiedEmail = "auth/registration/has-user-verified-email-address/"
urlApiLogin = "auth/login/"
urlApiLoginGoogle = "auth/google/login/"
urlApiOrganizations = "organizations/"
urlApiLoginFacebook = "auth/facebook/login/"
urlApiRefresh = "auth/token/refresh/"
urlApiRegister = "auth/registration/"
urlApiRegisterCoordinator = "challenge/registration/coordinator/"
urlApiResetPassword = "auth/password/reset/"
urlApiChallengeRegistrationUser = "challenge/registration/user/"
checkIsEmailVerifiedInterval = 20 # seconds
# DATE TIME FORMATS
dateTimeFormatsAllLocales = '''
{
"numeric": {
"year": "numeric",
"month": "numeric",
"day": "numeric"
},
"monthYear": {
"year": "numeric",
"month": "long"
}
}
'''
# SECRETS
secretString = "SECRET"
googleLoginAppId = "SECRET"
facebookLoginAppId = "SECRET"
# LIBRARIES
facebookLoginSdkVersion = "v21.0"
facebookLoginSdkOptions = '''
{
"scope": "email,public_profile"
}
'''
# MAP SETTINGS
mapProjection = "EPSG:3857"
mapCenterLon = "14.4378"
mapCenterLat = "50.0755"
mapZoom = "14"
mapGeocodingApiUrl = "https://nominatim.openstreetmap.org/reverse"
mapSourceRtwbb = "https://mnk-osm-tiles.dopracenakole.net/{z}/{x}/{y}.png"
mapSourceOsm = "https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"