-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
๐ Style: ์์ - BackwardsHeader๋ฅผ ํฌํจํ body ์๋จ padding๊ฐ ์ธ 8 (#39)
* ๐จ Design: ์์ - ์ถ์ฒ์ฅ์ swiper autoplayํด์ Fixes: #6 * โจ Feat: ์ถ๊ฐ - ๋๋ณด๊ธฐ๋ฒํผ์ด ํฌํจ๋ ํ์ดํ ์ปดํฌ๋ํธ Fixes: #2 * โจ Feat: ์ถ๊ฐ - ์ ๊ฐ์ก์์ ๋ณด ์ธ๊ธฐ๊ธ ์ปดํฌ๋ํธ Related to : #32 * โจ Feat: ์ถ๊ฐ - ์ ๊ฐ๋งค๊ฑฐ์ง Related to: #15 * โจ Feat: ์ถ๊ฐ - ์ ๊ฐ์คํ ๋ฆฌ Related to: #17 * ๐ Style: ๋ณ๊ฒฝ - footer์ z-index fixes: #2 * โจ Feat: ์ถ๊ฐ - homeํ์ด์ง ์ปดํฌ๋ํธ ์กฐํฉ ๋ฐ ๋ ์ด์์ ๊ตฌ์ฑ Fixes: #23 * ๐ Style: ์์ - BackwardsHeader๋ฅผ ํฌํจํ body ์๋จ padding๊ฐ Fixes: #2 * โจ Feat: ์์ - ์ปดํฌ๋ํธ์ ํ์ดํ ๋ถ๋ถ moretitle ์ปดํฌ๋ํธ๋ก ์์ Fixes: #2 * โจ Feat: ์ถ๊ฐ - ๋ง์ดํ์ด์ง์ ์ต๊ทผ ๋ณธ ์ฅ์ Related to: #34 * โจ Feat: ์ถ๊ฐ - ๋ง์ดํ์ด์ง์ ๋๋ง์ ๋ถ๋งํฌ Fixes: #35 * โป๏ธ Refactor:์์ - ๋ก๊ทธ์ธ ์ํ ๊ด๋ฆฌ ๋ก์ง์ ๋ถ๋ชจ ์ปดํฌ๋ํธ๋ก ์ด๋ Fixes: #9 * โจ Feat: ์ถ๊ฐ - ๋ง์ดํ์ด์ง userinfo์ ๋ก๊ทธ์ธ ์ํ ์ ๋ฌ ๋ฐ ์ปดํฌ๋ํธ ์ถ๊ฐ Fixes: #9 * โจ Feat: ์ถ๊ฐ - ๊ธ์ ๋ง์ค์ ์ฒ๋ฆฌ ์ปค์คํ ํ Fixes: #2 * โจ Feat: ์ถ๊ฐ - ํ๊ธฐ๊ธ ์ปค์คํ ํ ์ฌ์ฉํ์ฌ ๋ง์ค์์ฒ๋ฆฌ, ๋ณ์ ํ๊ธฐ DetailRating ์ปดํฌ๋ํธ ์ถ๊ฐ Fixes: #10 * โจ Feat: ์ถ๊ฐ - ๋ด๊ฐ ์์ฑํ ๊ธ ํ ์คํธ ์ปค์คํ ํ ์ฌ์ฉํ์ฌ ๋ง์ค์์ฒ๋ฆฌ Fixes: #36
- Loading branch information
1 parent
134c18e
commit f177b97
Showing
10 changed files
with
125 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { useState, useEffect } from 'react'; | ||
|
||
const useTruncatedText = (text: string, maxLength: number) => { | ||
const [truncatedText, setTruncatedText] = useState(''); | ||
|
||
useEffect(() => { | ||
if (text.length > maxLength) { | ||
setTruncatedText(text.slice(0, maxLength) + '...'); | ||
} else { | ||
setTruncatedText(text); | ||
} | ||
}, [text, maxLength]); | ||
|
||
return truncatedText; | ||
}; | ||
|
||
export default useTruncatedText; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import MoreTitle from '../../components/layout/MoreTitle'; | ||
import Place from '../../components/BDPlace/Place'; | ||
|
||
const MyBookmark = () => { | ||
return ( | ||
<div className='card card2'> | ||
<MoreTitle title='๋๋ง์ ๋ถ๋งํฌ' /> | ||
<div className='gap-4px flex justify-between pb-[30px]'> | ||
<Place /> | ||
<Place /> | ||
<Place /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default MyBookmark; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import MoreTitle from '../../components/layout/MoreTitle'; | ||
import Place from '../../components/BDPlace/Place'; | ||
|
||
const RecentPlace = () => { | ||
return ( | ||
<div className='card card2'> | ||
<MoreTitle title='์ต๊ทผ ๋ณธ ์ฅ์' /> | ||
<div className='gap-4px flex justify-between pb-[30px]'> | ||
<Place /> | ||
<Place /> | ||
<Place /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default RecentPlace; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters