Skip to content

Commit

Permalink
feat(docs): improve button design
Browse files Browse the repository at this point in the history
  • Loading branch information
alicanerdurmaz committed Nov 29, 2024
1 parent 995bb69 commit 9324d40
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions documentation/src/pages/ai/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ const JoinTheWaitlistButton = (props: CommonSectionProps) => {
target="_blank"
rel="noreferrer"
className={clsx(
"relative",
"block",
"text-inherit",
"no-underline",
Expand All @@ -374,15 +375,14 @@ const JoinTheWaitlistButton = (props: CommonSectionProps) => {
"items-center",
"justify-center",
"rounded-full",
"p-px",
"p-[2px]",
"overflow-hidden",
"border border-transparent",
)}
>
<div
className={clsx(
"w-[300px] h-[300px]",
"z-[1]",
"p-px",
"absolute",
"dark:bg-join-ai-waitlist-button-border-dark",
Expand Down
10 changes: 7 additions & 3 deletions documentation/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,14 +530,14 @@ module.exports = {
)`,
"join-ai-waitlist-button-border-light": `conic-gradient(
from 45deg at 50% 50%,
#bbbcff45,
#bbbcff45,
#4849FF,
#bbbcff45,
#4849FF,
#bbbcff45,
#bbbcff45,
#4849FF,
#bbbcff45,
#4849FF,
#bbbcff45,
#bbbcff45
)`,
"refine-ai-page-bg-dark": [
Expand Down Expand Up @@ -624,6 +624,10 @@ module.exports = {
"new-badge-border": "new-badge-border 4s linear infinite",
reveal: "reveal 0.3s ease-in-out forwards",
"progress-fill": "progressFill 1s linear 1 forwards",
"join-ai-waitlist-button-border-shadow-left":
"join-ai-waitlist-button-border-shadow-left 4s linear infinite",
"join-ai-waitlist-button-border-shadow-right":
"join-ai-waitlist-button-border-shadow-right 4s linear ease-in-out reverse",
},
keyframes: {
progressFill: {
Expand Down

0 comments on commit 9324d40

Please sign in to comment.