<template>
    <ul id="links">
        <li>
            <a :href="'mailto:' + globalData.mail">{{ $t('global.mail_label') }}</a>
        </li>
        <li>
            <a :href="globalData.instagram_link" target="_blank">Instagram</a>
        </li>
        <li>
            <a :href="globalData.linkedin_link" target="_blank">Linkedin</a>
        </li>
        <li>
            <a :href="globalData.code_link" target="_blank">Code</a>
        </li>
    </ul>
</template>

<script>
export default {
    async setup() {
        let globalData = await useFetchGlobalData();
        globalData = globalData.globalData._object.$sglobalData;

        return {
            globalData
        }
    }
}
</script>