import {
  defineComponent,
} from 'vue'
import { tools } from '@src/store/Modules/tools'
import { FormNewsletter } from '../FormNewsletter'
import { Logo } from '../logo'
import { useI18n } from 'vue-i18n'

export default defineComponent({
  name: 'TestPao',
  components: { Logo, FormNewsletter },
  props: {
    mystyle: {
      type: Boolean,
      required: false,
      default: false,
    },
  },

  setup() {
    function logoimg() {
      return `${tools.getimglogo()}`
    }

    function logoalt() {
      const { t } = useI18n();
      return t('ws.sitename')
    }

    return {
      logoimg,
      logoalt,
    }
  },
})
