Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 70500fb

Browse files
committed
Add link to GitHub repository
1 parent 83df919 commit 70500fb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/components/PageHeader.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
<script setup lang="ts">
22
import { RouterLink } from "vue-router";
33
import Menubar from "primevue/menubar";
4+
import type { MenuItem } from "primevue/menuitem";
45
import UserInput from "./UserInput.vue";
56
6-
const items = [
7+
const items: MenuItem[] = [
78
{
89
label: "比赛",
910
icon: "pi pi-chart-bar",
1011
route: "/",
1112
},
13+
{
14+
label: "GitHub",
15+
icon: "pi pi-github",
16+
url: "https://github.com/wxh06/lgtracker",
17+
},
1218
];
1319
</script>
1420

0 commit comments

Comments
 (0)