From 3adc965dd09490b7efa1cce9f09b0a3b30970277 Mon Sep 17 00:00:00 2001 From: 简律纯 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 ( -
-
-
- - EnvShare - - {/* Desktop navigation */} - -
-
- - {/* Fancy fading bottom border */} -
- ); -}; -- cgit v1.2.3-70-g09d2