Skip to content

Commit

Permalink
chore: Update npm dependencies to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsochorec committed Aug 15, 2024
1 parent 2782a2a commit 739ce58
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions frontend/src/components/NavigationView.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<script setup>
import { RouterLink } from "vue-router";
import { useAuth } from "../modules/users";
const auth = useAuth();
// import useUsers from '../modules/users'
// const { isAuthenticated, logIn, logOut } = useUsers()
</script>
<template>
Expand All @@ -13,7 +16,6 @@ const auth = useAuth();
<div v-if="!auth.isAuthenticated.value">
<button class="cta login" @click="auth.logIn()">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="user">
<!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
d="M406.5 399.6C387.4 352.9 341.5 320 288 320H224c-53.5 0-99.4 32.9-118.5 79.6C69.9 362.2 48 311.7 48 256C48 141.1 141.1 48 256 48s208 93.1 208 208c0 55.7-21.9 106.2-57.5 143.6zm-40.1 32.7C334.4 452.4 296.6 464 256 464s-78.4-11.6-110.5-31.7c7.3-36.7 39.7-64.3 78.5-64.3h64c38.8 0 71.2 27.6 78.5 64.3zM256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-272a40 40 0 1 1 0-80 40 40 0 1 1 0 80zm-88-40a88 88 0 1 0 176 0 88 88 0 1 0 -176 0z"
/>
Expand All @@ -24,14 +26,13 @@ const auth = useAuth();
<div v-else>
<button class="cta login" @click="auth.logOut()">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="user">
<!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
d="M406.5 399.6C387.4 352.9 341.5 320 288 320H224c-53.5 0-99.4 32.9-118.5 79.6C69.9 362.2 48 311.7 48 256C48 141.1 141.1 48 256 48s208 93.1 208 208c0 55.7-21.9 106.2-57.5 143.6zm-40.1 32.7C334.4 452.4 296.6 464 256 464s-78.4-11.6-110.5-31.7c7.3-36.7 39.7-64.3 78.5-64.3h64c38.8 0 71.2 27.6 78.5 64.3zM256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-272a40 40 0 1 1 0-80 40 40 0 1 1 0 80zm-88-40a88 88 0 1 0 176 0 88 88 0 1 0 -176 0z"
/>
</svg>
&nbsp; Log out
</button>
</div>
<p>{{ auth.isAuthenticated }}</p>
-->

<!--<p>{{ auth.isAuthenticated }}</p>-->
</template>

0 comments on commit 739ce58

Please sign in to comment.