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 EditProfile({ onClose }: { onClose: () => void }) {
|
||||
<button type="button" onClick={() => bannerInput.current?.click()} className="relative block aspect-[3/1] w-full overflow-hidden bg-surface-2" aria-label={t('social.changeBanner')}>
|
||||
{banner.preview && !banner.removed && <img src={banner.preview} alt="" className="size-full object-cover" />}
|
||||
<span className="absolute inset-0 grid place-items-center bg-black/25">
|
||||
<span className="flex items-center gap-2 rounded-full bg-bg/85 px-3 py-1.5 text-xs font-semibold">
|
||||
<span className="flex items-center gap-2 rounded-md bg-bg/85 px-3 py-1.5 text-xs font-semibold">
|
||||
<ImagePlus size={14} /> {t('social.changeBanner')}
|
||||
</span>
|
||||
</span>
|
||||
|
||||
@@ -86,9 +86,9 @@ export default function FollowList({ profile, initial, onClose }: { profile: Pro
|
||||
return (
|
||||
<Sheet label={profile.displayName} title={profile.displayName} onClose={onClose}>
|
||||
<div className="px-4 pt-4">
|
||||
<div className={cx('grid gap-1 rounded-full border border-line p-1', tabs.length === 3 ? 'grid-cols-3' : 'grid-cols-2')}>
|
||||
<div className={cx('grid gap-1 rounded-md border border-line p-1', tabs.length === 3 ? 'grid-cols-3' : 'grid-cols-2')}>
|
||||
{tabs.map((v) => (
|
||||
<button key={v} onClick={() => setTab(v)} className={cx('rounded-full py-2 text-xs font-semibold transition-colors', tab === v ? 'bg-ink text-bg' : 'text-ink-3')}>
|
||||
<button key={v} onClick={() => setTab(v)} className={cx('rounded-md py-2 text-xs font-semibold transition-colors', tab === v ? 'bg-ink text-bg' : 'text-ink-3')}>
|
||||
{v === 'requests'
|
||||
? t('social.requestsTab', { count: social.requests.length })
|
||||
: v === 'followers'
|
||||
@@ -113,15 +113,15 @@ export default function FollowList({ profile, initial, onClose }: { profile: Pro
|
||||
actions={
|
||||
tab === 'requests' ? (
|
||||
<span className="flex shrink-0 gap-1.5">
|
||||
<button onClick={() => act(p, 'accept')} disabled={!!busy} className="h-8 rounded-full bg-accent-fill px-3 text-xs font-semibold text-on-accent">
|
||||
<button onClick={() => act(p, 'accept')} disabled={!!busy} className="h-8 rounded-md bg-accent-fill px-3 text-xs font-semibold text-on-accent">
|
||||
{t('social.accept')}
|
||||
</button>
|
||||
<button onClick={() => act(p, 'remove')} disabled={!!busy} className="h-8 rounded-full border border-line-strong px-3 text-xs font-semibold text-ink-2">
|
||||
<button onClick={() => act(p, 'remove')} disabled={!!busy} className="h-8 rounded-md border border-line-strong px-3 text-xs font-semibold text-ink-2">
|
||||
{t('social.decline')}
|
||||
</button>
|
||||
</span>
|
||||
) : profile.isMe && tab === 'followers' ? (
|
||||
<button onClick={() => act(p, 'remove')} disabled={!!busy} className="h-8 shrink-0 rounded-full border border-line-strong px-3 text-xs font-semibold text-ink-2">
|
||||
<button onClick={() => act(p, 'remove')} disabled={!!busy} className="h-8 shrink-0 rounded-md border border-line-strong px-3 text-xs font-semibold text-ink-2">
|
||||
{t('social.removeFollower')}
|
||||
</button>
|
||||
) : undefined
|
||||
|
||||
@@ -38,7 +38,7 @@ export default function PeopleSearch({ onClose }: { onClose: () => void }) {
|
||||
if (!me) return
|
||||
const url = profileLink(me.username)
|
||||
try {
|
||||
if (navigator.share && window.matchMedia?.('(pointer: coarse)').matches) await navigator.share({ title: 'Kino', text: t('social.inviteText'), url })
|
||||
if (navigator.share && window.matchMedia?.('(pointer: coarse)').matches) await navigator.share({ title: 'Bobinoo', text: t('social.inviteText'), url })
|
||||
else {
|
||||
await navigator.clipboard.writeText(url)
|
||||
setCopied(true)
|
||||
|
||||
@@ -53,7 +53,7 @@ export default function PersonRow({ person, actions, onOpen }: { person: Profile
|
||||
onClick={toggle}
|
||||
disabled={busy}
|
||||
className={cx(
|
||||
'flex h-8 shrink-0 items-center gap-1 rounded-full px-3 text-xs font-semibold transition active:scale-95',
|
||||
'flex h-8 shrink-0 items-center gap-1 rounded-md px-3 text-xs font-semibold transition active:scale-95',
|
||||
relation === 'none' ? 'bg-accent-fill text-on-accent' : 'border border-line-strong text-ink-2',
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -266,7 +266,7 @@ export default function ProfileView({ username, onClose }: { username: string; o
|
||||
@{profile.username}
|
||||
{profile.isPrivate && <Lock size={12} aria-label={t('social.private')} />}
|
||||
{profile.followsMe && !profile.isMe && (
|
||||
<span className="rounded-full bg-surface-2 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-[0.04em] text-ink-2">
|
||||
<span className="rounded-md bg-surface-2 px-2 py-0.5 text-[10px] font-semibold text-ink-2">
|
||||
{t('social.followsYou')}
|
||||
</span>
|
||||
)}
|
||||
@@ -300,12 +300,12 @@ export default function ProfileView({ username, onClose }: { username: string; o
|
||||
</div>
|
||||
) : (
|
||||
<>
|
||||
<div className="mt-6 grid grid-cols-2 gap-1 rounded-full border border-line p-1 lg:max-w-md">
|
||||
<div className="mt-6 grid grid-cols-2 gap-1 rounded-md border border-line p-1 lg:max-w-md">
|
||||
{(['profile', 'library'] as const).map((v) => (
|
||||
<button
|
||||
key={v}
|
||||
onClick={() => setTab(v)}
|
||||
className={cx('rounded-full py-2 text-sm font-medium transition-colors', tab === v ? 'bg-ink text-bg' : 'text-ink-3')}
|
||||
className={cx('rounded-md py-2 text-sm font-medium transition-colors', tab === v ? 'bg-ink text-bg' : 'text-ink-3')}
|
||||
>
|
||||
{v === 'profile' ? t('social.tabProfile') : t('social.tabLibrary')}
|
||||
</button>
|
||||
|
||||
@@ -57,7 +57,7 @@ export default function Reactions({
|
||||
disabled={busy}
|
||||
aria-pressed={on}
|
||||
className={cx(
|
||||
'inline-flex items-center gap-1 rounded-full border px-2.5 py-1 text-sm transition-colors active:scale-95 disabled:opacity-60',
|
||||
'inline-flex items-center gap-1 rounded-md border px-2.5 py-1 text-sm transition-colors active:scale-95 disabled:opacity-60',
|
||||
on ? 'border-accent bg-accent-fill/10 text-ink' : 'border-line text-ink-2',
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -71,7 +71,7 @@ export default function ReviewComments({
|
||||
aria-expanded={open}
|
||||
aria-label={t('comments.toggle', { count: count ?? 0 })}
|
||||
className={cx(
|
||||
'inline-flex items-center gap-1 rounded-full border px-2.5 py-1 text-sm transition-colors active:scale-95',
|
||||
'inline-flex items-center gap-1 rounded-md border px-2.5 py-1 text-sm transition-colors active:scale-95',
|
||||
open ? 'border-ink/60 text-ink' : 'border-line text-ink-2',
|
||||
)}
|
||||
>
|
||||
@@ -189,10 +189,10 @@ function Thread({
|
||||
{confirmId === c.id && (
|
||||
<div className="mt-1.5 flex items-center gap-2 text-xs">
|
||||
<span className="text-ink-3">{t('comments.deleteConfirm')}</span>
|
||||
<button type="button" onClick={() => void remove(c.id)} disabled={deleting === c.id} className="rounded-full bg-accent-fill px-2.5 py-1 font-semibold text-on-accent disabled:opacity-60">
|
||||
<button type="button" onClick={() => void remove(c.id)} disabled={deleting === c.id} className="rounded-md bg-accent-fill px-2.5 py-1 font-semibold text-on-accent disabled:opacity-60">
|
||||
{deleting === c.id ? <Loader2 size={12} className="animate-spin" /> : t('common.delete')}
|
||||
</button>
|
||||
<button type="button" onClick={() => setConfirmId(undefined)} className="rounded-full border border-line px-2.5 py-1 text-ink-2">
|
||||
<button type="button" onClick={() => setConfirmId(undefined)} className="rounded-md border border-line px-2.5 py-1 text-ink-2">
|
||||
{t('common.cancel')}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -32,7 +32,7 @@ export default function ReviewText({
|
||||
<span className="flex items-center gap-1.5 text-xs font-semibold text-ink-2">
|
||||
<EyeOff size={14} className="text-accent" aria-hidden="true" /> {t('spoiler.warning')}
|
||||
</span>
|
||||
<button type="button" onClick={() => setShown(true)} className="rounded-full border border-line-strong bg-surface px-3 py-1 text-xs font-semibold text-ink active:scale-95">
|
||||
<button type="button" onClick={() => setShown(true)} className="rounded-md border border-line-strong bg-surface px-3 py-1 text-xs font-semibold text-ink active:scale-95">
|
||||
{t('spoiler.show')}
|
||||
</button>
|
||||
</div>
|
||||
@@ -43,7 +43,7 @@ export default function ReviewText({
|
||||
return (
|
||||
<div className={cx('mt-2', className)}>
|
||||
{spoiler && (
|
||||
<span className="mb-1.5 inline-flex items-center gap-1 rounded-full border border-accent/50 px-2 py-0.5 text-[11px] font-semibold uppercase tracking-wide text-accent">
|
||||
<span className="mb-1.5 inline-flex items-center gap-1 rounded-md border border-accent/50 px-2 py-0.5 text-[11px] font-semibold text-accent">
|
||||
<EyeOff size={11} aria-hidden="true" /> {t('spoiler.badge')}
|
||||
</span>
|
||||
)}
|
||||
|
||||
@@ -598,7 +598,7 @@ export function InvitePeople({ listId, listName, onClose }: { listId: string; li
|
||||
onClick={() => void invite(p)}
|
||||
disabled={busy === p.id || invited.has(p.id)}
|
||||
className={cx(
|
||||
'flex h-8 shrink-0 items-center gap-1 rounded-full px-3 text-xs font-semibold transition active:scale-95',
|
||||
'flex h-8 shrink-0 items-center gap-1 rounded-md px-3 text-xs font-semibold transition active:scale-95',
|
||||
invited.has(p.id) ? 'border border-line-strong text-ink-2' : 'bg-accent-fill text-on-accent',
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user