From fce0e2572adf9e2d1c773e4573e212723a59bd74 Mon Sep 17 00:00:00 2001 From: leolab1337 <61798137+leolab1337@users.noreply.github.com> Date: Mon, 30 Sep 2024 08:34:45 +0300 Subject: [PATCH 1/2] Rename "Comics" to "Comic Book" in navbar and comics.json Updated the term from "Comics" to "Comic Book" in the navbar JSON file and "Our Comic Book" in the comics.json file for consistency. This change helps provide clearer navigation labels and aligns with the content structure. --- frontend-next-migration/src/shared/i18n/locales/en/comics.json | 2 +- frontend-next-migration/src/shared/i18n/locales/en/navbar.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend-next-migration/src/shared/i18n/locales/en/comics.json b/frontend-next-migration/src/shared/i18n/locales/en/comics.json index bdaab203b..14b613911 100644 --- a/frontend-next-migration/src/shared/i18n/locales/en/comics.json +++ b/frontend-next-migration/src/shared/i18n/locales/en/comics.json @@ -1,5 +1,5 @@ { - "Comics": "Comics", + "Comics": "Our Comic Book", "head-title" : "Comics Galleries", "head-description" : "Browse a wide selection of comic galleries and discover new favorites.", "head-keywords": "altzone, comics, comics galleries, gallerias, comic, art" diff --git a/frontend-next-migration/src/shared/i18n/locales/en/navbar.json b/frontend-next-migration/src/shared/i18n/locales/en/navbar.json index 36fc428ad..bcedc409e 100644 --- a/frontend-next-migration/src/shared/i18n/locales/en/navbar.json +++ b/frontend-next-migration/src/shared/i18n/locales/en/navbar.json @@ -15,7 +15,7 @@ "clans": "Clans", "my_clan": "My Clan", "all_clans": "Find Clans", - "comics": "Comics", + "comics": "Comic Book", "galleries": "Galleries", "leaderboard": "Leaderboard", "SignUpFirst!": "Sign up first!", From c50fecbfb0d6061e938147e004927485e6bd59e9 Mon Sep 17 00:00:00 2001 From: leolab1337 <61798137+leolab1337@users.noreply.github.com> Date: Mon, 30 Sep 2024 08:37:31 +0300 Subject: [PATCH 2/2] Switch to synchronous loading for gallery pages Temporarily reverted async loading of Comics and Picture Gallery pages due to loading issues. Added TODO comments for future improvements to avoid sudden jumps during loading. --- .../src/preparedPages/ComicsGalleriesPages/index.ts | 5 +++-- .../src/preparedPages/PictureGalleryPages/index.ts | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend-next-migration/src/preparedPages/ComicsGalleriesPages/index.ts b/frontend-next-migration/src/preparedPages/ComicsGalleriesPages/index.ts index 424929ee7..55a6dd0ef 100644 --- a/frontend-next-migration/src/preparedPages/ComicsGalleriesPages/index.ts +++ b/frontend-next-migration/src/preparedPages/ComicsGalleriesPages/index.ts @@ -1,4 +1,5 @@ -export { default as ComicsGalleriesPage } from "./ui/ComicsGalleriesPage.async"; -// export { default as ComicsGalleriesPage } from "./ui/ComicsGalleriesPage"; +// todo fix it to not jump on loading +// export { default as ComicsGalleriesPage } from "./ui/ComicsGalleriesPage.async"; +export { default as ComicsGalleriesPage } from "./ui/ComicsGalleriesPage"; export type {Props as ComicsGalleriesPageProps} from "./ui/ComicsGalleriesPage"; \ No newline at end of file diff --git a/frontend-next-migration/src/preparedPages/PictureGalleryPages/index.ts b/frontend-next-migration/src/preparedPages/PictureGalleryPages/index.ts index 9e1b99420..6390a194d 100644 --- a/frontend-next-migration/src/preparedPages/PictureGalleryPages/index.ts +++ b/frontend-next-migration/src/preparedPages/PictureGalleryPages/index.ts @@ -1,3 +1,5 @@ -export {default as PictureGalleryPage} from "./ui/PictureGalleryPage.async" +// todo fix it to not jump on loading +// export {default as PictureGalleryPage} from "./ui/PictureGalleryPage.async" +export {default as PictureGalleryPage} from "./ui/PictureGalleryPage" export type {Props as PictureGalleryPageProps} from "./ui/PictureGalleryPage" \ No newline at end of file