diff --git a/src/app/(pages)/4q-gallery/_components/create-container.module.css b/src/app/(pages)/4q-gallery/_components/create-container.module.css index da7940b..2de4a34 100644 --- a/src/app/(pages)/4q-gallery/_components/create-container.module.css +++ b/src/app/(pages)/4q-gallery/_components/create-container.module.css @@ -30,8 +30,15 @@ } .prevBtnContainer { - position: absolute; + position: fixed; left: 50%; transform: translateX(-50%); - bottom: -50px; + bottom: -20px; } + +.prevBtn { + position: fixed; + bottom: -70px; + left: 50%; + transform: translateX(-50%); +} \ No newline at end of file diff --git a/src/app/(pages)/4q-gallery/_components/second.module.css b/src/app/(pages)/4q-gallery/_components/second.module.css index c00cd5a..edb5253 100644 --- a/src/app/(pages)/4q-gallery/_components/second.module.css +++ b/src/app/(pages)/4q-gallery/_components/second.module.css @@ -109,7 +109,7 @@ width: 100%; position: absolute; left: 50%; - bottom: 13%; + bottom: 11%; transform: translateX(-50%); display: flex; align-items: center; diff --git a/src/app/(pages)/4q-gallery/_components/second.tsx b/src/app/(pages)/4q-gallery/_components/second.tsx index 370ed53..913b0b4 100644 --- a/src/app/(pages)/4q-gallery/_components/second.tsx +++ b/src/app/(pages)/4q-gallery/_components/second.tsx @@ -89,7 +89,7 @@ export default function Third() { const [backgroundImage] = useImage( storedFormData.backgroundImageUrl, - "anonymous" + "use-credentials" ); const [qrImage] = useImage(qrImageUrl, "anonymous"); diff --git a/src/service/photo_api.ts b/src/service/photo_api.ts index 8ba1f6d..c583af2 100644 --- a/src/service/photo_api.ts +++ b/src/service/photo_api.ts @@ -155,7 +155,6 @@ export const likeImage = async (imageId: string) => { export const getGalleryData = async (page: number, category: string, tag: string, sort: string) => { const token = sessionStorage.getItem('AccessToken'); - // Construct the URL with optional query parameters const url = new URL(`${BASE_URL}/gallery`); url.searchParams.append('page', page.toString()); if (category && category !== 'all') url.searchParams.append('categoryName', category);