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/Buttons/ButtonLink/ButtonLink.tsx | 30 ------------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 src/components/Buttons/ButtonLink/ButtonLink.tsx

(limited to 'src/components/Buttons/ButtonLink/ButtonLink.tsx')

diff --git a/src/components/Buttons/ButtonLink/ButtonLink.tsx b/src/components/Buttons/ButtonLink/ButtonLink.tsx
deleted file mode 100644
index 179c686..0000000
--- a/src/components/Buttons/ButtonLink/ButtonLink.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import { ButtonPosition } from '@ts/types/app';
-import Link from 'next/link';
-import { ReactNode } from 'react';
-import styles from '../Buttons.module.scss';
-
-const ButtonLink = ({
-  children,
-  target,
-  position = 'left',
-  isExternal = false,
-}: {
-  children: ReactNode;
-  target: string;
-  position?: ButtonPosition;
-  isExternal?: boolean;
-}) => {
-  const classes = `${styles.btn} ${styles[position]} ${styles.tertiary}`;
-
-  return isExternal ? (
-    <a className={classes} href={target}>
-      {children}
-    </a>
-  ) : (
-    <Link href={target}>
-      <a className={classes}>{children}</a>
-    </Link>
-  );
-};
-
-export default ButtonLink;
-- 
cgit v1.2.3

