Add titles to family views for better SEO and UX and update map tile URLs to use the planet dataset.

This commit is contained in:
Eugene Burmakin 2025-10-26 11:59:06 +01:00
parent cd9c02324b
commit 8c9fc5a5e0
5 changed files with 14 additions and 6 deletions

View file

@ -1,30 +1,30 @@
export const mapsConfig = {
"Light": {
url: "https://tyles.dwri.xyz/20250420/{z}/{x}/{y}.mvt",
url: "https://tyles.dwri.xyz/planet/{z}/{x}/{y}.mvt",
flavor: "light",
maxZoom: 16,
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, &copy; <a href='https://openstreetmap.org'>OpenStreetMap</a>"
},
"Dark": {
url: "https://tyles.dwri.xyz/20250420/{z}/{x}/{y}.mvt",
url: "https://tyles.dwri.xyz/planet/{z}/{x}/{y}.mvt",
flavor: "dark",
maxZoom: 16,
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, &copy; <a href='https://openstreetmap.org'>OpenStreetMap</a>"
},
"White": {
url: "https://tyles.dwri.xyz/20250420/{z}/{x}/{y}.mvt",
url: "https://tyles.dwri.xyz/planet/{z}/{x}/{y}.mvt",
flavor: "white",
maxZoom: 16,
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, &copy; <a href='https://openstreetmap.org'>OpenStreetMap</a>"
},
"Grayscale": {
url: "https://tyles.dwri.xyz/20250420/{z}/{x}/{y}.mvt",
url: "https://tyles.dwri.xyz/planet/{z}/{x}/{y}.mvt",
flavor: "grayscale",
maxZoom: 16,
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, &copy; <a href='https://openstreetmap.org'>OpenStreetMap</a>"
},
"Black": {
url: "https://tyles.dwri.xyz/20250420/{z}/{x}/{y}.mvt",
url: "https://tyles.dwri.xyz/planet/{z}/{x}/{y}.mvt",
flavor: "black",
maxZoom: 16,
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, &copy; <a href='https://openstreetmap.org'>OpenStreetMap</a>"

View file

@ -1,3 +1,5 @@
<% content_for :title, "Editing Family" %>
<div class="container mx-auto px-4 py-8">
<div class="max-w-2xl mx-auto">
<div class="bg-base-200 rounded-lg p-6">

View file

@ -1,3 +1,5 @@
<% content_for :title, "Family Management" %>
<div class="container mx-auto px-4 py-8">
<div class="max-w-2xl mx-auto">
<div class="text-center mb-8">

View file

@ -1,3 +1,5 @@
<% content_for :title, "New Family" %>
<div class="container mx-auto px-4 py-8">
<div class="max-w-2xl mx-auto">
<div class="text-center mb-8">

View file

@ -1,3 +1,5 @@
<% content_for :title, "Family Details" %>
<div class="container mx-auto px-4 py-8">
<div class="max-w-4xl mx-auto">
<!-- Family Header -->