33import { useState } from "react" ;
44
55import { useQuery } from "@tanstack/react-query" ;
6+ import { ChevronLeft } from "lucide-react" ;
67import { useParams , useRouter } from "next/navigation" ;
78
89import ExpandableText from "@/components/archive-detail/ExpandableText" ;
@@ -11,8 +12,8 @@ import NicknameCard from "@/components/archive-detail/NicknameCard";
1112import SizeText from "@/components/archive-detail/SizeText" ;
1213import { useCreateChatRoom } from "@/hooks/useCreateChatRoom" ;
1314import { getSpaceDetail } from "@/services/spaces" ;
14- import { normalizeImageUrl } from "@/utils/normalizeImageUrl" ;
1515import { useAuthStore } from "@/stores/useAuthStore" ;
16+ import { normalizeImageUrl } from "@/utils/normalizeImageUrl" ;
1617
1718function hasText ( value ?: string | null ) {
1819 return Boolean ( value ?. trim ( ) ) ;
@@ -70,14 +71,14 @@ export default function SpaceDetailPage() {
7071
7172 return (
7273 < div className = "min-h-screen bg-white pb-32" >
73- < header className = "fixed top-0 right-0 left-0 z-50 flex h-15 w-full min-w-[320px] px-4 " >
74- < div className = "flex items-center" >
74+ < header className = "pointer-events-none fixed top-0 right-0 left-0 z-50 h-15 min-w-[320px]" >
75+ < div className = "mx-auto flex h-full w-full max-w-97.5 items-center px-4 " >
7576 < button
7677 aria-label = "뒤로가기"
7778 onClick = { ( ) => router . back ( ) }
78- className = "flex cursor-pointer items-center font-bold text-white drop-shadow-md "
79+ className = "pointer-events-auto -ml-2 flex h-11 w-11 cursor-pointer items-center justify-center rounded-full text-white drop-shadow-[0_1px_2px_rgba(0,0,0,0.55)] "
7980 >
80- ←
81+ < ChevronLeft size = { 28 } strokeWidth = { 2.5 } />
8182 </ button >
8283 </ div >
8384 </ header >
0 commit comments