-
-
- {data.listTitle}
-
-
+
+
+
+ {data.listTitle}
+
+
+
+
+
+
+ {data.list.map((item) => (
+
+ ))}
-
-
-
- {data.list.map((item) => (
-
- ))}
>
);
diff --git a/examples/district/app/[locale]/[district]/components/index.tsx b/examples/district/app/[locale]/[district]/components/index.tsx
index 7c73ac59..4ce1ce93 100644
--- a/examples/district/app/[locale]/[district]/components/index.tsx
+++ b/examples/district/app/[locale]/[district]/components/index.tsx
@@ -31,18 +31,28 @@ export const BreadCrumb = ({
backUrl,
}: {
crumbs: {
- label: string;
+ label: any;
href: string;
}[];
backUrl: string;
}) => {
return (
-
-
+
+
Go to State Page
-
+
+
+
+
+
+
+
);
};
diff --git a/examples/district/app/[locale]/[district]/layout.tsx b/examples/district/app/[locale]/[district]/layout.tsx
index 85096a43..6a66959b 100644
--- a/examples/district/app/[locale]/[district]/layout.tsx
+++ b/examples/district/app/[locale]/[district]/layout.tsx
@@ -1,5 +1,6 @@
import { DashboardLayout } from './components/dashboard-layout';
import { MainNav } from '@/components/main-nav';
+import { MobileNav } from '@/components/mobile-nav';
import { mainConfig } from '@/config/site';
export default async function LocaleLayout({
@@ -9,7 +10,10 @@ export default async function LocaleLayout({
}) {
return (
<>
-
+
+
+
+
{children}
>
);
diff --git a/examples/district/app/[locale]/[district]/page.tsx b/examples/district/app/[locale]/[district]/page.tsx
index e6e523fc..25c6c2c9 100644
--- a/examples/district/app/[locale]/[district]/page.tsx
+++ b/examples/district/app/[locale]/[district]/page.tsx
@@ -15,9 +15,5 @@ export default async function Home({
return notFound();
}
- return (
-
-
-
- );
+ return
;
}
diff --git a/examples/district/app/[locale]/components/district-selector.tsx b/examples/district/app/[locale]/components/district-selector.tsx
index a9032a1c..9ad823cd 100644
--- a/examples/district/app/[locale]/components/district-selector.tsx
+++ b/examples/district/app/[locale]/components/district-selector.tsx
@@ -86,7 +86,7 @@ export const DistrictSelector = () => {
)}
District
@@ -137,7 +137,6 @@ export const DistrictSelector = () => {
{category.name}
- {/*
*/}
diff --git a/examples/district/app/[locale]/components/header.tsx b/examples/district/app/[locale]/components/header.tsx
index f39e8310..af3523de 100644
--- a/examples/district/app/[locale]/components/header.tsx
+++ b/examples/district/app/[locale]/components/header.tsx
@@ -1,9 +1,8 @@
import Image from 'next/image';
-import { Text } from 'opub-ui';
export const Header = () => {
return (
-
+
- {children}
+
+ <>
+
+
+
+ {children}
+ >
+