Skip to content

Commit

Permalink
v1.2.8 & Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
llaoj committed Apr 5, 2024
1 parent 955f209 commit 705a6ca
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
9 changes: 7 additions & 2 deletions frontend/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Avator from "@/components/avator";
import Link from "next/link";
import { useLocale, useTranslations } from "next-intl";
import useAuth from "@/lib/auth";
import pack from "@/package.json";

export default function Navbar() {
const locale = useLocale();
Expand Down Expand Up @@ -41,8 +42,12 @@ export default function Navbar() {
<Link
href={
locale == "zh"
? "https://github.com/llaoj/gcopy/blob/v1.0.0/docs/zh-CN/README.md"
: "https://github.com/llaoj/gcopy/blob/v1.0.0/README.md"
? "https://github.com/llaoj/gcopy/blob/v" +
pack.version +
"/docs/zh-CN/README.md"
: "https://github.com/llaoj/gcopy/blob/v" +
pack.version +
"/README.md"
}
target="_blank"
>
Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gcopy",
"version": "1.2.7",
"version": "1.2.8",
"private": true,
"scripts": {
"dev": "next dev -p 3375 --experimental-https",
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.2.7
v1.2.8

0 comments on commit 705a6ca

Please sign in to comment.