From 3adc965dd09490b7efa1cce9f09b0a3b30970277 Mon Sep 17 00:00:00 2001
From: 简律纯 <hsiangnianian@outlook.com>
Date: Wed, 19 Apr 2023 17:30:39 +0800
Subject: ✨优化文档
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 envshare/app/header.tsx | 59 -------------------------------------------------
 1 file changed, 59 deletions(-)
 delete mode 100644 envshare/app/header.tsx

(limited to 'envshare/app/header.tsx')

diff --git a/envshare/app/header.tsx b/envshare/app/header.tsx
deleted file mode 100644
index 9d6a3fe..0000000
--- a/envshare/app/header.tsx
+++ /dev/null
@@ -1,59 +0,0 @@
-"use client";
-import React from "react";
-import Link from "next/link";
-import { usePathname } from "next/navigation";
-
-const navigation = [
-  {
-    name: "Share",
-    href: "/share",
-  },
-  {
-    name: "Unseal",
-    href: "/unseal",
-  },
-  // {
-  //   name: "Deploy",
-  //   href: "/deploy",
-  // },
-  {
-    name: "GitHub",
-    href: "https://github.com/retrofor/ChienDice",
-    external: true,
-  },
-] satisfies { name: string; href: string; external?: boolean }[];
-
-export const Header: React.FC = () => {
-  const pathname = usePathname();
-  return (
-    <header className="top-0 z-30 w-full px-4 sm:fixed backdrop-blur bh-zinc-900/50">
-      <div className="container mx-auto">
-        <div className="flex flex-col items-center justify-between gap-2 pt-6 sm:h-20 sm:flex-row sm:pt-0">
-          <Link href="/" className="text-2xl font-semibold duration-150 text-zinc-100 hover:text-white">
-            EnvShare
-          </Link>
-          {/* Desktop navigation */}
-          <nav className="flex items-center grow">
-            <ul className="flex flex-wrap items-center justify-end gap-4 grow">
-              {navigation.map((item) => (
-                <li className="" key={item.href}>
-                  <Link
-                    className={`flex items-center px-3 py-2 duration-150 text-sm sm:text-base  hover:text-zinc-50
-                    ${pathname === item.href ? "text-zinc-200" : "text-zinc-400"}`}
-                    href={item.href}
-                    target={item.external ? "_blank" : undefined}
-                    rel={item.external ? "noopener noreferrer" : undefined}
-                  >
-                    {item.name}
-                  </Link>
-                </li>
-              ))}
-            </ul>
-          </nav>
-        </div>
-      </div>
-
-      {/* Fancy fading bottom border */}
-    </header>
-  );
-};
-- 
cgit v1.2.3-70-g09d2

