Skip to content

Commit

Permalink
배너 컴포넌트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaeeun98 committed Apr 6, 2024
1 parent d96aabc commit f97979e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/shared/banner/banner.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { styled } from "styled-components";

const Warpper = styled.div`
width: 100%;
max-width: 1440px;
margin: auto;
height: 410px;

`

const Img = styled.img`
width: 100%;
height: 100%;

`

export const Banner = () => {
return (
<Warpper>
<Img src="src/shared/icons/main/banner.png" alt="" />
</Warpper>
);
};
1 change: 1 addition & 0 deletions src/shared/banner/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./banner";

0 comments on commit f97979e

Please sign in to comment.