-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathride_to_work_by_bike_config.toml
168 lines (136 loc) · 4.76 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
# COLORS
colorPrimary = "#43449C"
colorPrimaryDark = "#110547"
colorPrimaryOpacity = 0.1
colorSecondary = "#A0D7C4"
colorGray = "#D4D4D4"
colorGrayLight = "#F3F7FF"
colorGrayMiddle = "#DCE1ED"
colorWhite = "#FFFFFF"
colorBlack = "#000000"
colorRed = "#F15857"
colorCustomFormFieldValidationErr = "#A0D7C4"
colorSecondaryBackgroundOpacity = 0.4
colorWhiteBackgroundOpacity = 0.2
colorWhiteBorderOpacity = 0.5
# 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"
urlBaseBackend = "https://test.dopracenakole.cz/"
# 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"
urlDonate = "https://www.nakrmteautomat.cz/dopracenakole"
urlProjectSourceCode = "https://github.com/auto-mat/ride-to-work-by-bike-frontend"
urlFacebook = "https://www.facebook.com/spolekautomat"
urlFacebookRideToWorkByBike = "https://www.facebook.com/dopracenakole"
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"
urlAppDataTermsOfService = "https://dopracenakole.cz/obchodni-podminky"
urlRideToWorkByBikeOldFrontendDjangoApp = "https://dpnk.dopracenakole.net"
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
entryFeePaymentMax = "2000"
entryFeePaymentOptions = "850,1500"
rtwbbChallengeEntryFeeOrderedProductName = "RTWBB challenge entry fee"
rtwbbDonationOrderedProductName = "RTWBB donation"
checkRegisterChallengeStatusIntervalSeconds = 20
checkRegisterChallengeStatusMaxRepetitions = 5
# Merchandise
iDontWantMerchandiseItemCode = "nic"
# API CONFIGURATION
apiBase = "https://test.dopracenakole.cz/rest/"
apiBaseRtwbbFeed = "https://dopracenakole.cz/feed/"
apiBaseIpAddress = "https://ipapi.co/json/"
apiVersion = "1.0"
apiDefaultLang = "cs"
urlApiDiscountCoupon = "discount-coupon/"
urlApiHasOrganizationAdmin = "has-organization-admin/"
urlApiHasUserVerifiedEmail = "auth/registration/has-user-verified-email-address/"
urlApiConfirmEmail = "auth/registration/verify-email/"
urlApiIsUserOrganizationAdmin = "is-user-organization-admin/"
urlApiLogin = "auth/login/"
urlApiLoginGoogle = "auth/google/login/"
urlApiOrganizations = "organizations/"
urlApiLoginFacebook = "auth/facebook/login/"
urlApiMerchandise = "merchandise/"
urlApiPayuCreateOrder = "payu-create-order/"
urlApiRefresh = "auth/token/refresh/"
urlApiRegister = "auth/registration/"
urlApiRegisterChallenge = "register-challenge/"
urlApiRegisterCoordinator = "register-coordinator/"
urlApiResetPassword = "auth/password/reset/"
urlApiSendRegistrationConfirmationEmail = "auth/registration/send-confirmation-email/"
urlApiResetPasswordConfirm = "auth/password/reset/confirm/"
urlApiSubsidiaries = "subsidiaries/"
urlApiTeams = "teams/"
urlApiChallengeRegistrationUser = "challenge/registration/user/"
urlApiCities = "cities/"
urlApiThisCampaign = "this_campaign/"
checkIsEmailVerifiedInterval = 20 # seconds
checkIsThisCampaignCompetitionPhaseTypeInterval = 20 # seconds
# DATE TIME FORMATS
dateTimeFormatsAllLocales = '''
{
"numeric": {
"year": "numeric",
"month": "numeric",
"day": "numeric"
},
"monthYear": {
"year": "numeric",
"month": "long"
},
"monthDay": {
"month": "numeric",
"day": "numeric"
}
}
'''
# 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"