diff --git a/src/components/home/AvailableRoom.tsx b/src/components/home/AvailableRoom.tsx index af78a4e..7f8daa9 100644 --- a/src/components/home/AvailableRoom.tsx +++ b/src/components/home/AvailableRoom.tsx @@ -7,7 +7,7 @@ import { getAllAvailableCount } from './remote/mainReservation'; import { useRouter } from 'next/router'; import { getSelectedOfficeInfo } from '@/api/map/getSelectedOffice'; import { useBranchStore2 } from '@/store/reserve.store'; - +import Image from 'next/image'; const AvailableRoom = () => { const router = useRouter(); const queryClient = useQueryClient(); @@ -41,7 +41,7 @@ const AvailableRoom = () => { if (data.data) { setReservedBranch(data?.data, Date.now()); router.push({ - pathname: '/reservation', + pathname: '/reservation' }); } } catch (error) { @@ -69,7 +69,7 @@ const AvailableRoom = () => { ]); setCurrentTime(format(new Date(), 'HH:mm')); }}> - + refresh @@ -78,7 +78,7 @@ const AvailableRoom = () => {
- + M_Room
미팅룸
@@ -88,7 +88,7 @@ const AvailableRoom = () => {
- + slash
{data?.totalMeetingRoomCount} @@ -98,7 +98,7 @@ const AvailableRoom = () => {
- + R_Room
리차징룸
@@ -108,7 +108,7 @@ const AvailableRoom = () => {
- + slash
{data?.totalRechargingRoomCount} @@ -118,7 +118,7 @@ const AvailableRoom = () => {
- + G_Room
포커스존
@@ -128,7 +128,7 @@ const AvailableRoom = () => {
- + slash
{data?.totalFocusDeskCount} @@ -139,7 +139,8 @@ const AvailableRoom = () => { {/* 하단 */}
+ className="cursor-pointer mt-8 rounded-lg w-full h-12 border-2 border-space-purple flex justify-center items-center text-space-purple text-[15px] font-semibold" + onClick={handleGoToReservation}> 예약하기
diff --git a/src/components/home/CurrentOffice.tsx b/src/components/home/CurrentOffice.tsx index d32c570..a5e6346 100644 --- a/src/components/home/CurrentOffice.tsx +++ b/src/components/home/CurrentOffice.tsx @@ -5,7 +5,7 @@ import SelectOfficeMap from './SelectOfficeMap'; import { Branch } from '@/api/types/branch'; import { useBranchStore } from '@/store/branch.store'; import { useIsCurrentBranch } from '@/store/isCurrentBranch.store'; - +import Image from 'next/image'; const CurrentOffice = () => { const [showSearchModal, setShowSearchModal] = useState(false); const [showSelectOfficeMap, setShowSelectOfficeMap] = useState(false); @@ -54,7 +54,13 @@ const CurrentOffice = () => {
지금 이용중인 곳은
- + map
{ {!isCurrent ? (
- + map
이 지점이 맞나요? diff --git a/src/components/home/MainHeader.tsx b/src/components/home/MainHeader.tsx index 9cb0165..068170b 100644 --- a/src/components/home/MainHeader.tsx +++ b/src/components/home/MainHeader.tsx @@ -1,21 +1,32 @@ 'use client'; import { useRouter } from 'next/router'; import React from 'react'; - +import Image from 'next/image'; const MainHeader = () => { const router = useRouter(); return (
- + logo
router.push('mypage/question')}> - + inquiry
router.push('/notification')}> - + notification
diff --git a/src/components/home/OfficeNotice.tsx b/src/components/home/OfficeNotice.tsx index 28afdda..e951d3c 100644 --- a/src/components/home/OfficeNotice.tsx +++ b/src/components/home/OfficeNotice.tsx @@ -3,7 +3,7 @@ import { useNotices } from '@/hook/useNotices'; import { getSelectedOfficeInfo } from '@/api/map/getSelectedOffice'; import { useBranchStore } from '@/store/branch.store'; import { useRouter } from 'next/router'; - +import Image from 'next/image'; const OfficeNotice: React.FC = () => { const { urgentNoticeTitle, urgentNoticeContent } = useNotices(); const selectedBranch = useBranchStore((state) => state.selectedBranch); @@ -44,7 +44,13 @@ const OfficeNotice: React.FC = () => { className=" cursor-pointer w-full h-12 mt-7 flex items-center gap-[13px] px-[13px] py-[14px] rounded shadow border border-gray-200" style={{ backgroundColor: 'rgb(228, 224, 245)' }}>
- + map
@@ -53,7 +59,13 @@ const OfficeNotice: React.FC = () => {
{urgentNoticeContent && (
- + map
)}
diff --git a/src/components/home/weekSchedule/WeekSchedule.tsx b/src/components/home/weekSchedule/WeekSchedule.tsx index cd4353f..ce461ba 100644 --- a/src/components/home/weekSchedule/WeekSchedule.tsx +++ b/src/components/home/weekSchedule/WeekSchedule.tsx @@ -4,7 +4,7 @@ import { format, startOfWeek, addDays, isSaturday, isSunday, isSameDay } from 'd import { ko } from 'date-fns/locale'; import { useRouter } from 'next/router'; import dynamic from 'next/dynamic'; - +import Image from 'next/image'; const WeekScheduleItem = dynamic(() => import('./WeekScheduleItem'), { loading: () =>
}); @@ -32,7 +32,7 @@ const WeekSchedule = () => { className="text-gray-500 text-sm font-normal "> 전체보기
- + toNext
{/* 주차별 캘린더 */} diff --git a/src/components/layout/footer/Footer.tsx b/src/components/layout/footer/Footer.tsx index e521aa8..9432c23 100644 --- a/src/components/layout/footer/Footer.tsx +++ b/src/components/layout/footer/Footer.tsx @@ -19,7 +19,7 @@ const Footer = () => {