From 6221fa82e41915702d8139cade5c25e9d61e619f Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 2 Oct 2023 17:39:16 +0200
Subject: refactor(components): remove Column and NoScript from atoms

* Column is a simple div meant to be used inside Columns component so
they should live together.
* NoScript is only used in Layout component and its name does not
make sense since it needs to be used inside a `noscript` element.
---
 src/components/atoms/layout/no-script.tsx | 22 ----------------------
 1 file changed, 22 deletions(-)
 delete mode 100644 src/components/atoms/layout/no-script.tsx

(limited to 'src/components/atoms/layout/no-script.tsx')

diff --git a/src/components/atoms/layout/no-script.tsx b/src/components/atoms/layout/no-script.tsx
deleted file mode 100644
index a79feaf..0000000
--- a/src/components/atoms/layout/no-script.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-import { FC } from 'react';
-import styles from './no-script.module.scss';
-
-export type NoScriptProps = {
-  /**
-   * The noscript message.
-   */
-  message: string;
-  /**
-   * The message position. Default: initial.
-   */
-  position?: 'initial' | 'top';
-};
-
-export const NoScript: FC<NoScriptProps> = ({
-  message,
-  position = 'initial',
-}) => {
-  const positionClass = styles[`noscript--${position}`];
-
-  return <div className={`${styles.noscript} ${positionClass}`}>{message}</div>;
-};
-- 
cgit v1.2.3

