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:
Claude committed 2026-11-27 15:43:42 +00:00
1 parent 0cef90ceae
commit 59f515663e
80 files changed
+697 -544

No files matched your search

+2 -2
View File
@@ -195,7 +195,7 @@ function UsersTab() {
<div className="flex items-center gap-2">
<span className="truncate font-semibold">{personName(u)}</span>
{u.suspended && (
<span className="shrink-0 rounded-full border border-accent px-2 py-0.5 text-[11px] font-medium text-accent">
<span className="shrink-0 rounded-md border border-accent px-2 py-0.5 text-[11px] font-medium text-accent">
{t('admin.suspendedBadge')}
</span>
)}
@@ -320,7 +320,7 @@ function ReviewsTab() {
<div className="min-w-0 flex-1">
<div className="flex flex-wrap items-center gap-x-2 gap-y-1">
<span className="font-semibold">{r.title || t('admin.anon')}</span>
{r.type && <span className="text-xs uppercase tracking-wide text-ink-3">{r.type}</span>}
{r.type && <span className="text-xs text-ink-3">{r.type}</span>}
{r.rating != null && (
<span className="inline-flex items-center gap-1 text-xs text-ink-2">
<Star className="size-3.5 text-accent" aria-hidden />
+2 -2
View File
@@ -141,12 +141,12 @@ export default function CatalogPage({ onOpen, onAdd }: Props) {
: t('account.nTitles', { count: results.length })
}
/>
<div className="mb-3 grid grid-cols-3 gap-1 rounded-full border border-line p-1">
<div className="mb-3 grid grid-cols-3 gap-1 rounded-md border border-line p-1">
{(['titles', 'journal', 'lists'] as const).map((v) => (
<button
key={v}
onClick={() => setView(v)}
className={cx('rounded-full py-2 text-sm font-medium transition-colors', view === v ? 'bg-ink text-bg' : 'text-ink-3')}
className={cx('rounded-md py-2 text-sm font-medium transition-colors', view === v ? 'bg-ink text-bg' : 'text-ink-3')}
>
{v === 'titles' ? t('catalog.titles') : v === 'journal' ? t('catalog.journal') : t('catalog.lists')}
</button>
+25 -11
View File
@@ -17,7 +17,7 @@ import { CACHE_EVENT, isCaughtUp, loadAiring, needsCheck, refreshAiring, saveAir
import { useOnResume } from '../lib/onResume'
import { calendarEvents } from '../lib/releases'
import { computeStats } from '../lib/stats'
import { formatDuration, todayISO } from '../lib/utils'
import { cx, formatDuration, todayISO } from '../lib/utils'
import { useMedia } from '../store'
import type { MediaItem } from '../types'
@@ -29,14 +29,27 @@ interface Props {
onCalendar: () => void
}
function PosterStrip({ items, onOpen }: { items: MediaItem[]; onOpen: (item: MediaItem) => void }) {
/** Rangée d'affiches. `shelf` : jaquettes de vidéoclub, avec le titre écrit sur la tranche. */
function PosterStrip({ items, onOpen, shelf }: { items: MediaItem[]; onOpen: (item: MediaItem) => void; shelf?: boolean }) {
return (
<div className="no-scrollbar -mx-4 flex gap-3 overflow-x-auto px-4 pb-1">
{items.map((item) => (
<button key={item.id} onClick={() => onOpen(item)} className="w-32 shrink-0 text-start">
<Poster src={item.poster} title={item.title} />
<button key={item.id} onClick={() => onOpen(item)} className={cx('shrink-0 text-start', shelf ? 'w-[8.6rem]' : 'w-32')}>
{shelf ? (
<span className="flex overflow-hidden rounded-[3px] bg-film">
<span aria-hidden="true" className="code flex w-4 shrink-0 items-center justify-center overflow-hidden whitespace-nowrap py-1 text-[9px] text-ink-3 [writing-mode:vertical-rl] rotate-180">
{item.title}
</span>
<Poster src={item.poster} title={item.title} className="min-w-0 flex-1 rounded-none border-0" />
</span>
) : (
<Poster src={item.poster} title={item.title} />
)}
<p className="mt-2 truncate text-sm font-semibold leading-snug">{item.title}</p>
<p className="truncate text-[11px] text-ink-3">{[TYPE_BY_VALUE[item.type].label, item.year].filter(Boolean).join(' · ')}</p>
<p className="flex gap-2 truncate text-xs text-ink-3">
<span>{TYPE_BY_VALUE[item.type].label}</span>
{item.year && <span>{item.year}</span>}
</p>
</button>
))}
</div>
@@ -151,8 +164,9 @@ export default function HomePage({ onOpen, onAdd, onNavigate, onRoulette, onCale
return (
<>
<PageHeader
title="Ki"
accent="no"
title="Bobin"
accent="oo"
wordmark
subtitle={t('home.subtitle')}
action={
<span className="flex shrink-0 items-center gap-2">
@@ -199,18 +213,18 @@ export default function HomePage({ onOpen, onAdd, onNavigate, onRoulette, onCale
{/* Roulette : pour les soirs sans idée */}
<button onClick={onRoulette} className="card mt-8 flex w-full items-center gap-4 p-4 text-start transition-colors active:bg-surface-2">
<span className="grid size-12 shrink-0 place-items-center rounded-full bg-accent-fill text-on-accent">
<span className="grid size-12 shrink-0 place-items-center rounded-md border border-line-strong text-accent">
<Dices size={24} />
</span>
<span className="min-w-0 flex-1">
<span className="block font-semibold">
{t('home.noIdea')} <span className="text-accent">{t('roulette.name')}</span>
{t('home.noIdea')} {t('roulette.name')}
</span>
<span className="mt-0.5 block text-xs text-ink-3">
{stats.toWatch ? t('home.rouletteHint', { count: stats.toWatch }) : t('home.rouletteHintAll')}
</span>
</span>
<span className="inline-block text-accent rtl:-scale-x-100">→</span>
<span className="inline-block text-ink-3 rtl:-scale-x-100">→</span>
</button>
@@ -232,7 +246,7 @@ export default function HomePage({ onOpen, onAdd, onNavigate, onRoulette, onCale
{toWatch.length > 0 && (
<>
<SectionTitle action={seeAll}>{t('status.a_voir')}</SectionTitle>
<PosterStrip items={toWatch} onOpen={onOpen} />
<PosterStrip items={toWatch} onOpen={onOpen} shelf />
</>
)}
+4 -4
View File
@@ -227,12 +227,12 @@ export default function SettingsPage({ onOpenAdmin }: { onOpenAdmin: () => void
<p className="mt-2.5 text-xs text-ink-3">{t('settings.languageHint')}</p>
<SectionTitle>{t('settings.rating')}</SectionTitle>
<div className="grid grid-cols-2 gap-1 rounded-full border border-line p-1">
<div className="grid grid-cols-2 gap-1 rounded-md border border-line p-1">
{(['5', '10'] as const).map((scale) => (
<button
key={scale}
onClick={() => updateSettings({ ratingScale: scale })}
className={cx('rounded-full py-2.5 text-sm font-medium transition-colors', settings.ratingScale === scale ? 'bg-ink text-bg' : 'text-ink-3')}
className={cx('rounded-md py-2.5 text-sm font-medium transition-colors', settings.ratingScale === scale ? 'bg-ink text-bg' : 'text-ink-3')}
>
{scale === '5' ? t('settings.scale5') : t('settings.scale10')}
</button>
@@ -291,7 +291,7 @@ export default function SettingsPage({ onOpenAdmin }: { onOpenAdmin: () => void
{t('settings.freeColor')}
<span className="block text-xs text-ink-3">{t('settings.freeColorHint')}</span>
</span>
<span className="text-xs uppercase text-ink-3">{settings.accentColor}</span>
<span className="code text-xs text-ink-3">{settings.accentColor}</span>
</label>
<SectionTitle>{t('settings.installApp')}</SectionTitle>
@@ -526,7 +526,7 @@ export default function SettingsPage({ onOpenAdmin }: { onOpenAdmin: () => void
</div>
<p className="mt-3 px-1 text-[11px] leading-relaxed text-ink-3">{t('legal.tmdb')}</p>
<p className="mt-10 text-center text-xs text-ink-3">Kino v2.2 · {account ? t('settings.footerCloud') : t('settings.footerLocal')}</p>
<p className="mt-10 text-center text-xs text-ink-3">Bobinoo v2.2 · {account ? t('settings.footerCloud') : t('settings.footerLocal')}</p>
<ConfirmDialog
open={confirm === 'reset'}
+3 -3
View File
@@ -46,7 +46,7 @@ function Badge({ children, tone = 'neutral' }: { children: ReactNode; tone?: 'ne
return (
<span
className={cx(
'inline-flex shrink-0 items-center gap-1 rounded-full border px-2 py-0.5 text-[11px] font-medium',
'inline-flex shrink-0 items-center gap-1 rounded-md border px-2 py-0.5 text-[11px] font-medium',
tone === 'accent' ? 'border-accent text-accent' : tone === 'strong' ? 'border-ink bg-ink text-bg' : 'border-line text-ink-2',
)}
>
@@ -456,7 +456,7 @@ export function BugsTab({ onChange }: { onChange: () => void }) {
))}
</dl>
)}
<div className="mt-3 grid grid-cols-3 gap-1 rounded-full border border-line p-1">
<div className="mt-3 grid grid-cols-3 gap-1 rounded-md border border-line p-1">
{BUG_STATUSES.map((s) => (
<button
key={s}
@@ -464,7 +464,7 @@ export function BugsTab({ onChange }: { onChange: () => void }) {
aria-pressed={b.status === s}
disabled={busyId === b.id}
onClick={() => void setStatus(b, s)}
className={cx('rounded-full py-1.5 text-xs font-medium transition-colors', b.status === s ? 'bg-ink text-bg' : 'text-ink-3')}
className={cx('rounded-md py-1.5 text-xs font-medium transition-colors', b.status === s ? 'bg-ink text-bg' : 'text-ink-3')}
>
{t(BUG_LABEL[s])}
</button>