<template>
  <q-btn
    @click="auth.googleLogin()"
    style="width: 300px">
    <q-avatar
      left
      class="q-ma-xs"
      size="sm">
      <img
        src="https://lh3.googleusercontent.com/COxitqgJr1sJnIDe8-jiKhxDx1FrYbtRHKJ9z_hELisAlapwE9LUPh6fcXIfb5vwpbMl4xl9H9TRFPc5NOO8Sb3VSgIBrfRYvW6cUA" />
    </q-avatar>
    <div>Login with Google</div>
  </q-btn>
</template>

<script setup lang="ts">
import { useAuthStore } from 'src/stores/auth';
const auth = useAuthStore();
</script>
