ADO2 콘텐츠, 상세 페이지 및 검색, 좋아요, 댓글, 공유하기 기능 추가
This commit is contained in:
1 parent
f3195628d2
commit
0ea14da748
23 files changed
+2630
-301
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import React from 'react';
|
||||
import VideoDetailContent from './VideoDetailContent';
|
||||
|
||||
interface VideoDetailPageProps {
|
||||
videoId: string;
|
||||
}
|
||||
|
||||
const VideoDetailPage: React.FC<VideoDetailPageProps> = ({ videoId }) => {
|
||||
const handleBack = () => {
|
||||
localStorage.setItem('castad_active_item', 'ADO2 콘텐츠');
|
||||
window.location.href = '/';
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="video-detail-page">
|
||||
<VideoDetailContent videoId={videoId} isModal={false} onClose={handleBack} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default VideoDetailPage;
|
||||
Reference in new issue
Block a user