File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
apps/web/src/pages/MemeDetailPage Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ const Container = styled.div`
1212` ;
1313
1414const ImageContainer = styled ( motion . div ) `
15- position: sticky;
16- top: 0;
15+ /* position: sticky;
16+ top: 0; */
1717 padding: 14px;
1818` ;
1919
Original file line number Diff line number Diff line change 88import { nativeBridge } from '@/utils/bridge' ;
99import * as S from './MemeDetailPage.styles' ;
1010import { useTheme } from '@emotion/react' ;
11- import { useRef } from 'react' ;
1211import { useParams } from 'react-router-dom' ;
1312import { useMemeDetailQuery } from '@meme_wiki/apis' ;
1413
@@ -17,15 +16,14 @@ const MemeDetailPage = () => {
1716 const { data : memeDetail } = useMemeDetailQuery ( memeId ! ) ;
1817
1918 const theme = useTheme ( ) ;
20- const containerRef = useRef < HTMLDivElement > ( null ) ;
2119
2220 return (
2321 < Layout
2422 layoutStyle = { {
2523 backgroundColor : theme . palette . gray [ 'gray-10' ] ,
2624 } }
2725 >
28- < S . Container ref = { containerRef } >
26+ < S . Container >
2927 < S . ImageContainer >
3028 < S . Image
3129 src = { memeDetail ?. success . imgUrl }
@@ -61,11 +59,16 @@ const MemeDetailPage = () => {
6159 } ) ;
6260 } }
6361 >
64- < ShareIcon width = { 24 } height = { 24 } />
65- 공유하기
62+ < ShareIcon />
63+ < span > 공유하기</ span >
6664 </ S . ActionButton >
67- < S . ActionButton >
68- < MemeDesignPenIcon width = { 24 } height = { 24 } /> 밈 꾸미기
65+ < S . ActionButton
66+ onClick = { ( ) => {
67+ alert ( '밈 꾸미기' ) ;
68+ } }
69+ >
70+ < MemeDesignPenIcon />
71+ < span > 밈 꾸미기</ span >
6972 </ S . ActionButton >
7073 </ S . ButtonContainer >
7174 </ Layout >
You can’t perform that action at this time.
0 commit comments