chore(website): fix CI failed

This commit is contained in:
JiPai 2024-09-07 17:05:14 +08:00
parent 189c2b768d
commit 6e6df2c771
7 changed files with 750 additions and 1014 deletions

View File

@ -39,7 +39,6 @@ export function CallToAction() {
{t("callToAction.des")}
</p>
{/* @ts-expect-error */}
<Button className="mt-10 rounded-full" asChild>
<Link
href={linkT("docs.install")}

View File

@ -202,7 +202,6 @@ export function Header() {
</span>
<HeartIcon className="animate-heartbeat size-4 fill-red-600 text-red-500 " />
</Link>
{/* @ts-expect-error */}
<Button
className="rounded-full bg-[#5965F2] hover:bg-[#4A55E0]"
asChild

View File

@ -125,7 +125,6 @@ export function Hero() {
Discord
</Link>
</Button> */}
{/* @ts-expect-error */}
<Button className="rounded-xl" asChild>
<Link
href="https://github.com/dokploy/dokploy"

View File

@ -46,7 +46,6 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
({ className, variant, size, asChild = false, ...props }, ref) => {
const Comp = asChild ? Slot : "button";
return (
// @ts-expect-error
<Comp
className={cn(buttonVariants({ variant, size, className }))}
ref={ref}

View File

@ -17,8 +17,6 @@
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@types/node": "20.4.6",
"@types/react": "18.2.18",
"@types/react-dom": "18.2.7",
"autoprefixer": "^10.4.12",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
@ -36,6 +34,8 @@
},
"devDependencies": {
"@biomejs/biome": "1.7.0",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"eslint": "8.45.0",
"eslint-config-next": "13.4.16",
"prettier": "^3.0.1",

View File

@ -45,5 +45,9 @@
},
"commitlint": {
"extends": ["@commitlint/config-conventional"]
},
"resolutions": {
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0"
}
}

File diff suppressed because it is too large Load Diff