Refonte de l'interface et nouveau nom : Bobinoo
- Thème « salle de cinéma » : fond salle obscure chaud (clair = papier crème), accent ambre par défaut (l'ancien rouge par défaut passe à l'ambre, préréglage Rouge conservé), coins presque droits - Polices embarquées : Gloock (titres), Onest (texte), Sometype Mono (codes d'épisode) ; Inter retirée - Accueil : bannière en carte avec pellicule d'épisodes, billets « Reprendre » avec talon +1, jaquettes VHS pour « À voir » ; pellicule aussi sur la fiche et le revisionnage - Plus de petites capitales espacées ni de titres bicolores ; métadonnées sans points médians - Nouvelle icône (bobine), pages légales/404 et carte de partage aux nouvelles couleurs - Kino → Bobinoo partout (18 langues, PWA, pages légales) ; identifiants techniques inchangés Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
80 files changed
+697
-544
No files matched your search
@@ -109,7 +109,7 @@ export default function AddTitle({
|
||||
<span className="min-w-0 flex-1">
|
||||
<span className="block truncate font-semibold">{r.title}</span>
|
||||
{r.originalTitle && <span className="block truncate text-xs text-ink-3">{r.originalTitle}</span>}
|
||||
<span className="mt-1 block text-[11px] uppercase tracking-wide text-ink-3">{[r.year, r.kindLabel].filter(Boolean).join(' · ')}</span>
|
||||
<span className="mt-1 block text-[11px] text-ink-3">{[r.year, r.kindLabel].filter(Boolean).join(' · ')}</span>
|
||||
{mine && (
|
||||
<span className="mt-1 inline-flex items-center gap-1 text-xs text-accent">
|
||||
<Check size={12} /> {t('title.inLibrary')}
|
||||
@@ -136,7 +136,7 @@ export default function AddTitle({
|
||||
)}
|
||||
<span className="min-w-0 flex-1">
|
||||
<span className="block truncate font-semibold">{p.name}</span>
|
||||
{p.department && <span className="block text-[11px] uppercase tracking-wide text-ink-3">{p.department}</span>}
|
||||
{p.department && <span className="block text-[11px] text-ink-3">{p.department}</span>}
|
||||
{p.knownFor.length > 0 && <span className="mt-0.5 block truncate text-xs text-ink-2">{p.knownFor.join(' · ')}</span>}
|
||||
</span>
|
||||
<span className="shrink-0 text-accent rtl:-scale-x-100">→</span>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Check, RotateCcw } from 'lucide-react'
|
||||
import { FilmStrip } from '../ui'
|
||||
import { useState } from 'react'
|
||||
import { t } from '../../i18n'
|
||||
import { episodeCap } from '../../lib/franchise'
|
||||
@@ -71,9 +72,7 @@ export default function RewatchPanel({
|
||||
{cap ? (
|
||||
<>
|
||||
<p className="mt-1 text-xs text-ink-3">{t('rewatch.progress', { seen: item.rewatch.episodes, total: cap })}</p>
|
||||
<div className="mt-2 h-1 rounded-full bg-surface-2">
|
||||
<div className="h-full rounded-full bg-accent" style={{ width: `${Math.min(100, (item.rewatch.episodes / cap) * 100)}%` }} />
|
||||
</div>
|
||||
<FilmStrip className="mt-2" done={item.rewatch.episodes} total={cap} label={t('rewatch.progress', { seen: item.rewatch.episodes, total: cap })} />
|
||||
</>
|
||||
) : null}
|
||||
<p className="mt-3 text-xs text-ink-3">{t('rewatch.trackingHint')}</p>
|
||||
|
||||
@@ -174,7 +174,7 @@ function SeasonRow({
|
||||
<button onClick={openEditor} className="mt-3 block w-full text-start">
|
||||
<span className="flex items-center gap-1.5 text-xs text-ink-3">
|
||||
{t('form.review')}
|
||||
{value.spoiler && <span className="rounded-full border border-accent/50 px-1.5 py-px text-[10px] text-accent">{t('spoiler.badge')}</span>}
|
||||
{value.spoiler && <span className="rounded-md border border-accent/50 px-1.5 py-px text-[10px] text-accent">{t('spoiler.badge')}</span>}
|
||||
<Pencil size={11} />
|
||||
</span>
|
||||
<p className="mt-1 line-clamp-4 whitespace-pre-line text-sm leading-relaxed">{value.notes}</p>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { locale, t } from '../../i18n'
|
||||
import { FilmStrip } from '../ui'
|
||||
import { Bookmark, Check, ChevronDown, Eye, Heart, Loader2, MessagesSquare, Minus, MoreHorizontal, Pencil, Play, Plus, Share2, Trash2, X } from 'lucide-react'
|
||||
import { useEffect, useMemo, useRef, useState, type ReactNode } from 'react'
|
||||
import { getTitleExtras, getTmdbCredits, getTmdbDetails, getTmdbExtras, type SearchResult, type TitleExtras } from '../../lib/catalogApi'
|
||||
@@ -372,7 +373,13 @@ export default function TitleSheet({ item: initial, seed, onClose, onGoToSetting
|
||||
<div className="min-w-0 flex-1 pb-1">
|
||||
<h1 className="text-2xl leading-tight lg:text-5xl lg:leading-[1.05]">{title}</h1>
|
||||
{data.originalTitle && <p className="mt-1 truncate text-sm text-ink-2 lg:text-base">{data.originalTitle}</p>}
|
||||
{metaLine.length > 0 && <p className="mt-2 text-xs uppercase tracking-wide text-ink-2 lg:text-sm">{metaLine.join(' · ')}</p>}
|
||||
{metaLine.length > 0 && (
|
||||
<p className="mt-2 flex flex-wrap gap-x-3 gap-y-0.5 text-sm text-ink-2">
|
||||
{metaLine.map((m, k) => (
|
||||
<span key={k}>{m}</span>
|
||||
))}
|
||||
</p>
|
||||
)}
|
||||
{extras && extras.directors.length > 0 && (
|
||||
<p className="mt-2 text-sm text-ink-2 lg:text-base">
|
||||
{extras.directorKind === 'director' ? t('title.directedBy') : t('title.createdBy')}{' '}
|
||||
@@ -402,7 +409,7 @@ export default function TitleSheet({ item: initial, seed, onClose, onGoToSetting
|
||||
{item?.tags && item.tags.length > 0 && (
|
||||
<ul className="mt-2 flex flex-wrap gap-1.5" aria-label={t('tags.label')}>
|
||||
{item.tags.map((tag) => (
|
||||
<li key={tag} className="rounded-full border border-line px-2 py-0.5 text-[11px] text-ink-3">
|
||||
<li key={tag} className="rounded-md border border-line px-2 py-0.5 text-[11px] text-ink-3">
|
||||
#{tag}
|
||||
</li>
|
||||
))}
|
||||
@@ -526,9 +533,7 @@ export default function TitleSheet({ item: initial, seed, onClose, onGoToSetting
|
||||
</div>
|
||||
</div>
|
||||
{episodeCap(shown) ? (
|
||||
<div className="mt-3 h-1 rounded-full bg-surface-2">
|
||||
<div className="h-full rounded-full bg-accent" style={{ width: `${Math.min(100, (shown.episodesWatched / episodeCap(shown)!) * 100)}%` }} />
|
||||
</div>
|
||||
<FilmStrip className="mt-3" done={shown.episodesWatched} total={episodeCap(shown)!} label={t('episodes.seen', { done: Math.min(shown.episodesWatched, episodeCap(shown)!), total: episodeCap(shown)! })} />
|
||||
) : null}
|
||||
</div>
|
||||
)}
|
||||
@@ -556,7 +561,7 @@ export default function TitleSheet({ item: initial, seed, onClose, onGoToSetting
|
||||
<span className="eyebrow flex items-center justify-between">
|
||||
<span className="flex items-center gap-2">
|
||||
{t('form.review')}
|
||||
{item.notesSpoiler && <span className="rounded-full border border-accent/50 px-1.5 py-px text-[10px] text-accent">{t('spoiler.badge')}</span>}
|
||||
{item.notesSpoiler && <span className="rounded-md border border-accent/50 px-1.5 py-px text-[10px] text-accent">{t('spoiler.badge')}</span>}
|
||||
</span>
|
||||
<Pencil size={13} />
|
||||
</span>
|
||||
@@ -589,7 +594,7 @@ export default function TitleSheet({ item: initial, seed, onClose, onGoToSetting
|
||||
{(data.genres?.length ?? 0) > 0 && (
|
||||
<div className="mt-4 flex flex-wrap gap-2">
|
||||
{data.genres!.map((g) => (
|
||||
<span key={g} className="rounded-full border border-line px-3 py-1 text-xs text-ink-2">
|
||||
<span key={g} className="rounded-md border border-line px-3 py-1 text-xs text-ink-2">
|
||||
{genreLabel(g)}
|
||||
</span>
|
||||
))}
|
||||
@@ -643,7 +648,7 @@ export default function TitleSheet({ item: initial, seed, onClose, onGoToSetting
|
||||
|
||||
{toast && (
|
||||
<div role="status" className="safe-bottom pointer-events-none fixed inset-x-0 bottom-4 z-[70] flex justify-center px-4">
|
||||
<span className="rounded-full bg-ink px-4 py-2 text-sm font-medium text-bg">{toast}</span>
|
||||
<span className="rounded-md bg-ink px-4 py-2 text-sm font-medium text-bg">{toast}</span>
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ function TmdbOffers({ watch }: { watch: NonNullable<TitleExtras['watch']> }) {
|
||||
}, [watch, country])
|
||||
|
||||
const picker = (
|
||||
<label className="relative flex items-center gap-1 rounded-full border border-line py-1 pe-2 ps-2 text-xs text-ink-2 focus-within:border-line-strong">
|
||||
<label className="relative flex items-center gap-1 rounded-md border border-line py-1 pe-2 ps-2 text-xs text-ink-2 focus-within:border-line-strong">
|
||||
<Globe size={13} className="shrink-0 text-ink-3" aria-hidden />
|
||||
<span className="sr-only">{t('watch.country')}</span>
|
||||
<select
|
||||
@@ -128,7 +128,7 @@ function StreamLinks({ links }: { links: StreamLink[] }) {
|
||||
rel="noopener noreferrer"
|
||||
aria-label={t('watch.open', { name: l.site })}
|
||||
title={l.language ? `${l.site} · ${l.language}` : l.site}
|
||||
className="flex items-center gap-2 rounded-full border border-line py-1 pe-3 ps-1 text-sm font-medium text-ink transition-colors active:bg-surface-2"
|
||||
className="flex items-center gap-2 rounded-md border border-line py-1 pe-3 ps-1 text-sm font-medium text-ink transition-colors active:bg-surface-2"
|
||||
>
|
||||
{l.icon ? (
|
||||
<span className="grid size-7 shrink-0 place-items-center rounded-full bg-surface-2" style={l.color ? { backgroundColor: l.color } : undefined}>
|
||||
|
||||
Reference in new issue
Block a user