From 374d386712ed18a24beb54ecf82bbb609ad76074 Mon Sep 17 00:00:00 2001 From: JAEMOON Date: Tue, 10 Oct 2023 23:55:20 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20Liked=20page=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/liked/index.tsx | 72 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 61 insertions(+), 11 deletions(-) diff --git a/pages/liked/index.tsx b/pages/liked/index.tsx index 2c07c86..f0821c0 100644 --- a/pages/liked/index.tsx +++ b/pages/liked/index.tsx @@ -1,23 +1,73 @@ -/* eslint-disable react/no-children-prop */ +/* eslint-disable react/no-unstable-nested-components */ import React from 'react'; +import NoPosting from '@/public/icons/noPosting.svg'; +import Step1 from '@/pages/room/addRoom/step1.tsx'; +import useModal from '@/hooks/useModal'; import DefaultLayout from '@/components/layouts/DefaultLayout'; -import Nav from '@/components/Nav/Nav'; +// import { useRouter } from 'next/router'; -export default function Liked() { - return ( -
-
-
-
- ); + ); + }; + + /** + * 룸이 있을 때 보여주는 Component (TODO : 구체화 해줘야함) + */ + const MyLiked = () => { + return
호이호이
; + }; + return (roomInfo || []).length === 0 ? : ; } Liked.getLayout = function getLayout(page: React.ReactElement) { const handleGoBack = () => { window.history.back(); }; - return ; + return ( + + {page} + + ); };