Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelchavesfreitas committed Dec 26, 2024
2 parents 7dd1b1f + ac92a5b commit 0a0f061
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/config.d/0.main.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
'app.verifiedSealsIds' => '1',
'cep.token' => '',

'maps.tileServer' => 'https://tileserver.map.as/{z}/{x}/{y}.png?lang=pt',

'themes.active' => 'IberCulturaViva',

'slim.debug' => true,
Expand Down
1 change: 1 addition & 0 deletions dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ services:
- REDIS_CACHE=redis
- APP_MODE=development
- BUILD_ASSETS=1
- AUTH_REQUIRED_CPF=false
- MAILER_TRANSPORT=smtp://mailhog:1025
- MAILER_FROM=sysadmin@localhost

Expand Down
2 changes: 2 additions & 0 deletions docker/common/config.d/0.main.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

'app.siteName' => 'Mapa IberCultura Viva',
'app.siteDescription' => 'O Mapas Culturais é uma plataforma colaborativa que reúne informações sobre agentes, espaços, eventos, projetos culturais e oportunidades',

'maps.tileServer' => 'https://tileserver.map.as/{z}/{x}/{y}.png?lang=pt',

// Define o tema ativo no site principal. Deve ser informado o namespace do tema e neste deve existir uma classe Theme.
'themes.active' => 'IberCulturaViva',
Expand Down
6 changes: 6 additions & 0 deletions themes/IberCulturaViva/Theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ function _init()
$this->config['text:home-developers.description'] = "El Mapa IberCultura Viva es un software libre, desarrollado de manera colaborativa con instituciones, organizaciones y colectivos culturales. Puedes contribuir al desarrollo de la plataforma accediendo al código en GitHub y participando en esta construcción colectiva que fortalece la cultura en Iberoamérica.";
$this->config["text:home-map.description"] = "Los agentes, los espacios y los eventos registrados cuentan con la geolocalización de sus direcciones, encontralos acá:";
}

if ($this->config['app.lcode'] == 'pt_BR') {
$this->config['maps.tileServer'] = 'https://tileserver.map.as/{z}/{x}/{y}.png?lang=pt';
} else {
$this->config['maps.tileServer'] = 'https://tileserver.map.as/{z}/{x}/{y}.png?lang=es';
}
});
}
}

0 comments on commit 0a0f061

Please sign in to comment.