fix: base component dirs, remove duplicate component instance

This commit is contained in:
Sajad Mirjalili
2025-09-26 16:02:28 +03:30
parent 5e332861cd
commit d4ee5114ab
18 changed files with 76 additions and 290 deletions

View File

@@ -1,12 +1,12 @@
import Logo from '@/components/Logo';
import { type FC } from 'react';
import type { ReactElement } from 'react';
export interface Product {
id: string;
titleKey: string;
descriptionKey: string;
LogoComponent: FC;
demoLink: string | null;
LogoComponent: ReactElement;
demoLink: string;
}
export const productsData: Product[] = [
@@ -14,8 +14,8 @@ export const productsData: Product[] = [
id: 'harmony-club',
titleKey: 'products.harmonyClub.title',
descriptionKey: 'products.harmonyClub.description',
LogoComponent: Logo, // Reference the component
demoLink: null, // FIXME: update this url
LogoComponent: <Logo isIcon boxSx={{ width: 69, height: 55 }} />, // Reference the component
demoLink: '', // FIXME: update this url
},
// add more products here
];