Skip to content

Commit

Permalink
Changed some buttons and ui style will update the homepage and the na…
Browse files Browse the repository at this point in the history
…vbar now
  • Loading branch information
Gitstar-OC committed Nov 6, 2024
1 parent b9b4388 commit 5c01c9c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions components/ui/base-card.jsx → components/ui/base-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ const BaseCard = ({
buttonPath,
isDisabled,
extraSteps = [],
colors
}) => {
return (
<>
{/* <div className="flex relative flex-col mx-auto py-8 px-4 rounded-xl items-center sm:mt-4 justify-center overflow-hidden border bg-background md:shadow-xl"> */}
<ShineBorder className="relative flex-col md:w-[80vw] sm:w-[80vw] xl:mt-0 rounded-3xl xl:w-[23rem] xl:h-[29rem] mx-auto items-center sm:mt-4 justify-center overflow-hidden border bg-background md:shadow-xl"
color={["#25AFAA", "#FE8FB5"]} >
{/* <div className="flex relative flex-col mx-auto py-2 px-2 rounded-xl items-center sm:mt-4 justify-center overflow-hidden border bg-background md:shadow-xl"> */}
<ShineBorder className="relative flex-col md:w-[80vw] sm:w-[80vw] xl:mt-0 rounded-3xl xl:w-[22rem] xl:h-[29rem] mx-auto items-center sm:mt-4 justify-center overflow-hidden border bg-background md:shadow-xl"
color={[`${colors}`]} >
{/* <span
className={cn(
"text-xs font-medium px-2.5 py-0.5 rounded-full relative",
Expand Down Expand Up @@ -87,8 +88,8 @@ const BaseCard = ({
className={cn("relative p-[3px] mt-6 mb-6", buttonStyle)}
disabled={isDisabled}
>
<div className="absolute inset-0 bg-gradient-to-r from-[#25AFAA] to-[#4C054C] rounded-lg" />
<div className="flex items-center px-8 py-2 rounded-[6px] text-white relative group transition duration-200 ">
<div className="absolute inset-0 dark:border-white dark:border-[0.01px] border-white bg-gradient-to-r rounded-lg" />
<div className="flex items-center px-8 py-2 rounded-[6px] text-black dark:text-white relative group transition duration-200 ">
Start Learning
<ChevronRightIcon className="ml-2 transition-transform duration-300 group-hover:translate-x-1" />
</div>
Expand Down

0 comments on commit 5c01c9c

Please sign in to comment.