11import Layout from '@/components/Layout' ;
2- import { ShareIcon , SymbolTwoIcon } from '@/assets/icons' ;
2+ import { ShareIcon , SymbolThreeIcon , SymbolTwoIcon } from '@/assets/icons' ;
33import { nativeBridge } from '@/utils/bridge' ;
44import * as S from './MemeDetailPage.styles' ;
55import { useTheme } from '@emotion/react' ;
@@ -28,11 +28,10 @@ const MemeDetailPage = () => {
2828 const containerRef = useRef < HTMLDivElement > ( null ) ;
2929 const { scrollY } = useScroll ( { container : containerRef } ) ;
3030
31- const height = useTransform ( scrollY , [ 0 , 200 ] , [ 400 , 200 ] ) ;
31+ const height = useTransform ( scrollY , [ 0 , 500 ] , [ 400 , 100 ] ) ;
3232 const smoothHeight = useSpring ( height , {
3333 stiffness : 200 ,
3434 damping : 20 ,
35- mass : 0.5 ,
3635 } ) ;
3736
3837 const textWidth = useTransform ( scrollY , [ 0 , 50 ] , [ 100 , 0 ] ) ;
@@ -51,8 +50,6 @@ const MemeDetailPage = () => {
5150 < Layout
5251 layoutStyle = { {
5352 backgroundColor : theme . palette . gray [ 'gray-10' ] ,
54- height : '100vh' ,
55- overflow : 'hidden' ,
5653 } }
5754 >
5855 < S . Container ref = { containerRef } >
@@ -90,7 +87,7 @@ const MemeDetailPage = () => {
9087 </ S . SectionTitle >
9188 < S . SectionText > { DUMMY_DATA . success . usage } </ S . SectionText >
9289 < S . SectionTitle >
93- < SymbolTwoIcon width = { 18 } height = { 18 } />
90+ < SymbolThreeIcon width = { 18 } height = { 18 } />
9491 유래
9592 </ S . SectionTitle >
9693 < S . SectionText > { DUMMY_DATA . success . origin } </ S . SectionText >
0 commit comments