Skip to content

Commit

Permalink
update GitHub link in the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackie Yang committed Oct 15, 2024
1 parent 2b45ffa commit 27bc895
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/FooterComponent.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<script setup lang="ts">
import { footerIconSize } from '@/assets/common';
const toUrl = (url: string) => {
window.open(url, '_blank');
}
</script>

<template>
Expand All @@ -12,10 +15,10 @@ import { footerIconSize } from '@/assets/common';
</div>
<!-- 右侧引导栏 -->
<div class="flex gap-4">
<icon-qq :size="footerIconSize" class="text-info cursor-pointer"/>
<icon-wechat :size="footerIconSize" class="text-info cursor-pointer" />
<icon-twitter :size="footerIconSize" class="text-info cursor-pointer" />
<icon-github :size="footerIconSize" class="text-info cursor-pointer" />
<icon-qq :size="footerIconSize" class="text-info cursor-pointer transition-colors"/>
<icon-wechat :size="footerIconSize" class="text-info cursor-pointer transition-colors" />
<icon-twitter :size="footerIconSize" class="text-info cursor-pointer transition-colors" />
<icon-github :size="footerIconSize" class="text-info cursor-pointer transition-colors" @click="toUrl('https://github.com/jackieyyang/gpa-calculator')"/>
</div>
</div>
</div>
Expand Down

0 comments on commit 27bc895

Please sign in to comment.