feat: front

This commit is contained in:
tymur999
2024-10-19 15:40:56 -04:00
committed by Mark Goltsman
parent 3c4f501316
commit 496b7b1492
7 changed files with 169 additions and 18 deletions

26
src/app/landing/time.tsx Normal file
View File

@@ -0,0 +1,26 @@
"use client"
import 'react-circular-progressbar/dist/styles.css';
import { CircularProgressbar, buildStyles } from 'react-circular-progressbar';
// import { useState } from "react";
export function Time() {
// const [secondsLeft, _setSecondsLeft] = useState(100);
const percentage = 66;
return <div className="absolute top-0 z-[-999] flex flex-col bg-[#ff5757] h-full w-full items-center justify-center">
<h1 className="absolute text-9xl font-bold drop-shadow-md shadow-black">
{
Math.trunc(100 / 60)
}
</h1>
<div className="flex w-[300px] h-[300px]">
<CircularProgressbar
background={false}
styles={buildStyles({
pathColor: "white",
trailColor: "#ff5757",
strokeLinecap: "butt"
})} value={percentage} />
</div>
</div>
}