diff --git a/Dockerfile.prod b/Dockerfile.prod index 03d5fde1d..6fa22bed4 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -1,4 +1,4 @@ -FROM node:18-alpine as build +FROM node:18.18-alpine as build # Installing libvips-dev for sharp Compatibility RUN apk update && apk add libc6-compat --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev > /dev/null 2>&1 RUN apk update && apk add bash diff --git a/apps/vth-frontend/src/app/[locale]/layout.tsx b/apps/vth-frontend/src/app/[locale]/layout.tsx index c275f5ff8..905d53e70 100644 --- a/apps/vth-frontend/src/app/[locale]/layout.tsx +++ b/apps/vth-frontend/src/app/[locale]/layout.tsx @@ -61,6 +61,10 @@ const RootLayout = async ({ children, params: { locale } }: LayoutProps) => { const navigationPages: PageData[] = data?.navigationPages?.data; + navigationPages?.sort((a, b) => { + return a.attributes.title.localeCompare(b.attributes.title); + }); + const navListData = navigationPages?.map((navigationPage) => { return { title: navigationPage.attributes.title,