Clean Code

This commit is contained in:
PascalMarchesseault
2024-06-30 17:10:31 -04:00
parent 9617231073
commit 5476f64d09

View File

@@ -24,7 +24,7 @@
<!-- Facebook--> <!-- Facebook-->
<!-- </v-btn>--> <!-- </v-btn>-->
<div class="w-full h-0.5 mb-2 mt-4 mb-4" :style="{ backgroundColor: '#A30E79' }"></div> <div class="w-full h-0.5 mt-4 mb-4" :style="{ backgroundColor: '#A30E79' }"></div>
<v-btn density="comfortable" class="mb-2 w-full" @click="showEmailForm = !showEmailForm"> <v-btn density="comfortable" class="mb-2 w-full" @click="showEmailForm = !showEmailForm">
<v-icon left>mdi-account</v-icon> <v-icon left>mdi-account</v-icon>
@@ -79,7 +79,7 @@ import { useRouter } from 'vue-router';
import { useClient } from "@/plugins/api.js"; import { useClient } from "@/plugins/api.js";
import { auth } from '@/stores/auth.js'; import { auth } from '@/stores/auth.js';
import { GoogleLogin } from "vue3-google-login"; import { GoogleLogin } from "vue3-google-login";
import { FacebookAuth } from '@xtiannyeto/vue-auth-social'; // import { FacebookAuth } from '@xtiannyeto/vue-auth-social';
import SelectedFooter from "@/views/main/SelectedFooter.vue"; import SelectedFooter from "@/views/main/SelectedFooter.vue";
const api = useClient(); const api = useClient();
@@ -106,8 +106,8 @@ const googleCallback = async (response) => {
await router.push("/"); await router.push("/");
}; };
const facebookAppId = import.meta.env.VITE_FACEBOOK_APP_ID; // const facebookAppId = import.meta.env.VITE_FACEBOOK_APP_ID;
const facebookCallback = (response) => { // const facebookCallback = (response) => {
console.log("User Successfully Logged In", response); // console.log("User Successfully Logged In", response);
}; // };
</script> </script>