create-carlonicora-app 1.3.4 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/apps/web/public/sw.js +1 -1
- package/template/apps/web/src/app/[locale]/(auth)/auth/page.tsx +1 -1
- package/template/apps/web/src/app/[locale]/(main)/page.tsx +2 -4
- package/template/apps/web/src/features/common/components/containers/IndexContainer.tsx +1 -6
- package/template/apps/web/src/features/common/components/navigations/CommonSidebar.tsx +2 -2
- package/template/packages/shared/package.json +3 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import IndexContainer from "@/features/common/components/containers/IndexContain
|
|
|
2
2
|
import { generateSpecificMetadata } from "@/utils/metadata";
|
|
3
3
|
import { AuthContainer, CompaniesList, PageContainer } from "@carlonicora/nextjs-jsonapi/components";
|
|
4
4
|
import { CommonProvider, CompanyProvider } from "@carlonicora/nextjs-jsonapi/contexts";
|
|
5
|
-
import { AuthComponent
|
|
5
|
+
import { AuthComponent } from "@carlonicora/nextjs-jsonapi/core";
|
|
6
6
|
import { ServerSession } from "@carlonicora/nextjs-jsonapi/server";
|
|
7
7
|
import { RoleId } from "@{{name}}/shared";
|
|
8
8
|
import { Metadata } from "next";
|
|
@@ -29,12 +29,10 @@ export default async function IndexPage() {
|
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
const contentList: ContentInterface[] = await ContentService.findMany({});
|
|
33
|
-
|
|
34
32
|
return (
|
|
35
33
|
<CommonProvider>
|
|
36
34
|
<PageContainer testId="page-homepage-container">
|
|
37
|
-
<IndexContainer
|
|
35
|
+
<IndexContainer />
|
|
38
36
|
</PageContainer>
|
|
39
37
|
</CommonProvider>
|
|
40
38
|
);
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { JsonApiHydratedDataInterface } from "@carlonicora/nextjs-jsonapi/core";
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
dehydratedContentList: JsonApiHydratedDataInterface[];
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export default function IndexContainer({ dehydratedContentList }: IndexContainerProps) {
|
|
4
|
+
export default function IndexContainer() {
|
|
10
5
|
return <div>index</div>;
|
|
11
6
|
}
|
|
@@ -91,7 +91,7 @@ export default function CommonSidebar() {
|
|
|
91
91
|
>
|
|
92
92
|
{state === "expanded" ? (
|
|
93
93
|
<Image
|
|
94
|
-
src={`/
|
|
94
|
+
src={`/logo.webp`}
|
|
95
95
|
className="max-h-32 object-contain p-4"
|
|
96
96
|
height={300}
|
|
97
97
|
width={300}
|
|
@@ -100,7 +100,7 @@ export default function CommonSidebar() {
|
|
|
100
100
|
/>
|
|
101
101
|
) : (
|
|
102
102
|
<Image
|
|
103
|
-
src={`/
|
|
103
|
+
src={`/logo.webp`}
|
|
104
104
|
className="max-h-10 object-contain"
|
|
105
105
|
height={300}
|
|
106
106
|
width={300}
|