aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/envshare/app
diff options
context:
space:
mode:
author简律纯 <hsiangnianian@outlook.com>2023-04-18 03:09:15 +0800
committer简律纯 <hsiangnianian@outlook.com>2023-04-18 03:09:15 +0800
commit10c770cddf17b4b0ff7742a88840eea6246e0b5e (patch)
treef91990d1131266089cfc9d3f691b29553dd0e81e /envshare/app
parent3c35c3deb47b819b2327bf94444d653a5e5303a4 (diff)
downloadHydroRoll-10c770cddf17b4b0ff7742a88840eea6246e0b5e.tar.gz
HydroRoll-10c770cddf17b4b0ff7742a88840eea6246e0b5e.zip
🏷replace
Diffstat (limited to 'envshare/app')
-rw-r--r--envshare/app/components/stats.tsx2
-rw-r--r--envshare/app/header.tsx11
-rw-r--r--envshare/app/layout.tsx2
-rw-r--r--envshare/app/page.tsx6
4 files changed, 10 insertions, 11 deletions
diff --git a/envshare/app/components/stats.tsx b/envshare/app/components/stats.tsx
index 31d74bc..be1aa71 100644
--- a/envshare/app/components/stats.tsx
+++ b/envshare/app/components/stats.tsx
@@ -9,7 +9,7 @@ export const Stats = asyncComponent(async () => {
.get("envshare:metrics:reads")
.get("envshare:metrics:writes")
.exec<[number, number]>();
- const stars = await fetch("https://api.github.com/repos/chronark/envshare")
+ const stars = await fetch("https://api.github.com/repos/retrofor/ChienDice")
.then((res) => res.json())
.then((json) => json.stargazers_count as number);
diff --git a/envshare/app/header.tsx b/envshare/app/header.tsx
index 872459a..9d6a3fe 100644
--- a/envshare/app/header.tsx
+++ b/envshare/app/header.tsx
@@ -12,14 +12,13 @@ const navigation = [
name: "Unseal",
href: "/unseal",
},
-
- {
- name: "Deploy",
- href: "/deploy",
- },
+ // {
+ // name: "Deploy",
+ // href: "/deploy",
+ // },
{
name: "GitHub",
- href: "https://github.com/chronark/envshare",
+ href: "https://github.com/retrofor/ChienDice",
external: true,
},
] satisfies { name: string; href: string; external?: boolean }[];
diff --git a/envshare/app/layout.tsx b/envshare/app/layout.tsx
index 557407d..1bb4b68 100644
--- a/envshare/app/layout.tsx
+++ b/envshare/app/layout.tsx
@@ -33,7 +33,7 @@ export default function RootLayout({
</Link>
and{" "}
<Link
- href="https://github.com/chronark/envshare/graphs/contributors"
+ href="https://github.com/retrofor/ChienDice/graphs/contributors"
className="underline duration-150 hover:text-zinc-200"
>
many others{" "}
diff --git a/envshare/app/page.tsx b/envshare/app/page.tsx
index ba659ca..5cda54d 100644
--- a/envshare/app/page.tsx
+++ b/envshare/app/page.tsx
@@ -8,7 +8,7 @@ export default function Home() {
<div className="flex flex-col items-center justify-center max-w-3xl px-8 mx-auto mt-8 sm:min-h-screen sm:mt-0 sm:px-0">
<div className="hidden sm:mb-8 sm:flex sm:justify-center">
<Link
- href="https://github.com/chronark/envshare"
+ href="https://github.com/retrofor/ChienDice"
className="text-zinc-400 relative overflow-hidden rounded-full py-1.5 px-4 text-sm leading-6 ring-1 ring-zinc-100/10 hover:ring-zinc-100/30 duration-150"
>
EnvShare is Open Source on{" "}
@@ -26,12 +26,12 @@ export default function Home() {
operations. Unencrypted data never leaves your browser.
</p>
<div className="flex flex-col justify-center gap-4 mx-auto mt-8 sm:flex-row sm:max-w-lg ">
- <Link
+ {/* <Link
href="/deploy"
className="sm:w-1/2 sm:text-center inline-block space-x-2 rounded px-4 py-1.5 md:py-2 text-base font-semibold leading-7 text-white ring-1 ring-zinc-600 hover:bg-white hover:text-zinc-900 duration-150 hover:ring-white hover:drop-shadow-cta"
>
Deploy
- </Link>
+ </Link> */}
<Link
href="/share"
className="sm:w-1/2 sm:text-center inline-block transition-all space-x-2 rounded px-4 py-1.5 md:py-2 text-base font-semibold leading-7 text-zinc-800 bg-zinc-50 ring-1 ring-transparent hover:text-zinc-100 hover:ring-zinc-600/80 hover:bg-zinc-900/20 duration-150 hover:drop-shadow-cta"