Skip to content

Commit

Permalink
Merge pull request #17 from sunpochin/profile
Browse files Browse the repository at this point in the history
Profile
  • Loading branch information
sunpochin committed Jan 2, 2024
2 parents dc250a0 + cc58cf0 commit ba55d6a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,32 @@ const LoginLogout = () => {
};
</script>

<!-- <script>
import { useCartStore } from "@/store/cart";
const cartStore = useCartStore();
export default {
name: "NavBar",
setup() {},
components: {
CartComp,
},
data() {
return {
isOpen: false,
cart: false,
};
},
methods: {
goHome() {
this.$router.push("/");
},
ToggleCart() {
this.cart = !this.cart;
cartStore.toggleCart();
},
},
};
</script> -->

<style scoped>
header {
Expand Down

0 comments on commit ba55d6a

Please sign in to comment.