From 7e16f500cb7bc0cfd8bafbf6bb1555704f771231 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 29 Apr 2022 12:13:34 +0200
Subject: chore: remove old pages, components, helpers and types

Since I'm using new components, I will also rewrite the GraphQL queries
so it is easier to start from scratch.
---
 src/components/MetaItems/MetaItem/MetaItem.tsx | 36 --------------------------
 1 file changed, 36 deletions(-)
 delete mode 100644 src/components/MetaItems/MetaItem/MetaItem.tsx

(limited to 'src/components/MetaItems/MetaItem/MetaItem.tsx')

diff --git a/src/components/MetaItems/MetaItem/MetaItem.tsx b/src/components/MetaItems/MetaItem/MetaItem.tsx
deleted file mode 100644
index 5c51283..0000000
--- a/src/components/MetaItems/MetaItem/MetaItem.tsx
+++ /dev/null
@@ -1,36 +0,0 @@
-import { MetaKind } from '@ts/types/app';
-import { ReactElement } from 'react';
-import styles from './MetaItem.module.scss';
-
-const MetaItem = ({
-  title,
-  value,
-  values,
-  info,
-  kind = 'list',
-}: {
-  title: string;
-  value?: ReactElement | string;
-  values?: ReactElement[] | string[];
-  info?: string;
-  kind: MetaKind;
-}) => {
-  return (
-    <div className={styles[`wrapper--${kind}`]}>
-      <dt className={styles[`title--${kind}`]}>{title}</dt>
-      {value && (
-        <dd className={styles[`body--${kind}`]} title={info}>
-          {value}
-        </dd>
-      )}
-      {values &&
-        values.map((currentValue, index) => (
-          <dd key={index} className={styles[`body--${kind}`]} title={info}>
-            {currentValue}
-          </dd>
-        ))}
-    </div>
-  );
-};
-
-export default MetaItem;
-- 
cgit v1.2.3

