Skip to content

Commit

Permalink
Merge branch 'dev' into style/businessCardContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
wukdddang authored Oct 31, 2023
2 parents 44cea1f + 2099b00 commit a3660f8
Show file tree
Hide file tree
Showing 27 changed files with 596 additions and 299 deletions.
46 changes: 42 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
"react-hook-form": "^7.47.0",
"react-icons": "^4.11.0",
"react-router-dom": "^6.16.0",
"react-spinners": "^0.13.8",
"react-toastify": "^9.1.3"
"react-toastify": "^9.1.3",
"zustand": "^4.4.4",
"zustand-persist": "^0.4.0",
"react-spinners": "^0.13.8"
},
"devDependencies": {
"@rushstack/eslint-config": "^3.4.1",
Expand Down
5 changes: 5 additions & 0 deletions src/assets/icons/Exclamation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/Warning.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/common/BottomSheet/RandomMatchingSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AnimatePresence, motion } from 'framer-motion'
import { MouseEvent, useState } from 'react'
import { AiOutlineClose } from 'react-icons/ai'

import RandomMatchingJoinButton from '@/components/common/Buttons/IconButton/RandomMatchingJoin'
import RandomMatchingJoinButton from '@/components/common/Buttons/IconButton/RandomMatchingJoinButton'
import { Text } from '@/components/common/Text'
import { palette } from '@/styles/palette'

Expand Down
158 changes: 0 additions & 158 deletions src/components/common/BottomSheet/index.tsx

This file was deleted.

14 changes: 8 additions & 6 deletions src/components/common/Buttons/IconButton/InterestButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Divider } from '@/components/common/Divider'
import { Text, TextWrapper } from '@/components/common/Text'
import { palette } from '@/styles/palette'

import { IconButtonWrapper, IconWrapper } from '.'
import { StyleIconButtonWrapper, StyleIconWrapper } from '.'

type InterestButtonProps = {
nickName: string
Expand All @@ -17,15 +17,15 @@ const InterestButton = ({ nickName, interests, isDarkMode }: InterestButtonProps
const setButtonType = isDarkMode ? 'interest-dark' : 'interest'

return (
<IconButtonWrapper
<StyleIconButtonWrapper
iconButtonType={setButtonType}
style={{
display: 'flex',
justifyContent: 'start',
alignItems: 'center',
}}
>
<IconWrapper
<StyleIconWrapper
borderRadius={'12px'}
backgroundColor={palette.WHITE}
style={{
Expand All @@ -42,7 +42,7 @@ const InterestButton = ({ nickName, interests, isDarkMode }: InterestButtonProps
height: 23,
}}
/>
</IconWrapper>
</StyleIconWrapper>
<TextWrapper>
<Text font={'Body_18'} fontWeight={500} letterSpacing={-2} style={{ marginBottom: 4 }}>
{`${nickName}의 관심사`}
Expand All @@ -61,12 +61,14 @@ const InterestButton = ({ nickName, interests, isDarkMode }: InterestButtonProps
{interests.map((interest, index) => (
<Fragment key={interest}>
{interest}
{index !== interests.length - 1 && <Divider />}
{index !== interests.length - 1 && (
<Divider width={1} height={12} margin={'0 12px'} isDarkMode={isDarkMode} />
)}
</Fragment>
))}
</Text>
</TextWrapper>
</IconButtonWrapper>
</StyleIconButtonWrapper>
)
}

Expand Down
6 changes: 3 additions & 3 deletions src/components/common/Buttons/IconButton/KakaoButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import KakaoIcon from '@/assets/icons/KakaoIcon'
import { Text } from '@/components/common/Text'
import { palette } from '@/styles/palette'

import { IconWrapper } from '.'
import { StyleIconWrapper } from '.'

export const ButtonWrapper = styled.button<{
buttonTheme: 'kakao' | 'naver'
Expand All @@ -21,13 +21,13 @@ export const ButtonWrapper = styled.button<{

const KakaoButton = () => (
<ButtonWrapper buttonTheme={'kakao'}>
<IconWrapper
<StyleIconWrapper
style={{
margin: '4px 38px 4px 20px',
}}
>
<KakaoIcon width={53} height={53} iconWidth={35} iconHeight={35} borderRadius={10} />
</IconWrapper>
</StyleIconWrapper>
<Text
font={'Body_18'}
fontWeight={600}
Expand Down
6 changes: 3 additions & 3 deletions src/components/common/Buttons/IconButton/NaverButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ import NaverIcon from '@/assets/icons/NaverIcon'
import { Text } from '@/components/common/Text'
import { palette } from '@/styles/palette'

import { IconWrapper } from '.'
import { StyleIconWrapper } from '.'
import { ButtonWrapper } from './KakaoButton'

const NaverButton = () => {
return (
<ButtonWrapper buttonTheme={'naver'}>
<IconWrapper
<StyleIconWrapper
style={{
margin: '4px 53px 4px 20px',
}}
>
<NaverIcon width={53} height={53} iconWidth={20} iconHeight={20} borderRadius={10} />
</IconWrapper>
</StyleIconWrapper>
<Text
font={'Body_18'}
fontWeight={600}
Expand Down
Loading

0 comments on commit a3660f8

Please sign in to comment.