You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
2.5 KiB
JavaScript
102 lines
2.5 KiB
JavaScript
/* eslint-disable */
|
|
import configMerger from '../util/configMerger';
|
|
|
|
const CONFIG = '__theme__';
|
|
const APP_TITLE = 'Uusi Reittiopas';
|
|
const APP_DESCRIPTION = 'Uusi Reittiopas - __theme__';
|
|
|
|
const walttiConfig = require('./config.waltti').default;
|
|
|
|
const minLat = 60;
|
|
const maxLat = 70;
|
|
const minLon = 20;
|
|
const maxLon = 31;
|
|
|
|
export default configMerger(walttiConfig, {
|
|
CONFIG,
|
|
|
|
appBarLink: { name: '__Theme__', href: 'http://www.__theme__.fi/' },
|
|
|
|
colors: {
|
|
primary: '__color__',
|
|
iconColors: {
|
|
'mode-bus': '__color__',
|
|
},
|
|
},
|
|
|
|
socialMedia: {
|
|
title: APP_TITLE,
|
|
description: APP_DESCRIPTION,
|
|
},
|
|
|
|
title: APP_TITLE,
|
|
|
|
textLogo: __textlogo__,
|
|
|
|
feedIds: ['__Theme__'],
|
|
|
|
searchParams: {
|
|
'boundary.rect.min_lat': minLat,
|
|
'boundary.rect.max_lat': maxLat,
|
|
'boundary.rect.min_lon': minLon,
|
|
'boundary.rect.max_lon': maxLon,
|
|
},
|
|
|
|
areaPolygon: [
|
|
[minLon, minLat],
|
|
[minLon, maxLat],
|
|
[maxLon, maxLat],
|
|
[maxLon, minLat],
|
|
],
|
|
|
|
defaultEndpoint: {
|
|
address: '__Theme__',
|
|
lat: 0.5 * (minLat + maxLat),
|
|
lon: 0.5 * (minLon + maxLon),
|
|
},
|
|
|
|
menu: {
|
|
copyright: { label: `© __Theme__ ${walttiConfig.YEAR}` },
|
|
content: [
|
|
{
|
|
name: 'about-this-service',
|
|
route: '/tietoja-palvelusta',
|
|
},
|
|
{
|
|
name: 'accessibility-statement',
|
|
href:
|
|
'https://kauppa.waltti.fi/media/authority/154/files/Saavutettavuusseloste_Waltti-reittiopas_JyQfJhC.htm',
|
|
},
|
|
],
|
|
},
|
|
|
|
aboutThisService: {
|
|
fi: [
|
|
{
|
|
header: 'Tietoja palvelusta',
|
|
paragraphs: [
|
|
'Tämän palvelun tarjoaa __Theme__ reittisuunnittelua varten __Theme__ alueella. Palvelu kattaa joukkoliikenteen, kävelyn, pyöräilyn ja yksityisautoilun rajatuilta osin. Palvelu perustuu Digitransit-palvelualustaan.',
|
|
],
|
|
},
|
|
],
|
|
|
|
sv: [
|
|
{
|
|
header: 'Om tjänsten',
|
|
paragraphs: [
|
|
'Den här tjänsten erbjuds av __Theme__ för reseplanering inom __Theme__ region. Reseplaneraren täcker med vissa begränsningar kollektivtrafik, promenad, cykling samt privatbilism. Tjänsten baserar sig på Digitransit-plattformen.',
|
|
],
|
|
},
|
|
],
|
|
|
|
en: [
|
|
{
|
|
header: 'About this service',
|
|
paragraphs: [
|
|
'This service is provided by __Theme__ for route planning in __Theme__ region. The service covers public transport, walking, cycling, and some private car use. Service is built on Digitransit platform.',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
});
|