progmaweb
The site and account service of Progmasoft: a Next.js frontend and an ASP.NET Core API.
Clonegit clone https://git.progmasoft.com/progmaweb
Answer Codacy on the catalog and the moving colours
- Commit
27b288f47f967f0eb43bea2dea25a144d8bf88d3- Author
- Leitwolf11 ·
- Parents
5968b8155b8c
Changes
apps/web/app/globals.css | 2 ++ apps/web/app/products/page.tsx | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/web/app/globals.css b/apps/web/app/globals.css index 91ce6ed..cc7b28b 100644 --- a/apps/web/app/globals.css +++ b/apps/web/app/globals.css @@ -1721,6 +1721,7 @@ textarea { from { background-position: 0% 40%; } + to { background-position: 100% 60%; } @@ -1730,6 +1731,7 @@ textarea { from { background-position: 50% 0%; } + to { background-position: 50% 100%; } diff --git a/apps/web/app/products/page.tsx b/apps/web/app/products/page.tsx index 8452170..6b89599 100644 --- a/apps/web/app/products/page.tsx +++ b/apps/web/app/products/page.tsx @@ -17,6 +17,7 @@ import { getCatalogMessages, parseProductFilter, productCategories, + productFacts, productLanguages, productSlugs, productStatuses, @@ -150,7 +151,7 @@ export default async function ProductsPage({ searchParams }: CatalogProps) { <li key={`${slug}-${release.version}`}> <span className="pm-release-dot pm-live-accent" - style={accentStyle(products[slug].accent)} + style={accentStyle(productFacts(slug).accent)} aria-hidden="true" /> <a href={release.url}>