Skip to content

Commit

Permalink
fix : use new NavBar component
Browse files Browse the repository at this point in the history
  • Loading branch information
jason810496 committed Jan 13, 2024
1 parent 8a66d25 commit 47cbfbc
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<template>
<nav>
<ol>
<li><router-link to="/">首頁</router-link></li>
<li><router-link to="/about">關於單車節</router-link></li>
<li><router-link to="/info">參加資訊</router-link></li>
<li><router-link to="/activities">主題活動</router-link></li>
<li><router-link to="/forum">知識論壇</router-link></li>
<li><router-link to="/partners">合作夥伴</router-link></li>
<li><router-link to="/souvenir">紀念品預購</router-link></li>
</ol>
</nav>
<NavBar />
<router-view></router-view>
</template>

<script setup>
import NavBar from './components/NavBar.vue';
const props = defineProps({
theme: {
type: String,
default: 'light', // dark
},
});
</script>

0 comments on commit 47cbfbc

Please sign in to comment.