removed additional breadcrumbs
This commit is contained in:
@@ -125,7 +125,7 @@ export default function IntlPaymentViewPage() {
|
||||
<div className=" mx-auto space-y-6">
|
||||
{/* Header */}
|
||||
<div className="flex items-start justify-between">
|
||||
<div /> {/* breadcrumb handled by layout */}
|
||||
|
||||
<div className="flex items-center gap-2">
|
||||
<AlertDialog>
|
||||
<AlertDialogTrigger asChild>
|
||||
|
||||
@@ -166,13 +166,7 @@ export function CardTypesListPage() {
|
||||
{/* Header */}
|
||||
<div className="flex items-center justify-between mb-6">
|
||||
<div>
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span>{t('nav.resources', 'Resurslar')}</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('cardTypes.title', 'Kart görnüşleri')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{t('cardTypes.title', 'Kart görnüşleri')}
|
||||
</h1>
|
||||
|
||||
@@ -1,33 +1,13 @@
|
||||
import { useNavigate } from 'react-router-dom'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { CardTypeForm } from '@/features/cardTypes/components/cardTypesForm'
|
||||
|
||||
export default function CardTypeCreatePage() {
|
||||
const navigate = useNavigate()
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<div className="p-6">
|
||||
<div className="mb-6">
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/card/card-types')}
|
||||
>
|
||||
{t('nav.settings', 'Sazlamalar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/card/card-types')}
|
||||
>
|
||||
{t('cardTypes.title', 'Kart görnüşleri')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('cardTypes.create.breadcrumb', 'Kart görnüşi döretmek')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{t('cardTypes.create.title', 'Kart görnüşi döretmek')}
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
import { useNavigate, useParams } from 'react-router-dom'
|
||||
import { useParams } from 'react-router-dom'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { CardTypeForm } from '@/features/cardTypes/components/cardTypesForm'
|
||||
import { useCardTypeById } from '@/features/cardTypes/hooks/useCardTypes'
|
||||
|
||||
export default function CardTypeEditPage() {
|
||||
const { id } = useParams<{ id: string }>()
|
||||
const navigate = useNavigate()
|
||||
const { t } = useTranslation()
|
||||
|
||||
const numericId = Number(id)
|
||||
@@ -14,25 +13,7 @@ export default function CardTypeEditPage() {
|
||||
return (
|
||||
<div className="p-6">
|
||||
<div className="mb-6">
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/card/card-types')}
|
||||
>
|
||||
{t('nav.settings', 'Sazlamalar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/card/card-types')}
|
||||
>
|
||||
{t('cardTypes.title', 'Kart görnüşleri')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('cardTypes.edit.breadcrumb', 'Üýtgetmek')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{isLoading
|
||||
|
||||
@@ -30,28 +30,10 @@ export function CardTypeViewPage() {
|
||||
|
||||
return (
|
||||
<div className="p-6">
|
||||
{/* Breadcrumb + actions */}
|
||||
|
||||
<div className="flex items-start justify-between mb-6">
|
||||
<div>
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/resources/card-types')}
|
||||
>
|
||||
{t('nav.resources', 'Resurslar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/resources/card-types')}
|
||||
>
|
||||
{t('cardTypes.title', 'Kart görnüşleri')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{isLoading ? '...' : data?.name[lang] ?? ''}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{isLoading
|
||||
? '...'
|
||||
|
||||
@@ -1,33 +1,13 @@
|
||||
import { useNavigate, } from 'react-router-dom'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { CardReasonForm } from '@/features/cardReasons/components/reasonForm'
|
||||
|
||||
export function CardReasonCreatePage() {
|
||||
const navigate = useNavigate()
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<div className="p-6">
|
||||
<div className="mb-6">
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/resources/card-states')}
|
||||
>
|
||||
{t('nav.resources', 'Resurslar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/resources/card-states')}
|
||||
>
|
||||
{t('CardReasons.title', 'Kartyň çykarylmagynyň sebäpleri')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('CardReasons.create.breadcrumb', 'Kartyň çykarylmagynyň sebäbi dörediň')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{t('CardReasons.create.title', 'Kartyň çykarylmagynyň sebäbi dörediň')}
|
||||
</h1>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useNavigate, useParams } from "react-router-dom";
|
||||
import { useParams } from "react-router-dom";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { CardReasonForm } from "@/features/cardReasons/components/reasonForm";
|
||||
import { useCardReasonById } from "@/features/cardReasons/hooks/useCardReasons";
|
||||
@@ -7,7 +7,6 @@ import { useCardReasonById } from "@/features/cardReasons/hooks/useCardReasons";
|
||||
|
||||
export function CardReasonEditPage() {
|
||||
const { id } = useParams<{ id: string }>();
|
||||
const navigate = useNavigate();
|
||||
const { t } = useTranslation();
|
||||
|
||||
const numericId = Number(id);
|
||||
@@ -16,25 +15,7 @@ export function CardReasonEditPage() {
|
||||
return (
|
||||
<div className="p-6">
|
||||
<div className="mb-6">
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate("/resources/card-states")}
|
||||
>
|
||||
{t("nav.resources", "Resurslar")}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate("/resources/card-states")}
|
||||
>
|
||||
{t("CardReasons.title", "Kartyň çykarylmagynyň sebäpleri")}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t("CardReasons.edit.breadcrumb", "Üýtgetmek")}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{isLoading
|
||||
? "..."
|
||||
|
||||
@@ -33,28 +33,10 @@ export function CardReasonViewPage() {
|
||||
|
||||
return (
|
||||
<div className="p-6">
|
||||
{/* Breadcrumb + actions */}
|
||||
|
||||
<div className="flex items-start justify-between mb-6">
|
||||
<div>
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/resources/card-states')}
|
||||
>
|
||||
{t('nav.resources', 'Resurslar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/resources/card-states')}
|
||||
>
|
||||
{t('CardReasons.title', 'Kartyň çykarylmagynyň sebäpleri')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('CardReasons.view.breadcrumb', 'Kartyň çykarylmagynyň sebäbi giňişleýin: Rekwizit')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{isLoading
|
||||
? '...'
|
||||
|
||||
@@ -69,26 +69,7 @@ export default function LoanTypeViewPage() {
|
||||
// ── View ───────────────────────────────────────────────────────────────────
|
||||
return (
|
||||
<div className="p-6 max-w-3xl">
|
||||
{/* Breadcrumb */}
|
||||
<div className="flex items-center gap-2 text-sm text-muted-foreground mb-4">
|
||||
<span
|
||||
className="hover:text-foreground cursor-pointer transition-colors"
|
||||
onClick={() => navigate('/resources')}
|
||||
>
|
||||
{t('nav.resources', 'Resurslar')}
|
||||
</span>
|
||||
<span>/</span>
|
||||
<span
|
||||
className="hover:text-foreground cursor-pointer transition-colors text-primary"
|
||||
onClick={() => navigate('/resources/loan-types')}
|
||||
>
|
||||
{t('loanTypes.title', 'Karz görnüşleri')}
|
||||
</span>
|
||||
<span>/</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('loanTypes.viewTitle', 'Karz görnüşi giňişleýin')}: {data.name[lang]}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
{/* Page header */}
|
||||
<div className="flex items-start justify-between mb-5">
|
||||
|
||||
@@ -189,13 +189,7 @@ export function BranchesListPage() {
|
||||
<div className="p-6">
|
||||
<div className="flex items-center justify-between mb-6">
|
||||
<div>
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span>{t('nav.settings', 'Sazlamalar')}</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('branches.title', 'Şahamçalar')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{t('branches.title', 'Şahamçalar')}
|
||||
</h1>
|
||||
|
||||
@@ -1,33 +1,13 @@
|
||||
import { useNavigate } from 'react-router-dom'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { BranchForm } from '@/features/branches/components/branchesForm'
|
||||
|
||||
export default function BranchCreatePage() {
|
||||
const navigate = useNavigate()
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<div className="p-6">
|
||||
<div className="mb-6">
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/location/branches')}
|
||||
>
|
||||
{t('nav.settings', 'Sazlamalar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/location/branches')}
|
||||
>
|
||||
{t('branches.title', 'Şahamçalar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('branches.create.breadcrumb', 'Şahamça döretmek')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{t('branches.create.title', 'Şahamça döretmek')}
|
||||
|
||||
@@ -32,25 +32,7 @@ export function BranchViewPage() {
|
||||
<div className="p-6">
|
||||
<div className="flex items-start justify-between mb-6">
|
||||
<div>
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/location/branches')}
|
||||
>
|
||||
{t('nav.settings', 'Sazlamalar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/location/branches')}
|
||||
>
|
||||
{t('branches.title', 'Şahamçalar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{isLoading ? '...' : data?.name[lang] ?? ''}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{isLoading
|
||||
? '...'
|
||||
|
||||
@@ -157,13 +157,7 @@ export function DistrictsListPage() {
|
||||
<div className="p-6">
|
||||
<div className="flex items-center justify-between mb-6">
|
||||
<div>
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span>{t('nav.settings', 'Sazlamalar')}</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('districts.title', 'Etraplar')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{t('districts.title', 'Etraplar')}
|
||||
</h1>
|
||||
|
||||
@@ -1,33 +1,13 @@
|
||||
import { useNavigate } from 'react-router-dom'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { DistrictForm } from '@/features/districts/components/districtsForm'
|
||||
|
||||
export default function DistrictCreatePage() {
|
||||
const navigate = useNavigate()
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<div className="p-6">
|
||||
<div className="mb-6">
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/location/districts')}
|
||||
>
|
||||
{t('nav.settings', 'Sazlamalar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/location/districts')}
|
||||
>
|
||||
{t('districts.title', 'Etraplar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('districts.create.breadcrumb', 'Etrap döretmek')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{t('districts.create.title', 'Etrap döretmek')}
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
import { useNavigate, useParams } from 'react-router-dom'
|
||||
import { useParams } from 'react-router-dom'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { DistrictForm } from '@/features/districts/components/districtsForm'
|
||||
import { useDistrictById } from '@/features/districts/hooks/useDistricts'
|
||||
|
||||
export default function DistrictEditPage() {
|
||||
const { id } = useParams<{ id: string }>()
|
||||
const navigate = useNavigate()
|
||||
const { t } = useTranslation()
|
||||
|
||||
const numericId = Number(id)
|
||||
@@ -14,25 +13,7 @@ export default function DistrictEditPage() {
|
||||
return (
|
||||
<div className="p-6">
|
||||
<div className="mb-6">
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/location/districts')}
|
||||
>
|
||||
{t('nav.settings', 'Sazlamalar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/location/districts')}
|
||||
>
|
||||
{t('districts.title', 'Etraplar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('districts.edit.breadcrumb', 'Üýtgetmek')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{isLoading
|
||||
|
||||
@@ -32,25 +32,7 @@ export function DistrictViewPage() {
|
||||
<div className="p-6">
|
||||
<div className="flex items-start justify-between mb-6">
|
||||
<div>
|
||||
<nav className="flex items-center gap-2 text-sm text-muted-foreground mb-1">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/location/districts')}
|
||||
>
|
||||
{t('nav.settings', 'Sazlamalar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/settings/location/districts')}
|
||||
>
|
||||
{t('districts.title', 'Etraplar')}
|
||||
</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{isLoading ? '...' : data?.name[lang] ?? ''}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{isLoading
|
||||
? '...'
|
||||
|
||||
@@ -190,19 +190,7 @@ export default function UsersListPage() {
|
||||
// ── Render ─────────────────────────────────────────────────────────────────
|
||||
return (
|
||||
<div className="p-6 space-y-4">
|
||||
{/* Page header */}
|
||||
<div>
|
||||
<nav className="flex items-center gap-1.5 text-xs text-muted-foreground mb-3">
|
||||
<span>{t('nav.resources', 'Resurslar')}</span>
|
||||
<span>›</span>
|
||||
<span className="text-foreground font-medium">
|
||||
{t('nav.users', 'Ulanyjylar')}
|
||||
</span>
|
||||
</nav>
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{t('users.title', 'Ulanyjylar')}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
|
||||
{/* Toolbar */}
|
||||
<DataTableToolbar
|
||||
|
||||
@@ -2,7 +2,6 @@ import { useState } from 'react'
|
||||
import { useNavigate, useParams } from 'react-router-dom'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import {
|
||||
ChevronRight,
|
||||
Loader2,
|
||||
Pencil,
|
||||
Trash2,
|
||||
@@ -155,26 +154,7 @@ export default function UserViewPage() {
|
||||
|
||||
return (
|
||||
<div className="p-6 max-w-4xl space-y-0">
|
||||
{/* Breadcrumb */}
|
||||
<nav className="flex items-center gap-1.5 text-xs text-muted-foreground mb-3">
|
||||
<button
|
||||
onClick={() => navigate('/users')}
|
||||
className="hover:text-foreground transition-colors"
|
||||
>
|
||||
{t('nav.resources', 'Resurslar')}
|
||||
</button>
|
||||
<ChevronRight size={12} />
|
||||
<button
|
||||
onClick={() => navigate('/users')}
|
||||
className="hover:text-foreground transition-colors"
|
||||
>
|
||||
{t('nav.users', 'Ulanyjylar')}
|
||||
</button>
|
||||
<ChevronRight size={12} />
|
||||
<span className="text-foreground font-medium">
|
||||
{t('users.viewTitle', 'Ulanyjy giňişleýin')}: {user.name} ({user.username})
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
|
||||
{/* Title + actions */}
|
||||
<div className="flex items-start justify-between mb-6">
|
||||
|
||||
@@ -1,27 +1,12 @@
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useNavigate } from 'react-router-dom'
|
||||
import { ChevronRight } from 'lucide-react'
|
||||
import { ClientForm } from '@/features/clients/components/clientForm'
|
||||
|
||||
export default function ClientCreatePage() {
|
||||
const { t } = useTranslation()
|
||||
const navigate = useNavigate()
|
||||
|
||||
return (
|
||||
<div className="p-6">
|
||||
{/* Breadcrumb */}
|
||||
<nav className="flex items-center gap-1.5 text-sm text-muted-foreground mb-4">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/clients')}
|
||||
>
|
||||
{t('clients.title', 'Müşderiler')}
|
||||
</span>
|
||||
<ChevronRight size={14} />
|
||||
<span className="text-foreground font-medium">
|
||||
{t('clients.createTitle', 'Müşderi dörediň')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
|
||||
{/* Page heading */}
|
||||
<h1 className="text-2xl font-semibold text-foreground mb-6">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useParams, useNavigate } from 'react-router-dom'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { Pencil, Trash2, ChevronDown, ChevronRight } from 'lucide-react'
|
||||
import { Pencil, Trash2, ChevronDown } from 'lucide-react'
|
||||
import { useState } from 'react'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import {
|
||||
@@ -143,15 +143,7 @@ export default function ClientDetailPage() {
|
||||
|
||||
return (
|
||||
<div className="p-6">
|
||||
<nav className="flex items-center gap-1.5 text-sm text-muted-foreground mb-4">
|
||||
<span className="cursor-pointer hover:text-foreground transition-colors" onClick={() => navigate('/clients')}>
|
||||
{t('clients.title', 'Müşderiler')}
|
||||
</span>
|
||||
<ChevronRight size={14} />
|
||||
<span className="text-foreground font-medium">
|
||||
{t('clients.detailTitle', 'Müşderi giňişleýin')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
|
||||
<div className="flex items-center justify-between mb-6">
|
||||
<h1 className="text-2xl font-semibold text-foreground">
|
||||
|
||||
@@ -1,30 +1,13 @@
|
||||
// ─── OperatorCreatePage.tsx ───────────────────────────────────────────────────
|
||||
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useNavigate } from 'react-router-dom'
|
||||
import { ChevronRight } from 'lucide-react'
|
||||
import { OperatorForm } from '@/features/operators/components/operatorForms'
|
||||
|
||||
export default function OperatorCreatePage() {
|
||||
const { t } = useTranslation()
|
||||
const navigate = useNavigate()
|
||||
|
||||
return (
|
||||
<div className="p-6">
|
||||
{/* Breadcrumb */}
|
||||
<nav className="flex items-center gap-1.5 text-sm text-muted-foreground mb-4">
|
||||
<span
|
||||
className="cursor-pointer hover:text-foreground transition-colors"
|
||||
onClick={() => navigate('/operators')}
|
||||
>
|
||||
{t('operators.title', 'Operatorlar')}
|
||||
</span>
|
||||
<ChevronRight size={14} />
|
||||
<span className="text-foreground font-medium">
|
||||
{t('operators.createTitle', 'Operator döredin')}
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
{/* Page heading */}
|
||||
<h1 className="text-2xl font-semibold text-foreground mb-6">
|
||||
{t('operators.createTitle', 'Operator döredin')}
|
||||
|
||||
Reference in New Issue
Block a user