Skip to content

Commit

Permalink
Replace anchor tag with RouterLink in Home.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
yeeway0609 committed Mar 3, 2024
1 parent df11585 commit 7c3fe57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
alt="psychological-test"
src="/home/psychological-test-preview.png"
/>
<a
<RouterLink
to="https://nckubikefestival.ncku.edu.tw/BikeFestival17th-Psychological/"
target="_blank"
class="mt-4 hidden sm:flex justify-center items-center lg:w-40 lg:h-16 px-6 py-3 bg-white rounded-lg text-primary-900 font-bold cursor-pointer"
>
即刻遊玩
</a>
</RouterLink>
</div>

<div class="flex-1 relative px-[2rem] sm:p-0 py-10 sm:overflow-visible overflow-hidden">
Expand All @@ -77,13 +77,13 @@
</div>
</div>

<a
<RouterLink
to="https://nckubikefestival.ncku.edu.tw/BikeFestival17th-Psychological/"
target="_blank"
class="mt-4 mx-auto w-80 h-12 sm:hidden flex justify-center items-center px-6 py-3 bg-white rounded-lg text-primary-900 font-bold cursor-pointer"
>
即刻遊玩
</a>
</RouterLink>
</div>

<!-- 8 theme activities -->
Expand Down

0 comments on commit 7c3fe57

Please sign in to comment.