diff --git a/src/components/DBadge.tsx b/src/components/DBadge.tsx index fd16b2c..15caba6 100644 --- a/src/components/DBadge.tsx +++ b/src/components/DBadge.tsx @@ -1,6 +1,6 @@ const DBadge = ({text}:{text:string}) => { return ( -
+
{text}
) diff --git a/src/components/DButton.tsx b/src/components/DButton.tsx new file mode 100644 index 0000000..ced57a3 --- /dev/null +++ b/src/components/DButton.tsx @@ -0,0 +1,9 @@ +const DButton = ({text}:{text:string}) => { + return( + + ) +} + +export default DButton; diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx index 42aea31..1166581 100644 --- a/src/pages/LandingPage.tsx +++ b/src/pages/LandingPage.tsx @@ -1,5 +1,6 @@ import logo from '../assets/logo.svg'; import DBadge from "../components/DBadge.tsx"; +import DButton from "../components/DButton.tsx"; const LandingPage = () => { return ( <> @@ -7,6 +8,8 @@ const LandingPage = () => { {'직접 그린 하나뿐인 그림과\n마음이 담긴 편지를 받아보세요'} + + 지금까지 12,456개의 그림이 그려졌어요
);