Fix build errors and complete help documentation setup

- Fix JSON syntax error in Basque translation file (eu/help.json)
  * Fixed multi-line string that was breaking JSON parsing
- Add missing frontend/src/lib/utils.ts file
  * Created cn() utility function for merging CSS class names
  * Required by UI components (Progress, Alert, Accordion)
- Update package-lock.json from npm install

These changes fix build errors and ensure the help/docs pages work correctly with i18n translations.
This commit is contained in:
Claude
2025-11-18 12:19:04 +00:00
parent d98fed0cd0
commit 2378a8645f
3 changed files with 15 additions and 33 deletions

View File

@@ -0,0 +1,6 @@
import { type ClassValue, clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}

View File

@@ -146,9 +146,7 @@
{
"category": "general",
"question": "Zer da Bakery AI eta nola funtzionatzen du?",
"answer": "Bakery AI kudeaketa plataforma adimentsua da okindegieta
rako. Adimen artifiziala erabiltzen du zure produktuen eskaria aurreikusteko, ekoizpena optimizatzeko, hondakinak murrizteko eta errentagarritasuna handitzeko."
"answer": "Bakery AI kudeaketa plataforma adimentsua da okindegetarako. Adimen artifiziala erabiltzen du zure produktuen eskaria aurreikusteko, ekoizpena optimizatzeko, hondakinak murrizteko eta errentagarritasuna handitzeko."
},
{
"category": "general",