From 34072d1fcc6046e8675143ec098d15fb6bfe38b3 Mon Sep 17 00:00:00 2001 From: daejlee Date: Thu, 19 Sep 2024 13:49:57 +0900 Subject: [PATCH 01/12] Chore: path in lowercase --- src/components/Cards/MyProfileCard.tsx | 6 +++--- src/components/Cards/ProfileCard.tsx | 4 ++-- src/components/Cards/SearchedCard.tsx | 2 +- src/components/Groups.tsx | 12 ++++++------ src/components/Header.tsx | 4 ++-- src/components/Modals/CustomLocationModal.tsx | 4 ++-- src/components/Modals/GroupSettingModal.tsx | 2 +- src/components/Modals/MySettingModal.tsx | 4 ++-- src/components/Modals/NewGroupModal.tsx | 2 +- src/components/Modals/SearchModal.tsx | 4 ++-- src/pages/index.tsx | 6 +++--- src/pages/login-fail/index.tsx | 2 +- src/pages/login/index.tsx | 2 +- 13 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/components/Cards/MyProfileCard.tsx b/src/components/Cards/MyProfileCard.tsx index 682298d..0f2bceb 100644 --- a/src/components/Cards/MyProfileCard.tsx +++ b/src/components/Cards/MyProfileCard.tsx @@ -3,9 +3,9 @@ import { Button } from '@/components/ui/button'; import { Checkbox } from '@/components/ui/checkbox'; import { User } from '@/types/User'; import { useCheckedStore } from '@/lib/stores'; -import NewGroupModal from '../Modals/NewGroupModal'; -import MySettingModal from '../Modals/MySettingModal'; -import CustomLocationModal from '../Modals/CustomLocationModal'; +import NewGroupModal from '../modals/NewGroupModal'; +import MySettingModal from '../modals/MySettingModal'; +import CustomLocationModal from '../modals/CustomLocationModal'; import ProfilePic from '@/components/ProfilePic'; export default function MyProfileCard({ user }: { user: User }) { diff --git a/src/components/Cards/ProfileCard.tsx b/src/components/Cards/ProfileCard.tsx index 7702cfe..8de9e68 100644 --- a/src/components/Cards/ProfileCard.tsx +++ b/src/components/Cards/ProfileCard.tsx @@ -3,9 +3,9 @@ import ProfilePic from '@/components/ProfilePic'; import { User } from '@/types/User'; import { useCheckedUsersStore } from '@/lib/stores'; import { Checkbox } from '../ui/checkbox'; -import UserSettingModal from '../Modals/UserSettingModal'; +import UserSettingModal from '../modals/UserSettingModal'; import Group from '@/types/Group'; -import LocationBtn from '../Buttons/LocationBtn'; +import LocationBtn from '../buttons/LocationBtn'; export default function ProfileCard({ user, diff --git a/src/components/Cards/SearchedCard.tsx b/src/components/Cards/SearchedCard.tsx index ef6019e..e188ba6 100644 --- a/src/components/Cards/SearchedCard.tsx +++ b/src/components/Cards/SearchedCard.tsx @@ -7,7 +7,7 @@ import { useAddedMembersStore, useGroupsStore, } from '@/lib/stores'; -import LocationBtn from '../Buttons/LocationBtn'; +import LocationBtn from '../buttons/LocationBtn'; import { useToast } from '@/components/ui/use-toast'; import ProfilePic from '@/components/ProfilePic'; diff --git a/src/components/Groups.tsx b/src/components/Groups.tsx index a2960a0..737be67 100644 --- a/src/components/Groups.tsx +++ b/src/components/Groups.tsx @@ -5,19 +5,19 @@ import { AccordionItem, AccordionTrigger, } from '@/components/ui/accordion'; -import Divider from '@/components/Utils/Divider'; -import ProfileCard from '@/components/Cards/ProfileCard'; +import Divider from '@/components/utils/Divider'; +import ProfileCard from '@/components/cards/ProfileCard'; import Group from '@/types/Group'; import { useCheckedStore, useCheckedUsersStore, useGroupsStore, } from '@/lib/stores'; -import GroupSettingModal from './Modals/GroupSettingModal'; +import GroupSettingModal from './modals/GroupSettingModal'; import { Button } from './ui/button'; -import GroupDeleteModal from './Modals/GroupDeleteModal'; -import GroupAddModal from './Modals/GroupAddModal'; -import CardSkeleton from './Utils/CardSkeleton'; +import GroupDeleteModal from './modals/GroupDeleteModal'; +import GroupAddModal from './modals/GroupAddModal'; +import CardSkeleton from './utils/CardSkeleton'; export default function Groups({ groups }: { groups: Group[] }) { const { setGroups } = useGroupsStore(); diff --git a/src/components/Header.tsx b/src/components/Header.tsx index cdae505..a55b478 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -1,8 +1,8 @@ import React from 'react'; import Image from 'next/image'; import { useRouter } from 'next/router'; -import SearchModal from '@/components/Modals/SearchModal'; -import LogoutBtn from '@/components/Buttons/LogoutBtn'; +import SearchModal from '@/components/modals/SearchModal'; +import LogoutBtn from '@/components/buttons/LogoutBtn'; export default function Header() { const router = useRouter(); diff --git a/src/components/Modals/CustomLocationModal.tsx b/src/components/Modals/CustomLocationModal.tsx index 6c1e338..372315d 100644 --- a/src/components/Modals/CustomLocationModal.tsx +++ b/src/components/Modals/CustomLocationModal.tsx @@ -1,8 +1,8 @@ import React from 'react'; import { Dialog, DialogTrigger } from '@/components/ui/dialog'; import { useUserStore } from '@/lib/stores'; -import LocationBtn from '../Buttons/LocationBtn'; -import CustomLocationContent from '../Utils/CustomLocationContent'; +import LocationBtn from '../buttons/LocationBtn'; +import CustomLocationContent from '../utils/CustomLocationContent'; export default function CustomLocationModal() { const { user } = useUserStore(); diff --git a/src/components/Modals/GroupSettingModal.tsx b/src/components/Modals/GroupSettingModal.tsx index 05d559c..50e5553 100644 --- a/src/components/Modals/GroupSettingModal.tsx +++ b/src/components/Modals/GroupSettingModal.tsx @@ -19,7 +19,7 @@ import { useGroupsStore, useUserStore } from '@/lib/stores'; import { Button } from '@/components/ui/button'; import Group from '@/types/Group'; import { useToast } from '@/components/ui/use-toast'; -import GroupSettingBtn from '@/components/Buttons/GroupSettingBtn'; +import GroupSettingBtn from '@/components/buttons/GroupSettingBtn'; import { Tooltip, TooltipContent, diff --git a/src/components/Modals/MySettingModal.tsx b/src/components/Modals/MySettingModal.tsx index 2e25ed2..b3ddb49 100644 --- a/src/components/Modals/MySettingModal.tsx +++ b/src/components/Modals/MySettingModal.tsx @@ -15,8 +15,8 @@ import { DropdownMenuItem, } from '@/components/ui/dropdown-menu'; import { useUserStore } from '@/lib/stores'; -import CustomLocationContent from '@/components/Utils/CustomLocationContent'; -import SettingBtn from '@/components/Buttons/MySettingBtn'; +import CustomLocationContent from '@/components/utils/CustomLocationContent'; +import SettingBtn from '@/components/buttons/MySettingBtn'; export default function MySettingModal() { const [isMessage, setIsMessage] = React.useState(false); diff --git a/src/components/Modals/NewGroupModal.tsx b/src/components/Modals/NewGroupModal.tsx index bea6299..83a7228 100644 --- a/src/components/Modals/NewGroupModal.tsx +++ b/src/components/Modals/NewGroupModal.tsx @@ -24,7 +24,7 @@ import groupApi from '@/api/groupApi'; import Group from '@/types/Group'; import { useToast } from '@/components/ui/use-toast'; import { SearchedUser, User } from '@/types/User'; -import SearchedCard from '@/components/Cards/SearchedCard'; +import SearchedCard from '@/components/cards/SearchedCard'; export default function NewGroupModal() { const { groups, setGroups } = useGroupsStore(); diff --git a/src/components/Modals/SearchModal.tsx b/src/components/Modals/SearchModal.tsx index d22890d..eb23ff0 100644 --- a/src/components/Modals/SearchModal.tsx +++ b/src/components/Modals/SearchModal.tsx @@ -2,8 +2,8 @@ import React from 'react'; import Image from 'next/image'; import { X } from 'lucide-react'; import { z } from 'zod'; -import SearchedCard from '@/components/Cards/SearchedCard'; -import SearchBtn from '@/components/Buttons/SearchBtn'; +import SearchedCard from '@/components/cards/SearchedCard'; +import SearchBtn from '@/components/buttons/SearchBtn'; import { Dialog, DialogContent, diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 52c716a..5335ed0 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,18 +1,18 @@ import { useState, useEffect } from 'react'; import { useRouter } from 'next/router'; import Header from '@/components/Header'; -import MyProfileCard from '@/components/Cards/MyProfileCard'; +import MyProfileCard from '@/components/cards/MyProfileCard'; import Groups from '@/components/Groups'; import Footer from '@/components/Footer'; import authApi from '@/api/authApi'; import groupApi from '@/api/groupApi'; -import ProfileSkeleton from '@/components/Utils/ProfileSkeleton'; +import ProfileSkeleton from '@/components/utils/ProfileSkeleton'; import { useUserStore, useGroupsStore, useAddedMembersStore, } from '@/lib/stores'; -import AgreementModal from '@/components/Modals/AgreementModal'; +import AgreementModal from '@/components/modals/AgreementModal'; import Cookies from 'js-cookie'; export default function Home() { diff --git a/src/pages/login-fail/index.tsx b/src/pages/login-fail/index.tsx index 83c030d..d0014b3 100644 --- a/src/pages/login-fail/index.tsx +++ b/src/pages/login-fail/index.tsx @@ -1,6 +1,6 @@ import React from 'react'; import Image from 'next/image'; -import LoginBtn from '@/components/Buttons/LoginBtn'; +import LoginBtn from '@/components/buttons/LoginBtn'; export default function LoginFailPage() { return ( diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index 498dbc1..6341b3a 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -1,6 +1,6 @@ import React from 'react'; import Image from 'next/image'; -import LoginBtn from '@/components/Buttons/LoginBtn'; +import LoginBtn from '@/components/buttons/LoginBtn'; export default function LoginPage() { return ( From 1eb4ea94eabf6214a24fa62400d68d8de679d090 Mon Sep 17 00:00:00 2001 From: Lee Daejin Date: Thu, 19 Sep 2024 13:52:31 +0900 Subject: [PATCH 02/12] Chore: pathname in lowercase --- src/components/{Buttons => buttons}/GroupSettingBtn.tsx | 0 src/components/{Buttons => buttons}/LocationBtn.tsx | 0 src/components/{Buttons => buttons}/LoginBtn.tsx | 0 src/components/{Buttons => buttons}/LogoutBtn.tsx | 0 src/components/{Buttons => buttons}/MySettingBtn.tsx | 0 src/components/{Buttons => buttons}/SearchBtn.tsx | 0 src/components/{Cards => cards}/MyProfileCard.tsx | 0 src/components/{Cards => cards}/ProfileCard.tsx | 0 src/components/{Cards => cards}/SearchedCard.tsx | 0 src/components/{Modals => modals}/AgreementModal.tsx | 0 src/components/{Modals => modals}/CustomLocationModal.tsx | 0 src/components/{Modals => modals}/GroupAddModal.tsx | 0 src/components/{Modals => modals}/GroupDeleteModal.tsx | 0 src/components/{Modals => modals}/GroupSettingModal.tsx | 0 src/components/{Modals => modals}/MySettingModal.tsx | 0 src/components/{Modals => modals}/NewGroupModal.tsx | 0 src/components/{Modals => modals}/SearchModal.tsx | 0 src/components/{Modals => modals}/UserSettingModal.tsx | 0 src/components/{Utils => utils}/CardSkeleton.tsx | 0 src/components/{Utils => utils}/CustomLocationContent.tsx | 0 src/components/{Utils => utils}/Divider.tsx | 0 src/components/{Utils => utils}/LocationCascader.tsx | 0 src/components/{Utils => utils}/ProfileSkeleton.tsx | 0 23 files changed, 0 insertions(+), 0 deletions(-) rename src/components/{Buttons => buttons}/GroupSettingBtn.tsx (100%) rename src/components/{Buttons => buttons}/LocationBtn.tsx (100%) rename src/components/{Buttons => buttons}/LoginBtn.tsx (100%) rename src/components/{Buttons => buttons}/LogoutBtn.tsx (100%) rename src/components/{Buttons => buttons}/MySettingBtn.tsx (100%) rename src/components/{Buttons => buttons}/SearchBtn.tsx (100%) rename src/components/{Cards => cards}/MyProfileCard.tsx (100%) rename src/components/{Cards => cards}/ProfileCard.tsx (100%) rename src/components/{Cards => cards}/SearchedCard.tsx (100%) rename src/components/{Modals => modals}/AgreementModal.tsx (100%) rename src/components/{Modals => modals}/CustomLocationModal.tsx (100%) rename src/components/{Modals => modals}/GroupAddModal.tsx (100%) rename src/components/{Modals => modals}/GroupDeleteModal.tsx (100%) rename src/components/{Modals => modals}/GroupSettingModal.tsx (100%) rename src/components/{Modals => modals}/MySettingModal.tsx (100%) rename src/components/{Modals => modals}/NewGroupModal.tsx (100%) rename src/components/{Modals => modals}/SearchModal.tsx (100%) rename src/components/{Modals => modals}/UserSettingModal.tsx (100%) rename src/components/{Utils => utils}/CardSkeleton.tsx (100%) rename src/components/{Utils => utils}/CustomLocationContent.tsx (100%) rename src/components/{Utils => utils}/Divider.tsx (100%) rename src/components/{Utils => utils}/LocationCascader.tsx (100%) rename src/components/{Utils => utils}/ProfileSkeleton.tsx (100%) diff --git a/src/components/Buttons/GroupSettingBtn.tsx b/src/components/buttons/GroupSettingBtn.tsx similarity index 100% rename from src/components/Buttons/GroupSettingBtn.tsx rename to src/components/buttons/GroupSettingBtn.tsx diff --git a/src/components/Buttons/LocationBtn.tsx b/src/components/buttons/LocationBtn.tsx similarity index 100% rename from src/components/Buttons/LocationBtn.tsx rename to src/components/buttons/LocationBtn.tsx diff --git a/src/components/Buttons/LoginBtn.tsx b/src/components/buttons/LoginBtn.tsx similarity index 100% rename from src/components/Buttons/LoginBtn.tsx rename to src/components/buttons/LoginBtn.tsx diff --git a/src/components/Buttons/LogoutBtn.tsx b/src/components/buttons/LogoutBtn.tsx similarity index 100% rename from src/components/Buttons/LogoutBtn.tsx rename to src/components/buttons/LogoutBtn.tsx diff --git a/src/components/Buttons/MySettingBtn.tsx b/src/components/buttons/MySettingBtn.tsx similarity index 100% rename from src/components/Buttons/MySettingBtn.tsx rename to src/components/buttons/MySettingBtn.tsx diff --git a/src/components/Buttons/SearchBtn.tsx b/src/components/buttons/SearchBtn.tsx similarity index 100% rename from src/components/Buttons/SearchBtn.tsx rename to src/components/buttons/SearchBtn.tsx diff --git a/src/components/Cards/MyProfileCard.tsx b/src/components/cards/MyProfileCard.tsx similarity index 100% rename from src/components/Cards/MyProfileCard.tsx rename to src/components/cards/MyProfileCard.tsx diff --git a/src/components/Cards/ProfileCard.tsx b/src/components/cards/ProfileCard.tsx similarity index 100% rename from src/components/Cards/ProfileCard.tsx rename to src/components/cards/ProfileCard.tsx diff --git a/src/components/Cards/SearchedCard.tsx b/src/components/cards/SearchedCard.tsx similarity index 100% rename from src/components/Cards/SearchedCard.tsx rename to src/components/cards/SearchedCard.tsx diff --git a/src/components/Modals/AgreementModal.tsx b/src/components/modals/AgreementModal.tsx similarity index 100% rename from src/components/Modals/AgreementModal.tsx rename to src/components/modals/AgreementModal.tsx diff --git a/src/components/Modals/CustomLocationModal.tsx b/src/components/modals/CustomLocationModal.tsx similarity index 100% rename from src/components/Modals/CustomLocationModal.tsx rename to src/components/modals/CustomLocationModal.tsx diff --git a/src/components/Modals/GroupAddModal.tsx b/src/components/modals/GroupAddModal.tsx similarity index 100% rename from src/components/Modals/GroupAddModal.tsx rename to src/components/modals/GroupAddModal.tsx diff --git a/src/components/Modals/GroupDeleteModal.tsx b/src/components/modals/GroupDeleteModal.tsx similarity index 100% rename from src/components/Modals/GroupDeleteModal.tsx rename to src/components/modals/GroupDeleteModal.tsx diff --git a/src/components/Modals/GroupSettingModal.tsx b/src/components/modals/GroupSettingModal.tsx similarity index 100% rename from src/components/Modals/GroupSettingModal.tsx rename to src/components/modals/GroupSettingModal.tsx diff --git a/src/components/Modals/MySettingModal.tsx b/src/components/modals/MySettingModal.tsx similarity index 100% rename from src/components/Modals/MySettingModal.tsx rename to src/components/modals/MySettingModal.tsx diff --git a/src/components/Modals/NewGroupModal.tsx b/src/components/modals/NewGroupModal.tsx similarity index 100% rename from src/components/Modals/NewGroupModal.tsx rename to src/components/modals/NewGroupModal.tsx diff --git a/src/components/Modals/SearchModal.tsx b/src/components/modals/SearchModal.tsx similarity index 100% rename from src/components/Modals/SearchModal.tsx rename to src/components/modals/SearchModal.tsx diff --git a/src/components/Modals/UserSettingModal.tsx b/src/components/modals/UserSettingModal.tsx similarity index 100% rename from src/components/Modals/UserSettingModal.tsx rename to src/components/modals/UserSettingModal.tsx diff --git a/src/components/Utils/CardSkeleton.tsx b/src/components/utils/CardSkeleton.tsx similarity index 100% rename from src/components/Utils/CardSkeleton.tsx rename to src/components/utils/CardSkeleton.tsx diff --git a/src/components/Utils/CustomLocationContent.tsx b/src/components/utils/CustomLocationContent.tsx similarity index 100% rename from src/components/Utils/CustomLocationContent.tsx rename to src/components/utils/CustomLocationContent.tsx diff --git a/src/components/Utils/Divider.tsx b/src/components/utils/Divider.tsx similarity index 100% rename from src/components/Utils/Divider.tsx rename to src/components/utils/Divider.tsx diff --git a/src/components/Utils/LocationCascader.tsx b/src/components/utils/LocationCascader.tsx similarity index 100% rename from src/components/Utils/LocationCascader.tsx rename to src/components/utils/LocationCascader.tsx diff --git a/src/components/Utils/ProfileSkeleton.tsx b/src/components/utils/ProfileSkeleton.tsx similarity index 100% rename from src/components/Utils/ProfileSkeleton.tsx rename to src/components/utils/ProfileSkeleton.tsx From 2b0e18e889d46fc7555197b5094b48ee36330f70 Mon Sep 17 00:00:00 2001 From: daejlee Date: Thu, 19 Sep 2024 14:18:43 +0900 Subject: [PATCH 03/12] Chore: Images sorted --- public/{Icons => image}/burgerMenu.svg | 0 public/{Icons/Checkbox => image/checkbox}/check.svg | 0 public/{Icons/Checkbox => image/checkbox}/hover.svg | 0 .../{Icons/Checkbox => image/checkbox}/uncheck.svg | 0 public/{Icons => image/cross}/cross.svg | 0 public/{Icons => image/cross}/crossSmall.svg | 0 public/{Icons => image/cross}/plus.svg | 0 public/{Icons => image/cross}/plusSmall.svg | 0 public/{Icons => image/fill}/bottom.png | Bin public/{Icons => image/fill}/left.png | Bin public/{Icons => image}/foldAngleDown.svg | 0 public/{Icons => image}/foldAngleUp.svg | 0 public/{Icons => image}/functionButton.svg | 0 public/{Icons => image}/help.svg | 0 public/{Icons => image/logo}/logo.svg | 0 public/{Icons => image/logo}/logoB.svg | 0 public/{Icons => image/logo}/logoC.svg | 0 public/{Icons => image}/newGroup.svg | 0 public/{Icons => image}/pencil.svg | 0 public/{Icons => image}/search.svg | 0 public/{Icons => image}/setting.svg | 0 public/{Icons => image}/signOut.svg | 0 public/{Icons => image}/thumbtack.svg | 0 public/{Icons => image/user}/user.svg | 0 public/{Icons => image/user}/userAdd.svg | 0 public/{Icons => image/user}/userDelete.svg | 0 public/{Icons => image/user}/userRemove.svg | 0 src/components/Footer.tsx | 2 +- src/components/Header.tsx | 2 +- src/components/buttons/GroupSettingBtn.tsx | 2 +- src/components/buttons/LogoutBtn.tsx | 2 +- src/components/buttons/MySettingBtn.tsx | 2 +- src/components/buttons/SearchBtn.tsx | 2 +- src/components/cards/SearchedCard.tsx | 2 +- src/components/modals/GroupSettingModal.tsx | 8 -------- src/components/modals/NewGroupModal.tsx | 4 ++-- src/components/modals/SearchModal.tsx | 2 +- src/components/modals/UserSettingModal.tsx | 2 +- src/pages/404.tsx | 6 +++--- src/pages/login-fail/index.tsx | 6 +++--- src/pages/login/index.tsx | 6 +++--- 41 files changed, 20 insertions(+), 28 deletions(-) rename public/{Icons => image}/burgerMenu.svg (100%) rename public/{Icons/Checkbox => image/checkbox}/check.svg (100%) rename public/{Icons/Checkbox => image/checkbox}/hover.svg (100%) rename public/{Icons/Checkbox => image/checkbox}/uncheck.svg (100%) rename public/{Icons => image/cross}/cross.svg (100%) rename public/{Icons => image/cross}/crossSmall.svg (100%) rename public/{Icons => image/cross}/plus.svg (100%) rename public/{Icons => image/cross}/plusSmall.svg (100%) rename public/{Icons => image/fill}/bottom.png (100%) rename public/{Icons => image/fill}/left.png (100%) rename public/{Icons => image}/foldAngleDown.svg (100%) rename public/{Icons => image}/foldAngleUp.svg (100%) rename public/{Icons => image}/functionButton.svg (100%) rename public/{Icons => image}/help.svg (100%) rename public/{Icons => image/logo}/logo.svg (100%) rename public/{Icons => image/logo}/logoB.svg (100%) rename public/{Icons => image/logo}/logoC.svg (100%) rename public/{Icons => image}/newGroup.svg (100%) rename public/{Icons => image}/pencil.svg (100%) rename public/{Icons => image}/search.svg (100%) rename public/{Icons => image}/setting.svg (100%) rename public/{Icons => image}/signOut.svg (100%) rename public/{Icons => image}/thumbtack.svg (100%) rename public/{Icons => image/user}/user.svg (100%) rename public/{Icons => image/user}/userAdd.svg (100%) rename public/{Icons => image/user}/userDelete.svg (100%) rename public/{Icons => image/user}/userRemove.svg (100%) diff --git a/public/Icons/burgerMenu.svg b/public/image/burgerMenu.svg similarity index 100% rename from public/Icons/burgerMenu.svg rename to public/image/burgerMenu.svg diff --git a/public/Icons/Checkbox/check.svg b/public/image/checkbox/check.svg similarity index 100% rename from public/Icons/Checkbox/check.svg rename to public/image/checkbox/check.svg diff --git a/public/Icons/Checkbox/hover.svg b/public/image/checkbox/hover.svg similarity index 100% rename from public/Icons/Checkbox/hover.svg rename to public/image/checkbox/hover.svg diff --git a/public/Icons/Checkbox/uncheck.svg b/public/image/checkbox/uncheck.svg similarity index 100% rename from public/Icons/Checkbox/uncheck.svg rename to public/image/checkbox/uncheck.svg diff --git a/public/Icons/cross.svg b/public/image/cross/cross.svg similarity index 100% rename from public/Icons/cross.svg rename to public/image/cross/cross.svg diff --git a/public/Icons/crossSmall.svg b/public/image/cross/crossSmall.svg similarity index 100% rename from public/Icons/crossSmall.svg rename to public/image/cross/crossSmall.svg diff --git a/public/Icons/plus.svg b/public/image/cross/plus.svg similarity index 100% rename from public/Icons/plus.svg rename to public/image/cross/plus.svg diff --git a/public/Icons/plusSmall.svg b/public/image/cross/plusSmall.svg similarity index 100% rename from public/Icons/plusSmall.svg rename to public/image/cross/plusSmall.svg diff --git a/public/Icons/bottom.png b/public/image/fill/bottom.png similarity index 100% rename from public/Icons/bottom.png rename to public/image/fill/bottom.png diff --git a/public/Icons/left.png b/public/image/fill/left.png similarity index 100% rename from public/Icons/left.png rename to public/image/fill/left.png diff --git a/public/Icons/foldAngleDown.svg b/public/image/foldAngleDown.svg similarity index 100% rename from public/Icons/foldAngleDown.svg rename to public/image/foldAngleDown.svg diff --git a/public/Icons/foldAngleUp.svg b/public/image/foldAngleUp.svg similarity index 100% rename from public/Icons/foldAngleUp.svg rename to public/image/foldAngleUp.svg diff --git a/public/Icons/functionButton.svg b/public/image/functionButton.svg similarity index 100% rename from public/Icons/functionButton.svg rename to public/image/functionButton.svg diff --git a/public/Icons/help.svg b/public/image/help.svg similarity index 100% rename from public/Icons/help.svg rename to public/image/help.svg diff --git a/public/Icons/logo.svg b/public/image/logo/logo.svg similarity index 100% rename from public/Icons/logo.svg rename to public/image/logo/logo.svg diff --git a/public/Icons/logoB.svg b/public/image/logo/logoB.svg similarity index 100% rename from public/Icons/logoB.svg rename to public/image/logo/logoB.svg diff --git a/public/Icons/logoC.svg b/public/image/logo/logoC.svg similarity index 100% rename from public/Icons/logoC.svg rename to public/image/logo/logoC.svg diff --git a/public/Icons/newGroup.svg b/public/image/newGroup.svg similarity index 100% rename from public/Icons/newGroup.svg rename to public/image/newGroup.svg diff --git a/public/Icons/pencil.svg b/public/image/pencil.svg similarity index 100% rename from public/Icons/pencil.svg rename to public/image/pencil.svg diff --git a/public/Icons/search.svg b/public/image/search.svg similarity index 100% rename from public/Icons/search.svg rename to public/image/search.svg diff --git a/public/Icons/setting.svg b/public/image/setting.svg similarity index 100% rename from public/Icons/setting.svg rename to public/image/setting.svg diff --git a/public/Icons/signOut.svg b/public/image/signOut.svg similarity index 100% rename from public/Icons/signOut.svg rename to public/image/signOut.svg diff --git a/public/Icons/thumbtack.svg b/public/image/thumbtack.svg similarity index 100% rename from public/Icons/thumbtack.svg rename to public/image/thumbtack.svg diff --git a/public/Icons/user.svg b/public/image/user/user.svg similarity index 100% rename from public/Icons/user.svg rename to public/image/user/user.svg diff --git a/public/Icons/userAdd.svg b/public/image/user/userAdd.svg similarity index 100% rename from public/Icons/userAdd.svg rename to public/image/user/userAdd.svg diff --git a/public/Icons/userDelete.svg b/public/image/user/userDelete.svg similarity index 100% rename from public/Icons/userDelete.svg rename to public/image/user/userDelete.svg diff --git a/public/Icons/userRemove.svg b/public/image/user/userRemove.svg similarity index 100% rename from public/Icons/userRemove.svg rename to public/image/user/userRemove.svg diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 4c5083c..4294e60 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -23,7 +23,7 @@ export default function Footer() { > logo logo pencil search setting search userAdd(false); diff --git a/src/components/modals/NewGroupModal.tsx b/src/components/modals/NewGroupModal.tsx index 83a7228..24f8266 100644 --- a/src/components/modals/NewGroupModal.tsx +++ b/src/components/modals/NewGroupModal.tsx @@ -71,7 +71,7 @@ export default function NewGroupModal() { text-l lg:text-xl text-[#132743] font-gsansMd hover:bg-gray-200 gap-2 w-30 h-8 lg:w-30 lg:h-10' > newGroup search카뎃 검색
- search + search
function
left
logo
- bottom + bottom
); diff --git a/src/pages/login-fail/index.tsx b/src/pages/login-fail/index.tsx index d0014b3..c383f83 100644 --- a/src/pages/login-fail/index.tsx +++ b/src/pages/login-fail/index.tsx @@ -7,7 +7,7 @@ export default function LoginFailPage() {
left */}
logo
- bottom + bottom
diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index 6341b3a..ba0fe0e 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -7,7 +7,7 @@ export default function LoginPage() {
left
logo
- bottom + bottom
From 03d010ad7acfa3a8b3d91dda51a04ce6e59e6b4c Mon Sep 17 00:00:00 2001 From: daejlee Date: Thu, 19 Sep 2024 15:06:41 +0900 Subject: [PATCH 04/12] Chore: config trimmed --- .eslintrc.json | 16 +- .prettierrc.json | 4 + package-lock.json | 449 ++++++++++++++++++++++++++++++++-------------- package.json | 4 + tsconfig.json | 7 +- 5 files changed, 346 insertions(+), 134 deletions(-) create mode 100644 .prettierrc.json diff --git a/.eslintrc.json b/.eslintrc.json index 957cd15..cabab16 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,17 @@ { - "extends": ["next/core-web-vitals"] + "extends": [ + "prettier", + "airbnb", + "airbnb-typescript", + "plugin:storybook/recommended" + ], + "plugins": [ + "prettier" + ], + "rules": { + "prettier/prettier": "error" + }, + "parserOptions": { + "project": "./tsconfig.json" + } } diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..7388628 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,4 @@ +{ + "plugins": ["prettier-plugin-tailwindcss"], + "tailwindPreserveWhitespace": true +} diff --git a/package-lock.json b/package-lock.json index dfb897f..b436999 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,10 +50,14 @@ "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-next": "14.1.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.8.0", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", + "prettier": "^3.3.3", + "prettier-plugin-tailwindcss": "^0.6.6", "tailwindcss": "^3.3.0", "typescript": "^5" } @@ -96,9 +100,9 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", - "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "version": "4.11.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.1.tgz", + "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -150,35 +154,35 @@ } }, "node_modules/@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@floating-ui/core": { - "version": "1.6.7", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.7.tgz", - "integrity": "sha512-yDzVT/Lm101nQ5TCVeK65LtdN7Tj4Qpr9RTXJ2vPFLqtLxwOrpoxAHAJI8J3yYWUc40J0BDBheaitK5SJmno2g==", + "version": "1.6.8", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.8.tgz", + "integrity": "sha512-7XJ9cPU+yI2QeLS+FCSlqNFZJq8arvswefkZrYI1yQBbftw6FyrZOxYSh+9S7z7TpeWlRt9zJ5IhM1WIL334jA==", "dependencies": { - "@floating-ui/utils": "^0.2.7" + "@floating-ui/utils": "^0.2.8" } }, "node_modules/@floating-ui/dom": { - "version": "1.6.10", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.10.tgz", - "integrity": "sha512-fskgCFv8J8OamCmyun8MfjB1Olfn+uZKjOKZ0vhYF3gRmEUXcGOjxWL8bBr7i4kIuPZ2KD2S3EUIOxnjC8kl2A==", + "version": "1.6.11", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.11.tgz", + "integrity": "sha512-qkMCxSR24v2vGkhYDo/UzxfJN3D4syqSjyuTFz6C7XcpU1pASPRieNI0Kj5VP3/503mOfYiGY891ugBX1GlABQ==", "dependencies": { "@floating-ui/core": "^1.6.0", - "@floating-ui/utils": "^0.2.7" + "@floating-ui/utils": "^0.2.8" } }, "node_modules/@floating-ui/react-dom": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.1.tgz", - "integrity": "sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.2.tgz", + "integrity": "sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==", "dependencies": { "@floating-ui/dom": "^1.0.0" }, @@ -188,18 +192,18 @@ } }, "node_modules/@floating-ui/utils": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.7.tgz", - "integrity": "sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==" + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.8.tgz", + "integrity": "sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==" }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", "deprecated": "Use @eslint/config-array instead", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", + "@humanwhocodes/object-schema": "^2.0.3", "debug": "^4.3.1", "minimatch": "^3.0.5" }, @@ -266,9 +270,9 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "engines": { "node": ">=12" }, @@ -334,9 +338,9 @@ } }, "node_modules/@next/env": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.8.tgz", - "integrity": "sha512-L44a+ynqkolyNBnYfF8VoCiSrjSZWgEHYKkKLGcs/a80qh7AkfVUD/MduVPgdsWZ31tgROR+yJRA0PZjSVBXWQ==" + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.12.tgz", + "integrity": "sha512-3fP29GIetdwVIfIRyLKM7KrvJaqepv+6pVodEbx0P5CaMLYBtx+7eEg8JYO5L9sveJO87z9eCReceZLi0hxO1Q==" }, "node_modules/@next/eslint-plugin-next": { "version": "14.1.0", @@ -348,9 +352,9 @@ } }, "node_modules/@next/swc-darwin-arm64": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.8.tgz", - "integrity": "sha512-1VrQlG8OzdyvvGZhGJFnaNE2P10Jjy/2FopnqbY0nSa/gr8If3iINxvOEW3cmVeoAYkmW0RsBazQecA2dBFOSw==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.12.tgz", + "integrity": "sha512-crHJ9UoinXeFbHYNok6VZqjKnd8rTd7K3Z2zpyzF1ch7vVNKmhjv/V7EHxep3ILoN8JB9AdRn/EtVVyG9AkCXw==", "cpu": [ "arm64" ], @@ -363,9 +367,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.8.tgz", - "integrity": "sha512-87t3I86rNRSOJB1gXIUzaQWWSWrkWPDyZGsR0Z7JAPtLeX3uUOW2fHxl7dNWD2BZvbvftctTQjgtfpp7nMtmWg==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.12.tgz", + "integrity": "sha512-JbEaGbWq18BuNBO+lCtKfxl563Uw9oy2TodnN2ioX00u7V1uzrsSUcg3Ep9ce+P0Z9es+JmsvL2/rLphz+Frcw==", "cpu": [ "x64" ], @@ -378,9 +382,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.8.tgz", - "integrity": "sha512-ta2sfVzbOpTbgBrF9HM5m+U58dv6QPuwU4n5EX4LLyCJGKc433Z0D9h9gay/HSOjLEXJ2fJYrMP5JYYbHdxhtw==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.12.tgz", + "integrity": "sha512-qBy7OiXOqZrdp88QEl2H4fWalMGnSCrr1agT/AVDndlyw2YJQA89f3ttR/AkEIP9EkBXXeGl6cC72/EZT5r6rw==", "cpu": [ "arm64" ], @@ -393,9 +397,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.8.tgz", - "integrity": "sha512-+IoLTPK6Z5uIgDhgeWnQF5/o5GBN7+zyUNrs4Bes1W3g9++YELb8y0unFybS8s87ntAKMDl6jeQ+mD7oNwp/Ng==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.12.tgz", + "integrity": "sha512-EfD9L7o9biaQxjwP1uWXnk3vYZi64NVcKUN83hpVkKocB7ogJfyH2r7o1pPnMtir6gHZiGCeHKagJ0yrNSLNHw==", "cpu": [ "arm64" ], @@ -408,9 +412,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.8.tgz", - "integrity": "sha512-pO+hVXC+mvzUOQJJRG4RX4wJsRJ5BkURSf6dD6EjUXAX4Ml9es1WsEfkaZ4lcpmFzFvY47IkDaffks/GdCn9ag==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.12.tgz", + "integrity": "sha512-iQ+n2pxklJew9IpE47hE/VgjmljlHqtcD5UhZVeHICTPbLyrgPehaKf2wLRNjYH75udroBNCgrSSVSVpAbNoYw==", "cpu": [ "x64" ], @@ -423,9 +427,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.8.tgz", - "integrity": "sha512-bCat9izctychCtf3uL1nqHq31N5e1VxvdyNcBQflkudPMLbxVnlrw45Vi87K+lt1CwrtVayHqzo4ie0Szcpwzg==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.12.tgz", + "integrity": "sha512-rFkUkNwcQ0ODn7cxvcVdpHlcOpYxMeyMfkJuzaT74xjAa5v4fxP4xDk5OoYmPi8QNLDs3UgZPMSBmpBuv9zKWA==", "cpu": [ "x64" ], @@ -438,9 +442,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.8.tgz", - "integrity": "sha512-gbxfUaSPV7EyUobpavida2Hwi62GhSJaSg7iBjmBWoxkxlmETOD7U4tWt763cGIsyE6jM7IoNavq0BXqwdW2QA==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.12.tgz", + "integrity": "sha512-PQFYUvwtHs/u0K85SG4sAdDXYIPXpETf9mcEjWc0R4JmjgMKSDwIU/qfZdavtP6MPNiMjuKGXHCtyhR/M5zo8g==", "cpu": [ "arm64" ], @@ -453,9 +457,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.8.tgz", - "integrity": "sha512-PUXzEzjTTlUh3b5VAn1nlpwvujTnuCMMwbiCnaTazoVlN1nA3kWjlmp42IfURA2N/nyrlVEw7pURa/o4Qxj1cw==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.12.tgz", + "integrity": "sha512-FAj2hMlcbeCV546eU2tEv41dcJb4NeqFlSXU/xL/0ehXywHnNpaYajOUvn3P8wru5WyQe6cTZ8fvckj/2XN4Vw==", "cpu": [ "ia32" ], @@ -468,9 +472,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.8.tgz", - "integrity": "sha512-EnPKv0ttq02E9/1KZ/8Dn7kuutv6hy1CKc0HlNcvzOQcm4/SQtvfws5gY0zrG9tuupd3HfC2L/zcTrnBhpjTuQ==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.12.tgz", + "integrity": "sha512-yu8QvV53sBzoIVRHsxCHqeuS8jYq6Lrmdh0briivuh+Brsp6xjg80MAozUsBTAV9KNmY08KlX0KYTWz1lbPzEg==", "cpu": [ "x64" ], @@ -483,9 +487,9 @@ } }, "node_modules/@next/third-parties": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/@next/third-parties/-/third-parties-14.2.8.tgz", - "integrity": "sha512-Vus4MYsb+7B2X4Mks9aCztZwgnzTxU9sHEm1Y35z7Vw1seh43ummniD9CBk7A8dVJZf8NGpx8re6YSZLkaSQiQ==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@next/third-parties/-/third-parties-14.2.12.tgz", + "integrity": "sha512-V7iRRie7KISDOK/xWgvHJWvskykrzJeHOdCRy6ArchgaC718Sp0A8Pk9f4XIbrJvWatT8XsCH9q5sPTonJQg0Q==", "dependencies": { "third-party-capital": "1.0.20" }, @@ -544,6 +548,18 @@ "node": ">=14" } }, + "node_modules/@pkgr/core": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", + "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, "node_modules/@radix-ui/number": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.0.tgz", @@ -1536,15 +1552,15 @@ } }, "node_modules/@types/prop-types": { - "version": "15.7.12", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", - "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", + "version": "15.7.13", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz", + "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==", "devOptional": true }, "node_modules/@types/react": { - "version": "18.3.5", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz", - "integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==", + "version": "18.3.7", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.7.tgz", + "integrity": "sha512-KUnDCJF5+AiZd8owLIeVHqmW9yM4sqmDVf2JRJiBMFkGvkoZ4/WyV2lL4zVsoinmRS/W3FeEdZLEWFRofnT2FQ==", "devOptional": true, "dependencies": { "@types/prop-types": "*", @@ -2234,9 +2250,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001657", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001657.tgz", - "integrity": "sha512-DPbJAlP8/BAXy3IgiWmZKItubb3TYGP0WscQQlVGIfT4s/YlFYVuJgyOsQNP7rJRChx/qdMeLJQJP0Sgg2yjNA==", + "version": "1.0.30001662", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001662.tgz", + "integrity": "sha512-sgMUVwLmGseH8ZIrm1d51UbrhqMCH3jvS7gF/M6byuHOnKyLOBL7W8yz5V02OHwgLGA36o/AFhWzzh4uc5aqTA==", "funding": [ { "type": "opencollective", @@ -2829,12 +2845,12 @@ } }, "node_modules/debug": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", - "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -2970,9 +2986,9 @@ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" }, "node_modules/electron-to-chromium": { - "version": "1.5.14", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.14.tgz", - "integrity": "sha512-bEfPECb3fJ15eaDnu9LEJ2vPGD6W1vt7vZleSVyFhYuMIKm3vz/g9lt7IvEzgdwj58RjbPKUF2rXTCN/UW47tQ==", + "version": "1.5.25", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.25.tgz", + "integrity": "sha512-kMb204zvK3PsSlgvvwzI3wBIcAw15tRkYk+NQdsjdDtcQWTp2RABbMQ9rUBy8KNEOM+/E6ep+XC3AykiWZld4g==", "dev": true }, "node_modules/emoji-regex": { @@ -3193,16 +3209,16 @@ } }, "node_modules/eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -3337,6 +3353,18 @@ } } }, + "node_modules/eslint-config-prettier": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", + "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", + "dev": true, + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, "node_modules/eslint-import-resolver-node": { "version": "0.3.9", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", @@ -3393,9 +3421,9 @@ } }, "node_modules/eslint-module-utils": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.9.0.tgz", - "integrity": "sha512-McVbYmwA3NEKwRQY5g4aWMdcZE5xZxV8i8l7CqJSrameuGSQJtSWaL/LxTEzSKKaCcOhlpDR8XEfYXWPrdo/ZQ==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.11.0.tgz", + "integrity": "sha512-gbBE5Hitek/oG6MUVj6sFuzEjA/ClzNflVrLovHi/JgLdC7fiN5gLAY1WIPW1a0V5I999MnsrvVrCOGmmVqDBQ==", "dev": true, "dependencies": { "debug": "^3.2.7" @@ -3554,10 +3582,40 @@ "node": "*" } }, + "node_modules/eslint-plugin-prettier": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz", + "integrity": "sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==", + "dev": true, + "dependencies": { + "prettier-linter-helpers": "^1.0.0", + "synckit": "^0.9.1" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint-plugin-prettier" + }, + "peerDependencies": { + "@types/eslint": ">=8.0.0", + "eslint": ">=8.0.0", + "eslint-config-prettier": "*", + "prettier": ">=3.0.0" + }, + "peerDependenciesMeta": { + "@types/eslint": { + "optional": true + }, + "eslint-config-prettier": { + "optional": true + } + } + }, "node_modules/eslint-plugin-react": { - "version": "7.35.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.2.tgz", - "integrity": "sha512-Rbj2R9zwP2GYNcIak4xoAMV57hrBh3hTaR0k7hVjwCQgryE/pw5px4b13EYjduOI0hfXyZhwBxaGpOTbWSGzKQ==", + "version": "7.36.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.36.1.tgz", + "integrity": "sha512-/qwbqNXZoq+VP30s1d4Nc1C5GTxjJQjk4Jzs4Wq2qzxFM7dSmuG2UkIjg2USMLh3A/aVcUNrK7v0J5U1XEGGwA==", "dev": true, "dependencies": { "array-includes": "^3.1.8", @@ -3773,6 +3831,12 @@ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true }, + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true + }, "node_modules/fast-glob": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", @@ -3879,9 +3943,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.8", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.8.tgz", - "integrity": "sha512-xgrmBhBToVKay1q2Tao5LI26B83UhrB/vM1avwVSDzt8rx3rO6AizBAaF46EgksTVr+rFTQaqZZ9MVBfUe4nig==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", "funding": [ { "type": "individual", @@ -4046,9 +4110,9 @@ } }, "node_modules/get-tsconfig": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.8.0.tgz", - "integrity": "sha512-Pgba6TExTZ0FJAn1qkJAjIeKoDJ3CsI2ChuLohJnZl/tTU8MVrq3b+2t5UOPfRa4RMsorClBjJALkJUMjG1PAw==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.8.1.tgz", + "integrity": "sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==", "dev": true, "dependencies": { "resolve-pkg-maps": "^1.0.0" @@ -4403,9 +4467,9 @@ } }, "node_modules/is-bun-module": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.1.0.tgz", - "integrity": "sha512-4mTAVPlrXpaN3jtF0lsnPCMGnq4+qZjVIKq0HCpfcqf8OC1SM5oATCIAPM5V5FN05qp2NNnFndphmdZS9CV3hA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.2.1.tgz", + "integrity": "sha512-AmidtEM6D6NmUiLOvvU7+IePxjEjOzra2h0pSrsfSAcXwl/83zLLXDByafUJy9k/rKK0pvXMLdwKwGHlX2Ke6Q==", "dev": true, "dependencies": { "semver": "^7.6.3" @@ -4993,9 +5057,9 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, "node_modules/mz": { @@ -5032,11 +5096,11 @@ "dev": true }, "node_modules/next": { - "version": "14.2.8", - "resolved": "https://registry.npmjs.org/next/-/next-14.2.8.tgz", - "integrity": "sha512-EyEyJZ89r8C5FPlS/401AiF3O8jeMtHIE+bLom9MwcdWJJFBgRl+MR/2VgO0v5bI6tQORNY0a0DR5sjpFNrjbg==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/next/-/next-14.2.12.tgz", + "integrity": "sha512-cDOtUSIeoOvt1skKNihdExWMTybx3exnvbFbb9ecZDIxlvIbREQzt9A5Km3Zn3PfU+IFjyYGsHS+lN9VInAGKA==", "dependencies": { - "@next/env": "14.2.8", + "@next/env": "14.2.12", "@swc/helpers": "0.5.5", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001579", @@ -5051,15 +5115,15 @@ "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "14.2.8", - "@next/swc-darwin-x64": "14.2.8", - "@next/swc-linux-arm64-gnu": "14.2.8", - "@next/swc-linux-arm64-musl": "14.2.8", - "@next/swc-linux-x64-gnu": "14.2.8", - "@next/swc-linux-x64-musl": "14.2.8", - "@next/swc-win32-arm64-msvc": "14.2.8", - "@next/swc-win32-ia32-msvc": "14.2.8", - "@next/swc-win32-x64-msvc": "14.2.8" + "@next/swc-darwin-arm64": "14.2.12", + "@next/swc-darwin-x64": "14.2.12", + "@next/swc-linux-arm64-gnu": "14.2.12", + "@next/swc-linux-arm64-musl": "14.2.12", + "@next/swc-linux-x64-gnu": "14.2.12", + "@next/swc-linux-x64-musl": "14.2.12", + "@next/swc-win32-arm64-msvc": "14.2.12", + "@next/swc-win32-ia32-msvc": "14.2.12", + "@next/swc-win32-x64-msvc": "14.2.12" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", @@ -5429,9 +5493,9 @@ } }, "node_modules/postcss": { - "version": "8.4.45", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.45.tgz", - "integrity": "sha512-7KTLTdzdZZYscUc65XmjFiB73vBhBfbPztCYdUNvlaso9PrzjzcmjqBPR0lNGkcVlcO4BjiO5rK/qNz+XAen1Q==", + "version": "8.4.47", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", + "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", "funding": [ { "type": "opencollective", @@ -5448,8 +5512,8 @@ ], "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.0.1", - "source-map-js": "^1.2.0" + "picocolors": "^1.1.0", + "source-map-js": "^1.2.1" }, "engines": { "node": "^10 || ^12 || >=14" @@ -5584,6 +5648,111 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "dev": true, + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/prettier-plugin-tailwindcss": { + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.6.tgz", + "integrity": "sha512-OPva5S7WAsPLEsOuOWXATi13QrCKACCiIonFgIR6V4lYv4QLp++UXVhZSzRbZxXGimkQtQT86CC6fQqTOybGng==", + "dev": true, + "engines": { + "node": ">=14.21.3" + }, + "peerDependencies": { + "@ianvs/prettier-plugin-sort-imports": "*", + "@prettier/plugin-pug": "*", + "@shopify/prettier-plugin-liquid": "*", + "@trivago/prettier-plugin-sort-imports": "*", + "@zackad/prettier-plugin-twig-melody": "*", + "prettier": "^3.0", + "prettier-plugin-astro": "*", + "prettier-plugin-css-order": "*", + "prettier-plugin-import-sort": "*", + "prettier-plugin-jsdoc": "*", + "prettier-plugin-marko": "*", + "prettier-plugin-multiline-arrays": "*", + "prettier-plugin-organize-attributes": "*", + "prettier-plugin-organize-imports": "*", + "prettier-plugin-sort-imports": "*", + "prettier-plugin-style-order": "*", + "prettier-plugin-svelte": "*" + }, + "peerDependenciesMeta": { + "@ianvs/prettier-plugin-sort-imports": { + "optional": true + }, + "@prettier/plugin-pug": { + "optional": true + }, + "@shopify/prettier-plugin-liquid": { + "optional": true + }, + "@trivago/prettier-plugin-sort-imports": { + "optional": true + }, + "@zackad/prettier-plugin-twig-melody": { + "optional": true + }, + "prettier-plugin-astro": { + "optional": true + }, + "prettier-plugin-css-order": { + "optional": true + }, + "prettier-plugin-import-sort": { + "optional": true + }, + "prettier-plugin-jsdoc": { + "optional": true + }, + "prettier-plugin-marko": { + "optional": true + }, + "prettier-plugin-multiline-arrays": { + "optional": true + }, + "prettier-plugin-organize-attributes": { + "optional": true + }, + "prettier-plugin-organize-imports": { + "optional": true + }, + "prettier-plugin-sort-imports": { + "optional": true + }, + "prettier-plugin-style-order": { + "optional": true + }, + "prettier-plugin-svelte": { + "optional": true + } + } + }, "node_modules/prop-types": { "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", @@ -6056,9 +6225,9 @@ } }, "node_modules/source-map-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", - "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", "engines": { "node": ">=0.10.0" } @@ -6119,9 +6288,9 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/string-width/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "engines": { "node": ">=12" }, @@ -6348,6 +6517,22 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/synckit": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.1.tgz", + "integrity": "sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==", + "dev": true, + "dependencies": { + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, "node_modules/tailwind-merge": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.5.2.tgz", @@ -6358,9 +6543,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.10", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.10.tgz", - "integrity": "sha512-KWZkVPm7yJRhdu4SRSl9d4AK2wM3a50UsvgHZO7xY77NQr2V+fIrEuoDGQcbvswWvFGbS2f6e+jC/6WJm1Dl0w==", + "version": "3.4.12", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.12.tgz", + "integrity": "sha512-Htf/gHj2+soPb9UayUNci/Ja3d8pTmu9ONTfh4QY8r3MATTZOzmv6UYWF7ZwikEIC8okpfqmGqrmDehua8mF8w==", "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", @@ -6583,9 +6768,9 @@ } }, "node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", + "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -6863,9 +7048,9 @@ } }, "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "engines": { "node": ">=12" }, diff --git a/package.json b/package.json index 711a0bb..9499096 100644 --- a/package.json +++ b/package.json @@ -51,10 +51,14 @@ "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-next": "14.1.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.8.0", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", + "prettier": "^3.3.3", + "prettier-plugin-tailwindcss": "^0.6.6", "tailwindcss": "^3.3.0", "typescript": "^5" } diff --git a/tsconfig.json b/tsconfig.json index fb68dc1..7b28589 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,10 +12,15 @@ "isolatedModules": true, "jsx": "preserve", "incremental": true, + "plugins": [ + { + "name": "next" + } + ], "paths": { "@/*": ["./src/*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] } From cfd57a380b2d08f0b01f84785431ebf52700f755 Mon Sep 17 00:00:00 2001 From: daejlee Date: Thu, 19 Sep 2024 16:28:03 +0900 Subject: [PATCH 05/12] Chore: Color applied all at once, non-header texts --- .gitignore | 1 + src/components/Footer.tsx | 48 +++--- src/components/Groups.tsx | 68 ++++----- src/components/ProfilePic.tsx | 26 ++-- src/components/buttons/GroupSettingBtn.tsx | 18 +-- src/components/buttons/LocationBtn.tsx | 34 ++--- src/components/buttons/LogoutBtn.tsx | 28 ++-- src/components/buttons/MySettingBtn.tsx | 14 +- src/components/buttons/SearchBtn.tsx | 18 +-- src/components/cards/MyProfileCard.tsx | 46 +++--- src/components/cards/ProfileCard.tsx | 34 ++--- src/components/cards/SearchedCard.tsx | 42 +++--- src/components/modals/AgreementModal.tsx | 44 +++--- src/components/modals/GroupAddModal.tsx | 40 ++--- src/components/modals/GroupDeleteModal.tsx | 44 +++--- src/components/modals/GroupSettingModal.tsx | 95 ++++++------ src/components/modals/MySettingModal.tsx | 79 +++++----- src/components/modals/NewGroupModal.tsx | 116 +++++++------- src/components/modals/SearchModal.tsx | 76 +++++----- src/components/modals/UserSettingModal.tsx | 110 +++++++------- .../utils/CustomLocationContent.tsx | 50 +++--- src/components/utils/LocationCascader.tsx | 142 +++++++++--------- src/pages/login-fail/index.tsx | 40 ++--- src/pages/login/index.tsx | 38 ++--- src/styles/globals.css | 43 +++--- tailwind.config.ts | 98 ++++++------ 26 files changed, 680 insertions(+), 712 deletions(-) diff --git a/.gitignore b/.gitignore index 6c6aa6f..b083591 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ # testing /coverage +/src/pages/font-test # next.js /.next/ diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 4294e60..b26e717 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,51 +1,51 @@ -import React from 'react'; -import Image from 'next/image'; -import Link from 'next/link'; +import React from "react"; +import Image from "next/image"; +import Link from "next/link"; import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger, -} from '@/components/ui/dialog'; +} from "@/components/ui/dialog"; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, -} from '@/components/ui/accordion'; +} from "@/components/ui/accordion"; export default function Footer() { return (