Skip to content

Commit

Permalink
HeroImageのスタイルを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-20 committed Mar 24, 2024
1 parent ff28808 commit ec1d951
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workspaces/app/src/pages/TopPage/internal/HeroImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ const _Wrapper = styled.div`

const _Image = styled.img`
display: inline-block;
aspect-ratio: 16 / 9;
width: 100%;
`;

export const HeroImage: React.FC = () => {
return (
<_Wrapper>
<_Image alt="Cyber TOON" height={'576'} src={'/assets/images/hero.avif'} />
<_Image alt="Cyber TOON" src={'/assets/images/hero.avif'} />
</_Wrapper>
);
};

0 comments on commit ec1d951

Please sign in to comment.