diff --git a/app/(pages)/anime/[slug]/_components/about.tsx b/app/(pages)/anime/[slug]/_components/about.tsx index e797da1b..ca3d268e 100644 --- a/app/(pages)/anime/[slug]/_components/about.tsx +++ b/app/(pages)/anime/[slug]/_components/about.tsx @@ -15,6 +15,7 @@ import { } from '@/components/ui/tooltip'; import { AGE_RATING, MEDIA_TYPE, RELEASE_STATUS } from '@/utils/constants'; import useAnimeInfo from '@/services/hooks/anime/useAnimeInfo'; +import P from '@/components/typography/p'; const Component = () => { @@ -58,9 +59,9 @@ const Component = () => { RELEASE_STATUS[data.status].color, }} > -
+
{RELEASE_STATUS[data.status].title_ua} -
+ @@ -134,9 +135,9 @@ const Component = () => { />+
{studio.company.name} -
+
+
+ +
{link.url} -
+ ); diff --git a/app/(pages)/anime/[slug]/_components/title.tsx b/app/(pages)/anime/[slug]/_components/title.tsx index 96c49dac..4c46bfc1 100644 --- a/app/(pages)/anime/[slug]/_components/title.tsx +++ b/app/(pages)/anime/[slug]/_components/title.tsx @@ -5,17 +5,23 @@ import { useEffect, useRef } from 'react'; import MaterialSymbolsEditRounded from '~icons/material-symbols/edit-rounded'; import MaterialSymbolsStarRounded from '~icons/material-symbols/star-rounded'; + + import Link from 'next/link'; import { useParams, usePathname } from 'next/navigation'; + + import EditListModal from '@/components/modals/editlist-modal'; +import H2 from '@/components/typography/h2'; import { Button } from '@/components/ui/button'; +import useAnimeInfo from '@/services/hooks/anime/useAnimeInfo'; import useIsMobile from '@/services/hooks/useIsMobile'; import { useAuthContext } from '@/services/providers/auth-provider'; import { useModalContext } from '@/services/providers/modal-provider'; import { useSettingsContext } from '@/services/providers/settings-provider'; import { ANIME_NAV_ROUTES } from '@/utils/constants'; -import useAnimeInfo from '@/services/hooks/anime/useAnimeInfo'; +import P from '@/components/typography/p'; const EditButton = ({ className }: { className?: string }) => { @@ -77,7 +83,7 @@ const Component = () => {{data.title_ja}
+{data.title_ja}
+
Нова колекція -
++ {format(edit.created * 1000, 'd MMM yyyy H:mm')} -
++ {format( edit.updated * 1000, 'd MMM yyyy H:mm', )} -
+{title_ua || '-'}
+{title_ua || '-'}
{title_en || '-'}
+{title_en || '-'}
{title_ja || '-'}
+{title_ja || '-'}
{tag}
+{tag}
+ + {(stats?.duration && formatDuration( { hours: Math.round(stats?.duration / 60) }, { format: ['hours'] }, )) || '0 годин'} -
++ {user.description} -
++
{user.role === 'admin' ? 'Адміністратор' : 'Модератор'} -
++
{user.description} -
+ )}На жаль, такої сторінки не існує 😢
+На жаль, такої сторінки не існує 😢
+ {formatDistance( comment.created * 1000, Date.now(), { addSuffix: true }, )} -
+Коментар видалено
+Коментар видалено
)}+
{properties[slug].description} -
+Жирний
+Жирний
Курсив
+Курсив
Посилання
+Посилання
Спойлер
+Спойлер
{href}
+{href}
+