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/templates/layout/layout.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/components/templates/layout/layout.tsx')

diff --git a/src/components/templates/layout/layout.tsx b/src/components/templates/layout/layout.tsx
index c994469..444b170 100644
--- a/src/components/templates/layout/layout.tsx
+++ b/src/components/templates/layout/layout.tsx
@@ -16,7 +16,7 @@ import {
   useScrollPosition,
   useSettings,
 } from '../../../utils/hooks';
-import { ButtonLink, Icon, Main, NoScript } from '../../atoms';
+import { ButtonLink, Icon, Main } from '../../atoms';
 import {
   SiteFooter,
   type SiteFooterProps,
@@ -264,8 +264,7 @@ export const Layout: FC<LayoutProps> = ({
         topId="top"
       />
       <noscript>
-        {/*eslint-disable-next-line react/jsx-no-literals -- Position allowed*/}
-        <NoScript message={noScript} position="top" />
+        <div className={styles.noscript}>{noScript}</div>
       </noscript>
     </>
   );
-- 
cgit v1.2.3

