feat: minute adn logo
This commit is contained in:
@@ -17,7 +17,7 @@ import {
|
||||
Badge,
|
||||
} from "@/components/ui";
|
||||
import { EditIcon, PlusIcon, TrashIcon } from "@/components/icons";
|
||||
import { formatDuration } from "@/lib/utils";
|
||||
import { formatMinutes } from "@/lib/utils";
|
||||
import { MediaPreview } from "@/components/MediaPreview";
|
||||
import { ImagePicker } from "@/components/ImagePicker";
|
||||
import { pickUrl, SOUND_KEYS, VIDEO_KEYS, IMAGE_KEYS } from "@/lib/media";
|
||||
@@ -238,7 +238,7 @@ export default function MediaPage() {
|
||||
{
|
||||
key: "duration",
|
||||
header: "مدت",
|
||||
render: (r) => formatDuration(r.duration),
|
||||
render: (r) => formatMinutes(r.duration),
|
||||
},
|
||||
{
|
||||
key: "is_premium",
|
||||
@@ -388,13 +388,13 @@ export default function MediaPage() {
|
||||
/>
|
||||
</Field>
|
||||
|
||||
<Field label="مدت (ثانیه)">
|
||||
<Field label="مدت (دقیقه)">
|
||||
<Input
|
||||
type="number"
|
||||
dir="ltr"
|
||||
value={duration}
|
||||
onChange={(e) => setDuration(e.target.value)}
|
||||
placeholder="مثلاً ۳۰۰"
|
||||
placeholder="مثلاً ۱۰"
|
||||
/>
|
||||
</Field>
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
PageHeader,
|
||||
} from "@/components/ui";
|
||||
import { EditIcon, PlusIcon, TrashIcon } from "@/components/icons";
|
||||
import { formatDuration } from "@/lib/utils";
|
||||
import { formatMinutes } from "@/lib/utils";
|
||||
import { MediaPreview } from "@/components/MediaPreview";
|
||||
import { ImagePicker } from "@/components/ImagePicker";
|
||||
import { pickUrl, SOUND_KEYS, IMAGE_KEYS } from "@/lib/media";
|
||||
@@ -166,7 +166,7 @@ export default function MusicTracksPage() {
|
||||
{
|
||||
key: "duration",
|
||||
header: "مدت زمان",
|
||||
render: (r) => formatDuration(r.duration),
|
||||
render: (r) => formatMinutes(r.duration),
|
||||
},
|
||||
{
|
||||
key: "type",
|
||||
@@ -268,7 +268,7 @@ export default function MusicTracksPage() {
|
||||
</Select>
|
||||
</Field>
|
||||
|
||||
<Field label="مدت زمان (ثانیه)">
|
||||
<Field label="مدت زمان (دقیقه)">
|
||||
<Input
|
||||
type="number"
|
||||
value={duration}
|
||||
|
||||
@@ -11,7 +11,7 @@ export default function DashboardHome() {
|
||||
<div>
|
||||
<PageHeader
|
||||
title="خوش آمدید 👋"
|
||||
subtitle="از طریق بخشهای زیر، محتوای اپلیکیشن مدیتیشن را مدیریت کنید."
|
||||
subtitle="از طریق بخشهای زیر، محتوای اپلیکیشن آرام جان را مدیریت کنید."
|
||||
/>
|
||||
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
|
||||
{sections.map((section) => {
|
||||
|
||||
Reference in New Issue
Block a user