-
- {categories.map(category => t(`categories.${category}`)).join(', ')}
-
-
{name}
-
-
- {/* @ts-expect-error */}
-
{t(`descriptions.${id}`)}
-
-
- {convertPrice()}
- {deprecated && {t('deprecated.title')}}
-
-
-
- );
-};
diff --git a/views/products/productsData.ts b/views/products/productsData.ts
deleted file mode 100644
index e022382..0000000
--- a/views/products/productsData.ts
+++ /dev/null
@@ -1,588 +0,0 @@
-export enum CategoriesProductEnum {
- NODE_JS = 'node_js',
- REACT = 'react',
- REACT_NATIVE = 'react_native',
- TYPESCRIPT = 'typescript',
- IPS_APPS = 'ips_apps',
- IPS_THEMES = 'ips_themes',
- IPS_TRANSLATIONS = 'ips_translations',
- OTHERS = 'others'
-}
-
-export interface LinksProductsInterface {
- demo?: string;
- github?: string;
- invisionize?: string;
-}
-
-export interface ProductsInterface {
- categories: CategoriesProductEnum[];
- createdAt: number;
- id: string;
- images: string[];
- links: LinksProductsInterface;
- name: string;
- oneUSDtoPLN: number | undefined;
- price: number;
- deprecated?: boolean;
- single?: boolean;
-}
-
-export const productsData: Omit