Skip to content

Commit

Permalink
fix: logo and color theme
Browse files Browse the repository at this point in the history
  • Loading branch information
majkshkurti committed Mar 10, 2024
1 parent ec1238d commit 80691f4
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
30 changes: 15 additions & 15 deletions app/configurations/config.klnavi.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ export default configMerger(walttiConfig, {
CHARGING_STATIONS_MAP: 'https://ocpdb.bbnavi.de/tiles/{z}/{x}/{y}.mvt',
CHARGING_STATION_DETAILS_API: 'https://ocpdb.bbnavi.de/api/ocpi/2.2/location/',
PELIAS: `${process.env.GEOCODING_BASE_URL || GEOCODING_BASE_URL}/search`,
PELIAS_REVERSE_GEOCODER: `${
process.env.GEOCODING_BASE_URL || GEOCODING_BASE_URL
}/reverse`,
PELIAS_PLACE: `${
process.env.GEOCODING_BASE_URL || GEOCODING_BASE_URL
}/place`,
PELIAS_REVERSE_GEOCODER: `${process.env.GEOCODING_BASE_URL || GEOCODING_BASE_URL
}/reverse`,
PELIAS_PLACE: `${process.env.GEOCODING_BASE_URL || GEOCODING_BASE_URL
}/place`,
FARES: '', // `${API_URL}/fares`,
FONT: '' // Do not use Google fonts.
},
Expand Down Expand Up @@ -110,14 +108,16 @@ export default configMerger(walttiConfig, {
},

colors: {
primary: '#DA1B1B',
primary: '#007CBD',
iconColors: {
'mode-bus': '#ff0000',
'mode-car': '#007AC9',
'mode-rail': '#008000',
'mode-metro': '#0065B0',
'mode-citybike': '#ff834a',
'mode-charging-station': '#00b096',
'mode-bike-park': '#005ab4',
'mode-carpool': '#DA1B1B',
'mode-carpool': '#9fc727'
},
},

Expand Down Expand Up @@ -289,7 +289,7 @@ export default configMerger(walttiConfig, {
},
visibleInSettingsUi: true,
enabled: true,
},
},
'nextbike_ed': {
icon: 'nextbike',
name: {
Expand Down Expand Up @@ -392,8 +392,8 @@ export default configMerger(walttiConfig, {
carpool: 'CARPOOL',
},

logo: 'klnavi/kaiserslautern_logo.png',
logoSmall: 'bbnavi/stadtnavi-bbnavi-logo-red.svg',
logo: 'klnavi/herzlich_digital_logo.png',
logoSmall: 'bbnavi/herzlich_digital_logo.png',

GTMid: '',

Expand All @@ -412,7 +412,7 @@ export default configMerger(walttiConfig, {
showScaleBar: true, // DT-3470, DT-3397
genericMarker: {
popup: {
offset: [0,0],
offset: [0, 0],
maxWidth: 250,
minWidth: 250,
}
Expand All @@ -434,7 +434,7 @@ export default configMerger(walttiConfig, {
feedIds: ['bbnavi'],

searchSources: ['oa', 'osm'],

searchParams: {
'boundary.rect.min_lat': 49.350625,
'boundary.rect.max_lat': 49.531671,
Expand Down Expand Up @@ -479,7 +479,7 @@ export default configMerger(walttiConfig, {

menu: {
copyright: {
label: Stadt Kaiserslautern ${YEAR}`
label: Herzlich Digital ${YEAR}`
},
content: [
{
Expand Down Expand Up @@ -682,7 +682,7 @@ export default configMerger(walttiConfig, {

showTicketInformation: false,
showTicketPrice: false,
availableTickets: { 'bbnavi' : {}},
availableTickets: { 'bbnavi': {} },
fareMapping: function mapFareId(fareId) {
return {
en: "Adult",
Expand Down
Binary file modified app/configurations/images/klnavi/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion sass/themes/klnavi/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@import 'fonts';

/* main theme colors */
$primary-color: #DA1B1B;
$primary-color: #007CBD;
$secondary-color: darken($primary-color, 20%);
$hilight-color: $primary-color;
$action-color: $primary-color;
Expand Down
4 changes: 2 additions & 2 deletions static/assets/messages/message.klnavi.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"type": "a",
"content": "More info about the pilot project",
"href": "https://klnavi.de"
"href": "https://www.herzlich-digital.de/projekte/klnavi/"
}
],
"de": [
Expand All @@ -21,7 +21,7 @@
{
"type": "a",
"content": "Mehr Infos zum Pilotprojekt",
"href": "https://klnavi.de"
"href": "https://www.herzlich-digital.de/projekte/klnavi/"
}
]
},
Expand Down

0 comments on commit 80691f4

Please sign in to comment.