From 04572a8e5081b1e4871e273cde9dbaaa44c52fe0 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Wed, 13 Mar 2024 21:43:44 +0000
Subject: structure: Create apps dir and copy tooling dir from t3-turbo repo

---
 packages/browser-extension/src/Layout.tsx | 51 -------------------------------
 1 file changed, 51 deletions(-)
 delete mode 100644 packages/browser-extension/src/Layout.tsx

(limited to 'packages/browser-extension/src/Layout.tsx')

diff --git a/packages/browser-extension/src/Layout.tsx b/packages/browser-extension/src/Layout.tsx
deleted file mode 100644
index f8279a18..00000000
--- a/packages/browser-extension/src/Layout.tsx
+++ /dev/null
@@ -1,51 +0,0 @@
-import { Outlet } from "react-router-dom";
-import { Home, RefreshCw, Settings, X } from "lucide-react";
-import { useNavigate } from "react-router-dom";
-import usePluginSettings from "./utils/settings";
-
-export default function Layout() {
-  const navigate = useNavigate();
-  const { settings, isPending: isInit } = usePluginSettings();
-  if (!isInit) {
-    return <div className="p-4">Loading ... </div>;
-  }
-
-  if (!settings.apiKey || !settings.address) {
-    navigate("/notconfigured");
-    return;
-  }
-
-  return (
-    <div className="flex flex-col space-y-2">
-      <div className="rounded-md bg-yellow-100 p-4">
-        <Outlet />
-      </div>
-      <hr />
-      <div className="flex justify-between space-x-3">
-        <div className="my-auto">
-          <a
-            className="flex gap-2 text-black"
-            target="_blank"
-            href={`${settings.address}/dashboard/bookmarks`}
-          >
-            <Home />
-            <span className="text-md my-auto">Bookmarks</span>
-          </a>
-        </div>
-        <div className="flex space-x-3">
-          {process.env.NODE_ENV == "development" && (
-            <button onClick={() => navigate(0)}>
-              <RefreshCw className="w-4" />
-            </button>
-          )}
-          <button onClick={() => navigate("/options")}>
-            <Settings className="w-4" />
-          </button>
-          <button onClick={() => window.close()}>
-            <X className="w-4" />
-          </button>
-        </div>
-      </div>
-    </div>
-  );
-}
-- 
cgit v1.2.3-70-g09d2

