submenu of the header fix
This commit is contained in:
parent
634e43a6c9
commit
8ad60001fe
@ -10,7 +10,7 @@ import { Spinner } from '../reusable/Spinner';
|
|||||||
import { EmptyState } from '../reusable/EmptyState';
|
import { EmptyState } from '../reusable/EmptyState';
|
||||||
import { StatsTiles } from '../reusable/StatsTiles';
|
import { StatsTiles } from '../reusable/StatsTiles';
|
||||||
import { AnalyticsChart } from '../reusable/AnalyticsChart';
|
import { AnalyticsChart } from '../reusable/AnalyticsChart';
|
||||||
import { Select, MultiSelect } from '../reusable/Select';
|
import { MultiSelect } from '../reusable/Select';
|
||||||
|
|
||||||
export interface RecordViewProps {
|
export interface RecordViewProps {
|
||||||
/** Workflow-bound client (see api/clients.ts). */
|
/** Workflow-bound client (see api/clients.ts). */
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export function ConsoleLayout() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="h-screen bg-[var(--secondary-color)] flex flex-col">
|
<div className="h-screen bg-[var(--secondary-color)] flex flex-col">
|
||||||
<header className="sticky top-0 z-10 shrink-0 flex items-center justify-between gap-6 px-6 h-[56px] shadow-sm" style={{ background: 'var(--nav-bg-color)' }}>
|
<header className="sticky top-0 z-50 shrink-0 flex items-center justify-between gap-6 px-6 h-[56px] shadow-sm" style={{ background: 'var(--nav-bg-color)' }}>
|
||||||
<div className="flex items-center min-w-max w-48">
|
<div className="flex items-center min-w-max w-48">
|
||||||
<span className="text-lg font-bold text-white tracking-wide leading-none">Krishna Sales</span>
|
<span className="text-lg font-bold text-white tracking-wide leading-none">Krishna Sales</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,14 +1,13 @@
|
|||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { useParams, useNavigate } from 'react-router-dom';
|
import { useParams } from 'react-router-dom';
|
||||||
import { orderBookingClient } from '../../api/clients';
|
import { orderBookingClient } from '../../api/clients';
|
||||||
import type { Dataset } from '../../api/types';
|
import type { Dataset } from '../../api/types';
|
||||||
import { Button } from '../../components/buttons/Button';
|
import { Button } from '../../components/buttons/Button';
|
||||||
import { Spinner } from '../../components/reusable/Spinner';
|
import { Spinner } from '../../components/reusable/Spinner';
|
||||||
import { ArrowLeft, Save, Trash2, Plus, Database, Upload } from 'lucide-react';
|
import { Save, Trash2, Plus, Database, Upload } from 'lucide-react';
|
||||||
|
|
||||||
export function DatasetItemsPage() {
|
export function DatasetItemsPage() {
|
||||||
const { id } = useParams<{ id: string }>();
|
const { id } = useParams<{ id: string }>();
|
||||||
const navigate = useNavigate();
|
|
||||||
|
|
||||||
const [dataset, setDataset] = useState<Dataset | null>(null);
|
const [dataset, setDataset] = useState<Dataset | null>(null);
|
||||||
const [loading, setLoading] = useState(true);
|
const [loading, setLoading] = useState(true);
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
|
|||||||
import { orderBookingClient } from '../../api/clients';
|
import { orderBookingClient } from '../../api/clients';
|
||||||
import type { Dataset } from '../../api/types';
|
import type { Dataset } from '../../api/types';
|
||||||
import { Spinner } from '../../components/reusable/Spinner';
|
import { Spinner } from '../../components/reusable/Spinner';
|
||||||
import { Database, LayoutList, Table2 } from 'lucide-react';
|
import { Database } from 'lucide-react';
|
||||||
import { useNavigate, useLocation, Outlet, useParams } from 'react-router-dom';
|
import { useNavigate, useLocation, Outlet, useParams } from 'react-router-dom';
|
||||||
|
|
||||||
export function DatasetsPage() {
|
export function DatasetsPage() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user