Skip to content

Commit

Permalink
feat: add 곽나영 video
Browse files Browse the repository at this point in the history
  • Loading branch information
Climier-code committed Oct 26, 2022
1 parent b358f71 commit e1cd183
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Binary file added public/assets/곽나영/추가_3.mp4
Binary file not shown.
7 changes: 6 additions & 1 deletion src/components/Content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,12 @@ const Content: React.FC<Props> = (props) => {
);
}
if (type === 'add3') {
return <StyledAdd3>{video && <Video src={require(`/public/assets/${video}/추가_3.mp4`)} />}</StyledAdd3>;
return (
<StyledAdd3>
<Title>{title}</Title>
{video && <Video src={require(`/public/assets/${video}/추가_3.mp4`)} />}
</StyledAdd3>
);
}

return <></>;
Expand Down
5 changes: 5 additions & 0 deletions src/constants/portfolioData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ export const portfolioData: Obj<any> = {
title: 'APP & PACKAGE',
imgs: ['./assets/곽나영/추가_2-1.gif', './assets/곽나영/추가_2-2.png'],
},
{
type: 'add3',
title: 'Expression Video',
video: '곽나영',
},
],
},

Expand Down

1 comment on commit e1cd183

@vercel
Copy link

@vercel vercel bot commented on e1cd183 Oct 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.