mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
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:
parent
cd9c02324b
commit
8c9fc5a5e0
5 changed files with 14 additions and 6 deletions
|
|
@ -1,30 +1,30 @@
|
||||||
export const mapsConfig = {
|
export const mapsConfig = {
|
||||||
"Light": {
|
"Light": {
|
||||||
url: "https://tyles.dwri.xyz/20250420/{z}/{x}/{y}.mvt",
|
url: "https://tyles.dwri.xyz/planet/{z}/{x}/{y}.mvt",
|
||||||
flavor: "light",
|
flavor: "light",
|
||||||
maxZoom: 16,
|
maxZoom: 16,
|
||||||
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, © <a href='https://openstreetmap.org'>OpenStreetMap</a>"
|
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, © <a href='https://openstreetmap.org'>OpenStreetMap</a>"
|
||||||
},
|
},
|
||||||
"Dark": {
|
"Dark": {
|
||||||
url: "https://tyles.dwri.xyz/20250420/{z}/{x}/{y}.mvt",
|
url: "https://tyles.dwri.xyz/planet/{z}/{x}/{y}.mvt",
|
||||||
flavor: "dark",
|
flavor: "dark",
|
||||||
maxZoom: 16,
|
maxZoom: 16,
|
||||||
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, © <a href='https://openstreetmap.org'>OpenStreetMap</a>"
|
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, © <a href='https://openstreetmap.org'>OpenStreetMap</a>"
|
||||||
},
|
},
|
||||||
"White": {
|
"White": {
|
||||||
url: "https://tyles.dwri.xyz/20250420/{z}/{x}/{y}.mvt",
|
url: "https://tyles.dwri.xyz/planet/{z}/{x}/{y}.mvt",
|
||||||
flavor: "white",
|
flavor: "white",
|
||||||
maxZoom: 16,
|
maxZoom: 16,
|
||||||
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, © <a href='https://openstreetmap.org'>OpenStreetMap</a>"
|
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, © <a href='https://openstreetmap.org'>OpenStreetMap</a>"
|
||||||
},
|
},
|
||||||
"Grayscale": {
|
"Grayscale": {
|
||||||
url: "https://tyles.dwri.xyz/20250420/{z}/{x}/{y}.mvt",
|
url: "https://tyles.dwri.xyz/planet/{z}/{x}/{y}.mvt",
|
||||||
flavor: "grayscale",
|
flavor: "grayscale",
|
||||||
maxZoom: 16,
|
maxZoom: 16,
|
||||||
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, © <a href='https://openstreetmap.org'>OpenStreetMap</a>"
|
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, © <a href='https://openstreetmap.org'>OpenStreetMap</a>"
|
||||||
},
|
},
|
||||||
"Black": {
|
"Black": {
|
||||||
url: "https://tyles.dwri.xyz/20250420/{z}/{x}/{y}.mvt",
|
url: "https://tyles.dwri.xyz/planet/{z}/{x}/{y}.mvt",
|
||||||
flavor: "black",
|
flavor: "black",
|
||||||
maxZoom: 16,
|
maxZoom: 16,
|
||||||
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, © <a href='https://openstreetmap.org'>OpenStreetMap</a>"
|
attribution: "<a href='https://github.com/protomaps/basemaps'>Protomaps</a>, © <a href='https://openstreetmap.org'>OpenStreetMap</a>"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
<% content_for :title, "Editing Family" %>
|
||||||
|
|
||||||
<div class="container mx-auto px-4 py-8">
|
<div class="container mx-auto px-4 py-8">
|
||||||
<div class="max-w-2xl mx-auto">
|
<div class="max-w-2xl mx-auto">
|
||||||
<div class="bg-base-200 rounded-lg p-6">
|
<div class="bg-base-200 rounded-lg p-6">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
<% content_for :title, "Family Management" %>
|
||||||
|
|
||||||
<div class="container mx-auto px-4 py-8">
|
<div class="container mx-auto px-4 py-8">
|
||||||
<div class="max-w-2xl mx-auto">
|
<div class="max-w-2xl mx-auto">
|
||||||
<div class="text-center mb-8">
|
<div class="text-center mb-8">
|
||||||
|
|
@ -44,4 +46,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
<% content_for :title, "New Family" %>
|
||||||
|
|
||||||
<div class="container mx-auto px-4 py-8">
|
<div class="container mx-auto px-4 py-8">
|
||||||
<div class="max-w-2xl mx-auto">
|
<div class="max-w-2xl mx-auto">
|
||||||
<div class="text-center mb-8">
|
<div class="text-center mb-8">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
<% content_for :title, "Family Details" %>
|
||||||
|
|
||||||
<div class="container mx-auto px-4 py-8">
|
<div class="container mx-auto px-4 py-8">
|
||||||
<div class="max-w-4xl mx-auto">
|
<div class="max-w-4xl mx-auto">
|
||||||
<!-- Family Header -->
|
<!-- Family Header -->
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue