mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 17:41:51 +00:00
feat(collections): list+map default, map-only toggle, deselect + tooltip fixes (#1081)
- Drop the grid/tile view. The list view is now the default and, on wide screens, a list + persistent map split; a top-left control on the map collapses the list to a full-width map (and back), animating smoothly (the map stays mounted and is nudged to re-layout during the transition). The place search moves onto the map (top-right); mobile keeps a list/map toggle. - Let a place be deselected again: clicking it once more, clicking the map background, or picking another all toggle the selection (collections map now wires onMapClick). - Fix the stuck hover tooltip: selecting a place swaps its marker's DOM node so the browser never fires mouseout/mouseleave, orphaning the fixed-position tooltip (it hung on screen and drifted with scroll). Both map stacks now clear the hover on selection change and on scroll. - Remove CollectionGrid + PlaceCover; add hero eyebrow + map control strings.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'إظهار القائمة',
|
||||
'collections.expandMap': 'توسيع الخريطة',
|
||||
'collections.hero.mine': 'مجموعتي',
|
||||
'collections.hero.shared': 'تمت مشاركتها معك',
|
||||
'collections.hero.all': 'مكتبتك',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Mostrar lista',
|
||||
'collections.expandMap': 'Ampliar mapa',
|
||||
'collections.hero.mine': 'Minha coleção',
|
||||
'collections.hero.shared': 'Compartilhada com você',
|
||||
'collections.hero.all': 'Sua biblioteca',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Zobrazit seznam',
|
||||
'collections.expandMap': 'Zvětšit mapu',
|
||||
'collections.hero.mine': 'Moje sbírka',
|
||||
'collections.hero.shared': 'Sdíleno s vámi',
|
||||
'collections.hero.all': 'Vaše knihovna',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Liste zeigen',
|
||||
'collections.expandMap': 'Karte vergrößern',
|
||||
'collections.hero.mine': 'Meine Sammlung',
|
||||
'collections.hero.shared': 'Mit dir geteilt',
|
||||
'collections.hero.all': 'Deine Bibliothek',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Show list',
|
||||
'collections.expandMap': 'Expand map',
|
||||
'collections.hero.mine': 'My collection',
|
||||
'collections.hero.shared': 'Shared with you',
|
||||
'collections.hero.all': 'Your library',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Mostrar lista',
|
||||
'collections.expandMap': 'Ampliar mapa',
|
||||
'collections.hero.mine': 'Mi colección',
|
||||
'collections.hero.shared': 'Compartida contigo',
|
||||
'collections.hero.all': 'Tu biblioteca',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Afficher la liste',
|
||||
'collections.expandMap': 'Agrandir la carte',
|
||||
'collections.hero.mine': 'Ma collection',
|
||||
'collections.hero.shared': 'Partagée avec vous',
|
||||
'collections.hero.all': 'Votre bibliothèque',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Εμφάνιση λίστας',
|
||||
'collections.expandMap': 'Μεγέθυνση χάρτη',
|
||||
'collections.hero.mine': 'Η συλλογή μου',
|
||||
'collections.hero.shared': 'Κοινή χρήση με εσάς',
|
||||
'collections.hero.all': 'Η βιβλιοθήκη σας',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Lista megjelenítése',
|
||||
'collections.expandMap': 'Térkép nagyítása',
|
||||
'collections.hero.mine': 'Saját gyűjtemény',
|
||||
'collections.hero.shared': 'Megosztva veled',
|
||||
'collections.hero.all': 'A könyvtárad',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Tampilkan daftar',
|
||||
'collections.expandMap': 'Perbesar peta',
|
||||
'collections.hero.mine': 'Koleksi saya',
|
||||
'collections.hero.shared': 'Dibagikan dengan Anda',
|
||||
'collections.hero.all': 'Pustaka Anda',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Mostra elenco',
|
||||
'collections.expandMap': 'Espandi mappa',
|
||||
'collections.hero.mine': 'La mia raccolta',
|
||||
'collections.hero.shared': 'Condivisa con te',
|
||||
'collections.hero.all': 'La tua libreria',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'リストを表示',
|
||||
'collections.expandMap': '地図を拡大',
|
||||
'collections.hero.mine': 'マイコレクション',
|
||||
'collections.hero.shared': '共有されています',
|
||||
'collections.hero.all': 'ライブラリ',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': '목록 표시',
|
||||
'collections.expandMap': '지도 확대',
|
||||
'collections.hero.mine': '내 컬렉션',
|
||||
'collections.hero.shared': '나와 공유됨',
|
||||
'collections.hero.all': '내 라이브러리',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Lijst tonen',
|
||||
'collections.expandMap': 'Kaart vergroten',
|
||||
'collections.hero.mine': 'Mijn collectie',
|
||||
'collections.hero.shared': 'Gedeeld met jou',
|
||||
'collections.hero.all': 'Jouw bibliotheek',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Pokaż listę',
|
||||
'collections.expandMap': 'Powiększ mapę',
|
||||
'collections.hero.mine': 'Moja kolekcja',
|
||||
'collections.hero.shared': 'Udostępniono Tobie',
|
||||
'collections.hero.all': 'Twoja biblioteka',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Показать список',
|
||||
'collections.expandMap': 'Развернуть карту',
|
||||
'collections.hero.mine': 'Моя коллекция',
|
||||
'collections.hero.shared': 'Доступно вам',
|
||||
'collections.hero.all': 'Ваша библиотека',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Visa lista',
|
||||
'collections.expandMap': 'Förstora karta',
|
||||
'collections.hero.mine': 'Min samling',
|
||||
'collections.hero.shared': 'Delad med dig',
|
||||
'collections.hero.all': 'Ditt bibliotek',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Listeyi göster',
|
||||
'collections.expandMap': 'Haritayı genişlet',
|
||||
'collections.hero.mine': 'Koleksiyonum',
|
||||
'collections.hero.shared': 'Sizinle paylaşıldı',
|
||||
'collections.hero.all': 'Kitaplığınız',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Показати список',
|
||||
'collections.expandMap': 'Розгорнути карту',
|
||||
'collections.hero.mine': 'Моя колекція',
|
||||
'collections.hero.shared': 'Поділено з вами',
|
||||
'collections.hero.all': 'Ваша бібліотека',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': 'Hiện danh sách',
|
||||
'collections.expandMap': 'Mở rộng bản đồ',
|
||||
'collections.hero.mine': 'Bộ sưu tập của tôi',
|
||||
'collections.hero.shared': 'Được chia sẻ với bạn',
|
||||
'collections.hero.all': 'Thư viện của bạn',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': '顯示清單',
|
||||
'collections.expandMap': '展開地圖',
|
||||
'collections.hero.mine': '我的收藏',
|
||||
'collections.hero.shared': '與你共享',
|
||||
'collections.hero.all': '你的收藏庫',
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.showList': '显示列表',
|
||||
'collections.expandMap': '展开地图',
|
||||
'collections.hero.mine': '我的收藏',
|
||||
'collections.hero.shared': '与你共享',
|
||||
'collections.hero.all': '你的收藏库',
|
||||
|
||||
Reference in New Issue
Block a user