diff --git a/custom/react/components/Countdown/assets/box-white.svg b/custom/react/components/Countdown/assets/box-white.svg
new file mode 100644
index 0000000..2470cb3
--- /dev/null
+++ b/custom/react/components/Countdown/assets/box-white.svg
@@ -0,0 +1,10 @@
+
diff --git a/custom/react/components/Countdown/assets/brand-makup.png b/custom/react/components/Countdown/assets/brand-makup.png
new file mode 100644
index 0000000..81d7bd3
Binary files /dev/null and b/custom/react/components/Countdown/assets/brand-makup.png differ
diff --git a/custom/react/components/Countdown/indext.tsx b/custom/react/components/Countdown/indext.tsx
index 1da959f..43df068 100644
--- a/custom/react/components/Countdown/indext.tsx
+++ b/custom/react/components/Countdown/indext.tsx
@@ -1,5 +1,6 @@
import React, { useEffect, useState } from "react";
-
+import styles from "./styles.css";
+import clock from "./assets/box-white.svg";
interface CountdownProps {
//formato: dd/mm/yyyy//hh:mm
endDate: string;
@@ -68,7 +69,30 @@ const Countdown = ({ endDate }: CountdownProps) => {
const minuteString = time.minute.toString().padStart(2, "0");
const secondString = time.second.toString().padStart(2, "0");
- return
{`${hourString}:${minuteString}:${secondString}`}
;
+ return (
+
+
+
+
+
+
+
ofertas
+
+ Não perca tempo,
+
+
+ garanta agora!
+
+
+
+ {`${hourString}:${minuteString}:${secondString}`}
+
+
+ );
};
export default Countdown;
diff --git a/custom/react/components/Countdown/styles.css b/custom/react/components/Countdown/styles.css
new file mode 100644
index 0000000..79ff88b
--- /dev/null
+++ b/custom/react/components/Countdown/styles.css
@@ -0,0 +1,67 @@
+.countdown {
+ background-image: url('./assets/brand-makup.png');
+ width: 414px;
+ height: 463px;
+ background-color: #4e1e52;
+ border-radius: 30px;
+ position: relative;
+ background-blend-mode: multiply;
+}
+
+.countdownTitle {
+ color: white;
+ padding-top: 40px;
+ text-align: center;
+}
+
+.countdownTitleHeading1 {
+ margin: 0;
+ font-size: 40px;
+ line-height: 48px;
+ letter-spacing: -0.05em;
+
+}
+.countdownTitleHeading3 {
+ margin: 0;
+ font-size: 18px;
+ line-height: 20px;
+ letter-spacing: -0.05em;
+ font-weight: 300;
+}
+.countdownTitleHeading2 {
+ margin: 0;
+ font-size: 26px;
+ line-height: 20px;
+ letter-spacing: -0.05em;
+}
+
+.countdownText {
+ position: absolute;
+
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+
+ color: white;
+ font-size: 24px;
+ font-weight: 200;
+ letter-spacing: 0.1em;
+
+ width: 170px;
+ height: 170px;
+ border-radius: 50%;
+
+ border: 2px solid #ffffff10;
+
+ display: grid;
+ place-items: center;
+}
+
+.countdownBadge {
+ position: absolute;
+ top: 30px;
+ right: 0;
+ background-color: #47bb77;
+ border-radius: 80px 0 0 80px;
+ padding: 8px 10px 6px 34px;
+}
diff --git a/custom/react/index.d.ts b/custom/react/index.d.ts
new file mode 100644
index 0000000..dd4ab7e
--- /dev/null
+++ b/custom/react/index.d.ts
@@ -0,0 +1 @@
+declare module "*.svg";