-
-
-
- Get started by editing
- src/app/page.tsx
-
-
- By{' '}
-
-
-
-
-
-
-
-
-
- = () => {
-
+
diff --git a/src/app/pedidos/layout.tsx b/src/app/pedidos/layout.tsx
index 4a4b2ad..3ef6da6 100644
--- a/src/app/pedidos/layout.tsx
+++ b/src/app/pedidos/layout.tsx
@@ -16,16 +16,16 @@ export default function RootLayout({
children: React.ReactNode
}) {
return (
-
-
-
+
+ <>
+
+ Home
+
+ )
+}
\ No newline at end of file
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx
index d355c15..74a24dc 100644
--- a/src/components/Navbar.tsx
+++ b/src/components/Navbar.tsx
@@ -4,6 +4,7 @@ import { FC } from 'react'
import Button from './Button'
import Cookies from 'js-cookie'
import { useRouter } from 'next/navigation';
+import Link from 'next/link';
interface Props {
}
@@ -22,34 +23,28 @@ const name:FC = () => {
return (
<>
- Docs{' '} - - -> - -
-- Find in-depth information about Next.js features and API. -
- - - -- Learn{' '} - - -> - -
-- Learn about Next.js in an interactive course with quizzes! -
- - - -- Templates{' '} - - -> - -
-- Explore the Next.js 13 playground. -
- - - -- Deploy{' '} - - -> - -
-- Instantly deploy your Next.js site to a shareable URL with Vercel. -
- +
+ Home
+
)
}
diff --git a/src/app/pedidos/cliente/[id]/page.tsx b/src/app/pedidos/cliente/[id]/page.tsx
new file mode 100644
index 0000000..6761c12
--- /dev/null
+++ b/src/app/pedidos/cliente/[id]/page.tsx
@@ -0,0 +1,3 @@
+export default function Page({ params }: { params: { id: string } }) {
+ return My Post: {params.id}
+}
\ No newline at end of file
diff --git a/src/app/pedidos/cliente/form.tsx b/src/app/pedidos/cliente/form.tsx
deleted file mode 100644
index 6656882..0000000
--- a/src/app/pedidos/cliente/form.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-import { NextPage } from 'next';
-import { useRouter } from 'next/router'
-import { FC } from 'react'
-
-interface Props {
-}
-
-const Form:NextPage = () => {
-
- const router = useRouter();
- const entidadId = router.query.id ? router.query.id as string : "0";
-
-
- return (
- <>
- formulario
- >
- )
-}
-
-export default Form
\ No newline at end of file
diff --git a/src/app/pedidos/cliente/page.tsx b/src/app/pedidos/cliente/page.tsx
index 4cc50dc..6e47124 100644
--- a/src/app/pedidos/cliente/page.tsx
+++ b/src/app/pedidos/cliente/page.tsx
@@ -14,7 +14,7 @@ const ListadoCliente:FC
+
{children}
-
-
-
-
+ >
+
+
)
}
diff --git a/src/app/pedidos/page.tsx b/src/app/pedidos/page.tsx
new file mode 100644
index 0000000..d0d0d74
--- /dev/null
+++ b/src/app/pedidos/page.tsx
@@ -0,0 +1,9 @@
+import Image from 'next/image'
+
+export default function Home() {
+ return (
+
-
- daisyUI
-
-
-
-
+ = () => {
return (
<>
-
+ daisyUI
-
-
>
)
}
diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx
index 8684fcf..83983bf 100644
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@ -7,7 +7,8 @@ interface Props {
const Sidebar:FC -
+
-
@@ -21,12 +22,14 @@ const Sidebar:FC
= () => { - - + Pedido - +
+
+
>
)
}
diff --git a/src/components/table/TBody.tsx b/src/components/table/TBody.tsx
index 8e3be76..14ecde6 100644
--- a/src/components/table/TBody.tsx
+++ b/src/components/table/TBody.tsx
@@ -33,14 +33,14 @@ const TBody:FC