diff --git a/apps/web/package.json b/apps/web/package.json index f881107168..c44f416efa 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -8,6 +8,7 @@ "check": "tsc --pretty --noEmit", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next && rm -rf .swc", "dev": "next dev", + "generate-swaps": "tsx test/swap/scripts/generate-swaps.ts", "lint": "TIMING=1 next lint", "lint:fix": "TIMING=1 next lint --fix", "start": "next start", @@ -129,6 +130,7 @@ "postcss": "8.4.23", "schema-dts": "^1.1.2", "tailwindcss": "3.3.2", + "tsx": "^4.16.5", "typescript": "5.4.5", "unimported": "1.30.0" } diff --git a/apps/web/src/app/(cms)/academy/components/article-card/article-card.tsx b/apps/web/src/app/(cms)/academy/components/article-card/article-card.tsx index 7a8dc06ddc..e780b12d50 100644 --- a/apps/web/src/app/(cms)/academy/components/article-card/article-card.tsx +++ b/apps/web/src/app/(cms)/academy/components/article-card/article-card.tsx @@ -27,7 +27,7 @@ export function ArticleCard({ article }: ArticleCard) { className={classNames( isMediaVideo(article.cover.provider_metadata) ? '' - : 'group-hover:scale-[1.06] scale-[1.01] transition duration-[400ms]', + : 'group-hover:scale-[1.06] scale-[1.01] transition [animation-duration:400ms]', )} image={article.cover} quality={100} diff --git a/apps/web/src/app/(cms)/blog/components/article-card/article-card.tsx b/apps/web/src/app/(cms)/blog/components/article-card/article-card.tsx index 57bc0a7403..d841e14168 100644 --- a/apps/web/src/app/(cms)/blog/components/article-card/article-card.tsx +++ b/apps/web/src/app/(cms)/blog/components/article-card/article-card.tsx @@ -13,14 +13,14 @@ interface ArticleCard { export function ArticleCard({ article }: ArticleCard) { return ( -