mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 15:17:30 +00:00
feat(collections): redesign the page on the dashboard glass language (#1081)
Rebuilds the /collections page from the functional placeholder into the dashboard's glass visual language (light + dark): - A colour-washed hero per list: eyebrow + member avatars, big title, and stat chips (All / Idea / Want / Visited) that double as the status filter. - A sticky glass list rail (owned + shared + invites) with a mobile drawer. - Gradient/photo cover place cards modelled on the trip cards, via a new rectangular PlaceCover (photoService-backed, gradient fallback) + a shared gradients util. List and map views restyled to match. - Status pill rendered as a role=button span so it survives the .trek-dash button reset and can nest inside the card; the share member-count badge is now owner-only. - New hero eyebrow strings across all locales.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'مجموعتي',
|
||||
'collections.hero.shared': 'تمت مشاركتها معك',
|
||||
'collections.hero.all': 'مكتبتك',
|
||||
'collections.title': 'المجموعات',
|
||||
'collections.subtitle': 'أماكنك المحفوظة، منظمة في قوائم',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Minha coleção',
|
||||
'collections.hero.shared': 'Compartilhada com você',
|
||||
'collections.hero.all': 'Sua biblioteca',
|
||||
'collections.title': 'Coleções',
|
||||
'collections.subtitle': 'Seus lugares salvos, organizados em listas',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Moje sbírka',
|
||||
'collections.hero.shared': 'Sdíleno s vámi',
|
||||
'collections.hero.all': 'Vaše knihovna',
|
||||
'collections.title': 'Sbírky',
|
||||
'collections.subtitle': 'Vaše uložená místa uspořádaná do seznamů',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Meine Sammlung',
|
||||
'collections.hero.shared': 'Mit dir geteilt',
|
||||
'collections.hero.all': 'Deine Bibliothek',
|
||||
'collections.title': 'Sammlungen',
|
||||
'collections.subtitle': 'Deine gespeicherten Orte, in Listen organisiert',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'My collection',
|
||||
'collections.hero.shared': 'Shared with you',
|
||||
'collections.hero.all': 'Your library',
|
||||
'collections.title': 'Collections',
|
||||
'collections.subtitle': 'Your saved places, organised into lists',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Mi colección',
|
||||
'collections.hero.shared': 'Compartida contigo',
|
||||
'collections.hero.all': 'Tu biblioteca',
|
||||
'collections.title': 'Colecciones',
|
||||
'collections.subtitle': 'Tus lugares guardados, organizados en listas',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Ma collection',
|
||||
'collections.hero.shared': 'Partagée avec vous',
|
||||
'collections.hero.all': 'Votre bibliothèque',
|
||||
'collections.title': 'Collections',
|
||||
'collections.subtitle': 'Vos lieux enregistrés, organisés en listes',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Η συλλογή μου',
|
||||
'collections.hero.shared': 'Κοινή χρήση με εσάς',
|
||||
'collections.hero.all': 'Η βιβλιοθήκη σας',
|
||||
'collections.title': 'Συλλογές',
|
||||
'collections.subtitle': 'Τα αποθηκευμένα σου μέρη, οργανωμένα σε λίστες',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Saját gyűjtemény',
|
||||
'collections.hero.shared': 'Megosztva veled',
|
||||
'collections.hero.all': 'A könyvtárad',
|
||||
'collections.title': 'Gyűjtemények',
|
||||
'collections.subtitle': 'Mentett helyeid listákba rendezve',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Koleksi saya',
|
||||
'collections.hero.shared': 'Dibagikan dengan Anda',
|
||||
'collections.hero.all': 'Pustaka Anda',
|
||||
'collections.title': 'Koleksi',
|
||||
'collections.subtitle': 'Tempat yang kamu simpan, tertata dalam daftar',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'La mia raccolta',
|
||||
'collections.hero.shared': 'Condivisa con te',
|
||||
'collections.hero.all': 'La tua libreria',
|
||||
'collections.title': 'Raccolte',
|
||||
'collections.subtitle': 'I tuoi luoghi salvati, organizzati in liste',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'マイコレクション',
|
||||
'collections.hero.shared': '共有されています',
|
||||
'collections.hero.all': 'ライブラリ',
|
||||
'collections.title': 'コレクション',
|
||||
'collections.subtitle': '保存した場所をリストごとに整理',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': '내 컬렉션',
|
||||
'collections.hero.shared': '나와 공유됨',
|
||||
'collections.hero.all': '내 라이브러리',
|
||||
'collections.title': '컬렉션',
|
||||
'collections.subtitle': '저장한 장소를 목록으로 정리하세요',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Mijn collectie',
|
||||
'collections.hero.shared': 'Gedeeld met jou',
|
||||
'collections.hero.all': 'Jouw bibliotheek',
|
||||
'collections.title': 'Collecties',
|
||||
'collections.subtitle': 'Je opgeslagen plekken, geordend in lijsten',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Moja kolekcja',
|
||||
'collections.hero.shared': 'Udostępniono Tobie',
|
||||
'collections.hero.all': 'Twoja biblioteka',
|
||||
'collections.title': 'Kolekcje',
|
||||
'collections.subtitle': 'Twoje zapisane miejsca, uporządkowane na listach',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Моя коллекция',
|
||||
'collections.hero.shared': 'Доступно вам',
|
||||
'collections.hero.all': 'Ваша библиотека',
|
||||
'collections.title': 'Коллекции',
|
||||
'collections.subtitle': 'Ваши сохранённые места, организованные в списки',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Min samling',
|
||||
'collections.hero.shared': 'Delad med dig',
|
||||
'collections.hero.all': 'Ditt bibliotek',
|
||||
'collections.title': 'Samlingar',
|
||||
'collections.subtitle': 'Dina sparade platser, organiserade i listor',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Koleksiyonum',
|
||||
'collections.hero.shared': 'Sizinle paylaşıldı',
|
||||
'collections.hero.all': 'Kitaplığınız',
|
||||
'collections.title': 'Koleksiyonlar',
|
||||
'collections.subtitle': 'Kaydettiğin yerler, listeler halinde düzenlenmiş',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': 'Моя колекція',
|
||||
'collections.hero.shared': 'Поділено з вами',
|
||||
'collections.hero.all': 'Ваша бібліотека',
|
||||
'collections.title': 'Колекції',
|
||||
'collections.subtitle': 'Ваші збережені місця, упорядковані у списки',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'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',
|
||||
'collections.title': 'Bộ sưu tập',
|
||||
'collections.subtitle': 'Những địa điểm bạn đã lưu, sắp xếp thành danh sách',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': '我的收藏',
|
||||
'collections.hero.shared': '與你共享',
|
||||
'collections.hero.all': '你的收藏庫',
|
||||
'collections.title': '收藏',
|
||||
'collections.subtitle': '你儲存的地點,依清單整理',
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const collection: TranslationStrings = {
|
||||
'collections.hero.mine': '我的收藏',
|
||||
'collections.hero.shared': '与你共享',
|
||||
'collections.hero.all': '你的收藏库',
|
||||
'collections.title': '收藏',
|
||||
'collections.subtitle': '你保存的地点,按列表整理',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user