diff --git a/README.md b/README.md index 736887d..ecff35a 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,23 @@ generate 를 진행해야 로컬에 연결 파일들이 생성이되고 pull pus const cache = useQueryClient() const data = cache.getQueryData(['user', 'info']) as UserState ``` + +# 팝업 컨트롤러 제어 + +### open + +``` +const popupController = usePopupController() + +onClick={() => popupController.setMemberInfomationPopup(true)} +onClick={() => popupController.setZipCodePopup(true)} +``` + +### close + +``` +const popupController = usePopupController() + +onClick={() => popupController.setMemberInfomationPopup(false)} +onClick={() => popupController.setZipCodePopup(false)} +``` diff --git a/package-lock.json b/package-lock.json index 7d92c17..8d9b4a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "react-dom": "^19.0.0", "react-to-pdf": "^2.0.0", "sass": "^1.87.0", + "swiper": "^11.2.6", "zustand": "^5.0.3" }, "devDependencies": { @@ -3947,6 +3948,25 @@ "node": ">=12.0.0" } }, + "node_modules/swiper": { + "version": "11.2.6", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-11.2.6.tgz", + "integrity": "sha512-8aXpYKtjy3DjcbzZfz+/OX/GhcU5h+looA6PbAzHMZT6ESSycSp9nAjPCenczgJyslV+rUGse64LMGpWE3PX9Q==", + "funding": [ + { + "type": "patreon", + "url": "https://www.patreon.com/swiperjs" + }, + { + "type": "open_collective", + "url": "http://opencollective.com/swiper" + } + ], + "license": "MIT", + "engines": { + "node": ">= 4.7.0" + } + }, "node_modules/tailwindcss": { "version": "4.0.17", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.0.17.tgz", diff --git a/src/app/@floatBtn/default.tsx b/src/app/@floatBtn/default.tsx new file mode 100644 index 0000000..32ec252 --- /dev/null +++ b/src/app/@floatBtn/default.tsx @@ -0,0 +1,5 @@ +import FloatBtn from '@/components/ui/common/FloatBtn' + +export default function page() { + return +} diff --git a/src/app/@footer/default.tsx b/src/app/@footer/default.tsx new file mode 100644 index 0000000..7496ca7 --- /dev/null +++ b/src/app/@footer/default.tsx @@ -0,0 +1,5 @@ +import Footer from '@/components/ui/common/Footer' + +export default function page() { + return