Arreglos menores

This commit is contained in:
David Arranz 2025-12-01 20:14:12 +01:00
parent c02adef593
commit 411e924fce
4 changed files with 52 additions and 50 deletions

View File

@ -20,7 +20,7 @@ import { useIssuedInvoiceListPageController } from "../../controllers";
import { IssuedInvoicesGrid, useIssuedInvoicesGridColumns } from "../blocks";
export const IssuedInvoiceListPage = () => {
const { t, i18n } = useTranslation();
const { t } = useTranslation();
const navigate = useNavigate();
const {
@ -56,8 +56,6 @@ export const IssuedInvoiceListPage = () => {
);
}
console.log(i18n.store);
return (
<>
<AppHeader>

View File

@ -7,7 +7,7 @@ i18n
.use(initReactI18next)
.init({
detection: { order: ["navigator"] },
debug: true,
debug: false,
fallbackLng: "es",
interpolation: { escapeValue: false },
});
@ -52,7 +52,6 @@ export const registerTranslations = (
const alreadyExists = i18n.hasResourceBundle(locale, ns);
if (!alreadyExists) {
console.log("cargando => ", moduleName, locale);
i18n.addResourceBundle(locale, ns, resources, true, true);
}
};

View File

@ -29,8 +29,6 @@ import type * as React from "react";
import { NavMain } from "./nav-main.tsx";
import { NavSecondary } from "./nav-secondary.tsx";
import { NavUser } from "./nav-user.tsx";
import { SearchForm } from "./search-form.tsx";
import { TeamSwitcher } from "./team-switcher.tsx";
const data = {
@ -230,14 +228,14 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
<Sidebar collapsible="icon" {...props}>
<SidebarHeader className="mb-3">
<TeamSwitcher teams={data2.teams} />
<SearchForm />
{/*<SearchForm />*/}
</SidebarHeader>
<SidebarContent>
<NavMain items={data2.navMain} />
</SidebarContent>
<SidebarFooter>
<NavSecondary className="mt-auto" items={data.navSecondary} />
<NavUser user={data.user} />
{/*<NavUser user={data.user} />*/}
</SidebarFooter>
<SidebarRail />
</Sidebar>

View File

@ -117,48 +117,55 @@
--font-serif: "Noto Serif", ui-serif, serif;
--font-mono: "Noto Sans Mono", ui-monospace, monospace;
--background: #eef4ff;
--foreground: #1e293b;
--card: #ffffff;
--card-foreground: #1e293b;
--popover: #ffffff;
--popover-foreground: #1e293b;
--primary: #3478d1;
--primary-foreground: #ffffff;
--secondary: #e8f1fb;
--secondary-foreground: #1e293b;
--muted: #e8f1fb;
--muted-foreground: #6b7d93;
--accent: #6b7d93;
--accent-foreground: #ffffff;
--destructive: #ef4444;
--destructive-foreground: #ffffff;
--border: #d1dce8;
--input: #d1dce8;
--ring: #3478d1;
--chart-1: #3478d1;
--chart-2: #6b7d93;
--chart-3: #5ba3e0;
--chart-4: #4a90c9;
--chart-5: #8ba3bd;
--sidebar: #3478d1;
--sidebar-foreground: #ffffff;
--sidebar-primary: #ffffff;
--sidebar-primary-foreground: #3478d1;
--sidebar-accent: #4a8fe0;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #4a8fe0;
--sidebar-ring: #ffffff;
--background: oklch(0.9658 0.0161 262.7533);
--foreground: oklch(0.2795 0.0368 260.031);
--card: oklch(1 0 0);
--card-foreground: oklch(0.2795 0.0368 260.031);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.2795 0.0368 260.031);
--primary: oklch(0.575 0.1533 256.4357);
--primary-foreground: oklch(1 0 0);
--secondary: oklch(0.6427 0.1407 253.94);
--secondary-foreground: oklch(0.9543 0.0166 250.8425);
--muted: oklch(0.9543 0.0166 250.8425);
--muted-foreground: oklch(0.5832 0.04 253.599);
--accent: oklch(0.5832 0.04 253.599);
--accent-foreground: oklch(1 0 0);
--destructive: oklch(0.6368 0.2078 25.3313);
--destructive-foreground: oklch(1 0 0);
--border: oklch(0.8897 0.0203 250.3999);
--input: oklch(1 0 0);
--ring: oklch(0.575 0.1533 256.4357);
--chart-1: oklch(0.575 0.1533 256.4357);
--chart-2: oklch(0.5832 0.04 253.599);
--chart-3: oklch(0.694 0.1158 246.0594);
--chart-4: oklch(0.6326 0.1115 245.4396);
--chart-5: oklch(0.706 0.0467 250.5651);
--sidebar: oklch(0.575 0.1533 256.4357);
--sidebar-foreground: oklch(1 0 0);
--sidebar-primary: oklch(1 0 0);
--sidebar-primary-foreground: oklch(0.575 0.1533 256.4357);
--sidebar-accent: oklch(0.6427 0.1407 253.94);
--sidebar-accent-foreground: oklch(1 0 0);
--sidebar-border: oklch(0.6427 0.1407 253.94);
--sidebar-ring: oklch(1 0 0);
--radius: 0.4rem;
--shadow-2xs: 1px 1px 6px 0px hsl(0 0% 0% / 0.05);
--shadow-xs: 1px 1px 6px 0px hsl(0 0% 0% / 0.05);
--shadow-sm: 1px 1px 6px 0px hsl(0 0% 0% / 0.1), 1px 1px 2px -1px hsl(0 0% 0% / 0.1);
--shadow: 1px 1px 6px 0px hsl(0 0% 0% / 0.1), 1px 1px 2px -1px hsl(0 0% 0% / 0.1);
--shadow-md: 1px 1px 6px 0px hsl(0 0% 0% / 0.1), 1px 2px 4px -1px hsl(0 0% 0% / 0.1);
--shadow-lg: 1px 1px 6px 0px hsl(0 0% 0% / 0.1), 1px 4px 6px -1px hsl(0 0% 0% / 0.1);
--shadow-xl: 1px 1px 6px 0px hsl(0 0% 0% / 0.1), 1px 8px 10px -1px hsl(0 0% 0% / 0.1);
--shadow-2xl: 1px 1px 6px 0px hsl(0 0% 0% / 0.25);
--tracking-normal: 0rem;
--shadow-x: 0;
--shadow-y: 1px;
--shadow-blur: 3px;
--shadow-spread: 0px;
--shadow-opacity: 0.1;
--shadow-color: oklch(0 0 0);
--shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
--shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
--shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
--shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
--shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
--shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
--shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
--shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25);
--tracking-normal: 0em;
--spacing: 0.22rem;
}