2022-09-20 19:59:52 +00:00
|
|
|
<template>
|
2022-10-07 07:57:04 +00:00
|
|
|
<div class="w-full">
|
|
|
|
<div class="grid md:grid-cols-3 my-8">
|
|
|
|
<div class="flex mt-2">
|
2022-10-06 10:15:08 +00:00
|
|
|
<p class="text-sm text-gray-600 dark:text-gray-400 text-center w-full">
|
2023-03-15 17:16:28 +00:00
|
|
|
© Copyright {{ currYear }}. All Rights Reserved
|
2022-10-06 10:15:08 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
2022-10-07 07:57:04 +00:00
|
|
|
<div class="flex justify-center mt-5 md:mt-0">
|
2022-11-05 18:45:31 +00:00
|
|
|
<router-link :to="{ name: user ? 'home' : 'welcome' }" class="flex-shrink-0 font-semibold flex items-center">
|
2022-10-07 07:57:04 +00:00
|
|
|
<img :src="asset('img/logo.svg')" alt="notion tools logo" class="w-10 h-10">
|
|
|
|
<span class="ml-2 text-xl text-black dark:text-white">
|
|
|
|
{{ appName }}
|
|
|
|
</span>
|
|
|
|
</router-link>
|
2022-09-20 19:59:52 +00:00
|
|
|
</div>
|
2022-10-07 07:57:04 +00:00
|
|
|
<ul class="flex justify-center mt-5 md:mt-1">
|
2022-10-06 10:15:08 +00:00
|
|
|
<li class="mr-10">
|
|
|
|
<router-link :to="{name:'privacy-policy'}" class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
|
|
|
|
Privacy Policy
|
|
|
|
</router-link>
|
|
|
|
</li>
|
|
|
|
<li class="list-disc pl-3">
|
|
|
|
<router-link :to="{name:'terms-conditions'}" class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
|
|
|
|
Terms & Conditions
|
|
|
|
</router-link>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2022-09-20 19:59:52 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2023-12-01 17:57:14 +00:00
|
|
|
import { computed } from 'vue'
|
|
|
|
import { useAuthStore } from '../../stores/auth'
|
2022-10-07 07:57:04 +00:00
|
|
|
|
2022-09-20 19:59:52 +00:00
|
|
|
export default {
|
2023-12-01 17:57:14 +00:00
|
|
|
setup () {
|
|
|
|
const authStore = useAuthStore()
|
|
|
|
return {
|
|
|
|
user : computed(() => authStore.user)
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2022-10-07 07:57:04 +00:00
|
|
|
data: () => ({
|
|
|
|
appName: window.config.appName,
|
2023-03-15 17:16:28 +00:00
|
|
|
currYear: new Date().getFullYear(),
|
2022-10-07 07:57:04 +00:00
|
|
|
}),
|
2022-09-20 19:59:52 +00:00
|
|
|
|
|
|
|
computed: {
|
|
|
|
helpUrl: () => window.config.links.help_url,
|
2022-09-21 17:35:28 +00:00
|
|
|
githubUrl: () => window.config.links.github_url,
|
|
|
|
forumUrl: () => window.config.links.github_forum_url,
|
2022-09-20 19:59:52 +00:00
|
|
|
changelogUrl: () => window.config.links.changelog_url,
|
|
|
|
facebookGroupUrl: () => window.config.links.facebook_group,
|
|
|
|
twitterUrl: () => window.config.links.twitter,
|
|
|
|
featureRequestsUrl: () => window.config.links.feature_requests
|
|
|
|
},
|
|
|
|
|
2022-12-14 09:37:57 +00:00
|
|
|
mounted () {},
|
2022-09-20 19:59:52 +00:00
|
|
|
|
2022-12-14 09:37:57 +00:00
|
|
|
methods: {}
|
2022-09-20 19:59:52 +00:00
|
|
|
}
|
|
|
|
</script>
|