Skip to content

Commit

Permalink
feat: add xcpcio home (#236)
Browse files Browse the repository at this point in the history
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
  • Loading branch information
Dup4 committed Mar 31, 2024
1 parent 603ec08 commit c68b942
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/apps/board/src/components/NavBar.vue
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { GITHUB_URL } from "@xcpcio/types";
import { GITHUB_URL, XCPCIO_HOME } from "@xcpcio/types";
import { availableLocales, loadLanguageAsync } from "~/modules/i18n";
const props = defineProps<{
Expand Down Expand Up @@ -103,6 +103,16 @@ const homeLink = computed(() => {
>
<div i-carbon-logo-github />
</a>
<a
icon-btn
rel="noreferrer"
:href="XCPCIO_HOME"
target="_blank"
title="GitHub"
>
<div i-simple-icons-githubsponsors />
</a>
</div>
</nav>
</header>
Expand Down
1 change: 1 addition & 0 deletions packages/libs/types/src/constant.ts
@@ -1,3 +1,4 @@
export const VERSION = "import.meta.package.version";
export const GITHUB_URL = "import.meta.package.homepage";
export const GITHUB_SHA = "import.meta.git.repo.abbreviatedSha";
export const XCPCIO_HOME = "https://xcpcio.com";

0 comments on commit c68b942

Please sign in to comment.