update api and login

This commit is contained in:
2026-09-29 00:44:48 +05:30
parent b36a30385c
commit 2d8739e9a4
50 changed files with 2044 additions and 986 deletions

View File

@@ -1,10 +1,10 @@
"use client";
'use client';
import { Breadcrumbs, BreadcrumbItem } from "@astryxdesign/core/Breadcrumbs";
import { HStack, VStack } from "@astryxdesign/core/Layout";
import { Text } from "@astryxdesign/core/Text";
import { Button } from "@astryxdesign/core/Button";
import { Icon } from "@astryxdesign/core/Icon";
import {Breadcrumbs, BreadcrumbItem} from '@astryxdesign/core/Breadcrumbs';
import {HStack, VStack} from '@astryxdesign/core/Layout';
import {Text} from '@astryxdesign/core/Text';
import {Button} from '@astryxdesign/core/Button';
import {Icon} from '@astryxdesign/core/Icon';
export interface Crumb {
label: string;
@@ -32,7 +32,7 @@ export function AdminPageHeader({
subtitle?: string;
/** One level up. A drill-down page needs a way back that is not the
* browser's — the operator may have arrived from a link. */
back?: { label: string; href: string };
back?: {label: string; href: string};
crumbs?: Crumb[];
/** A row under the title — status, slug, dates. */
meta?: React.ReactNode;
@@ -93,7 +93,7 @@ export function AdminPageHeader({
);
}
export function BackButton({ label, href }: { label: string; href: string }) {
export function BackButton({label, href}: {label: string; href: string}) {
return (
<Button
variant="ghost"