From 47bfc439148f92e784a043d3b4a71cbec2cc21df Mon Sep 17 00:00:00 2001 From: Sinji Date: Mon, 15 Jul 2024 05:39:24 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=ED=94=8C=EB=A1=9C=ED=8C=85=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/svgs/Union.svg | 3 + public/svgs/btn_floating.svg | 15 +++++ src/assets/svgs/BtnFloating.tsx | 30 +++++++++ src/assets/svgs/Union.tsx | 13 ++++ src/assets/svgs/index.tsx | 4 +- src/pages/main/Main.tsx | 2 + .../components/floating/Floating.styled.ts | 61 +++++++++++++++++++ .../main/components/floating/Floating.tsx | 24 ++++++++ .../performance/Performance.Cardstyled.ts | 2 +- 9 files changed, 152 insertions(+), 2 deletions(-) create mode 100644 public/svgs/Union.svg create mode 100644 public/svgs/btn_floating.svg create mode 100644 src/assets/svgs/BtnFloating.tsx create mode 100644 src/assets/svgs/Union.tsx create mode 100644 src/pages/main/components/floating/Floating.styled.ts create mode 100644 src/pages/main/components/floating/Floating.tsx diff --git a/public/svgs/Union.svg b/public/svgs/Union.svg new file mode 100644 index 00000000..71d00557 --- /dev/null +++ b/public/svgs/Union.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/svgs/btn_floating.svg b/public/svgs/btn_floating.svg new file mode 100644 index 00000000..27379549 --- /dev/null +++ b/public/svgs/btn_floating.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/src/assets/svgs/BtnFloating.tsx b/src/assets/svgs/BtnFloating.tsx new file mode 100644 index 00000000..6f84c492 --- /dev/null +++ b/src/assets/svgs/BtnFloating.tsx @@ -0,0 +1,30 @@ +import * as React from "react"; +import type { SVGProps } from "react"; +const SvgBtnFloating = (props: SVGProps) => ( + + + + + + + + + + + + + + + +); +export default SvgBtnFloating; diff --git a/src/assets/svgs/Union.tsx b/src/assets/svgs/Union.tsx new file mode 100644 index 00000000..b37c9949 --- /dev/null +++ b/src/assets/svgs/Union.tsx @@ -0,0 +1,13 @@ +import * as React from "react"; +import type { SVGProps } from "react"; +const SvgUnion = (props: SVGProps) => ( + + + +); +export default SvgUnion; diff --git a/src/assets/svgs/index.tsx b/src/assets/svgs/index.tsx index eba8b84f..40807549 100644 --- a/src/assets/svgs/index.tsx +++ b/src/assets/svgs/index.tsx @@ -1,4 +1,5 @@ export { default as BannerBasic } from "./BannerBasic"; +export { default as BtnFloating } from "./BtnFloating"; export { default as ButtonDelete24 } from "./ButtonDelete24"; export { default as Empty } from "./Empty"; export { default as IcHamburgar } from "./IcHamburgar"; @@ -39,4 +40,5 @@ export { default as IconWoochaegook } from "./IconWoochaegook"; export { default as IconWoori } from "./IconWoori"; export { default as IconXButton } from "./IconXButton"; export { default as IcOutlinePlace } from "./IcOutlinePlace"; -export { default as Subtract } from "./Subtract"; \ No newline at end of file +export { default as Subtract } from "./Subtract"; +export { default as Union } from "./Union"; \ No newline at end of file diff --git a/src/pages/main/Main.tsx b/src/pages/main/Main.tsx index 9da212af..c32a2815 100644 --- a/src/pages/main/Main.tsx +++ b/src/pages/main/Main.tsx @@ -4,6 +4,7 @@ import * as S from "./Main.styled"; import MainNavigation from "./components/mainNavigation/MainNavigation"; import Carousel from "./components/carousel/Carousel"; import Chips from "./components/chips/Chips"; +import Floating from "./components/floating/Floating"; import Performance from "./components/performance/Performance"; import Footer from "./components/footer/Footer"; @@ -21,6 +22,7 @@ const Main = () => { +