diff --git a/examples/district/app/[locale]/[district]/[department]/[scheme]/components/scheme-layout.tsx b/examples/district/app/[locale]/[district]/[department]/[scheme]/components/scheme-layout.tsx index 9d343228..c4aea05b 100644 --- a/examples/district/app/[locale]/[district]/[department]/[scheme]/components/scheme-layout.tsx +++ b/examples/district/app/[locale]/[district]/[department]/[scheme]/components/scheme-layout.tsx @@ -94,7 +94,7 @@ export const Content = ({ data }: { data: IProps }) => { const breadcrumbs = [ { - label: 'Assam', + label: , href: '/', }, { @@ -118,7 +118,7 @@ export const Content = ({ data }: { data: IProps }) => { backUrl={`/${data.district}/${data.department}`} /> -
+
- -
- ); + return ; } diff --git a/examples/district/app/[locale]/[district]/[department]/components/department-layout.tsx b/examples/district/app/[locale]/[district]/[department]/components/department-layout.tsx index a0346713..4aea24ba 100644 --- a/examples/district/app/[locale]/[district]/[department]/components/department-layout.tsx +++ b/examples/district/app/[locale]/[district]/[department]/components/department-layout.tsx @@ -42,7 +42,7 @@ export function Content({ data }: { data: IProps }) { const breadcrumbs = [ { - label: 'Assam', + label: , href: '/', }, { @@ -58,65 +58,67 @@ export function Content({ data }: { data: IProps }) { <> - - {departmentData.deptTitle} - +
+ + {departmentData.deptTitle} + -
- - - - {departmentData.collapsible.title} +
+ + + + {departmentData.collapsible.title} + + + + + + +
+ {departmentData.collapsible.content.map((item) => ( + {item} + ))} +
+
+
+
+ + {departmentData.highlights && ( +
+ + {departmentData.highlights.title} - - - - -
- {departmentData.collapsible.content.map((item) => ( - {item} +
+ {departmentData.highlights.cards.map((card, index) => ( + ))}
- - -
- - {departmentData.highlights && ( -
- - {departmentData.highlights.title} - +
+ )} -
- {departmentData.highlights.cards.map((card, index) => ( - +
+ + {departmentData.listTitle} + + +
+ +
+ {departmentData.list.map((item) => ( + ))}
- )} - -
-
- - {departmentData.listTitle} - - -
- -
- {departmentData.list.map((item) => ( - - ))} -
); diff --git a/examples/district/app/[locale]/[district]/[department]/page.tsx b/examples/district/app/[locale]/[district]/[department]/page.tsx index 8d340245..746ff543 100644 --- a/examples/district/app/[locale]/[district]/[department]/page.tsx +++ b/examples/district/app/[locale]/[district]/[department]/page.tsx @@ -22,9 +22,5 @@ export default async function Home({ departmentData: districtObj['depts'][params.department], }; - return ( -
- -
- ); + return ; } diff --git a/examples/district/app/[locale]/[district]/components/dashboard-layout.tsx b/examples/district/app/[locale]/[district]/components/dashboard-layout.tsx index f69f4f32..1766d315 100644 --- a/examples/district/app/[locale]/[district]/components/dashboard-layout.tsx +++ b/examples/district/app/[locale]/[district]/components/dashboard-layout.tsx @@ -25,7 +25,7 @@ export function DashboardLayout({ > -
+ {/*
-
+
*/}
{children}
); diff --git a/examples/district/app/[locale]/[district]/components/dashboard-sidebar.tsx b/examples/district/app/[locale]/[district]/components/dashboard-sidebar.tsx index 113af31d..e6d0adb1 100644 --- a/examples/district/app/[locale]/[district]/components/dashboard-sidebar.tsx +++ b/examples/district/app/[locale]/[district]/components/dashboard-sidebar.tsx @@ -25,7 +25,7 @@ export function DashboardSidebar({ items, isCollapsed }: DashboardNavProps) { return (