opnform/resources/js/components/pages/OpenFormFooter.vue

59 lines
1.9 KiB
Vue
Raw Normal View History

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">
<p class="text-sm text-gray-600 dark:text-gray-400 text-center w-full">
© Copyright 2022. All Rights Reserved
</p>
</div>
2022-10-07 07:57:04 +00:00
<div class="flex justify-center mt-5 md:mt-0">
<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">
<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>
2022-10-07 07:57:04 +00:00
import { mapGetters } from 'vuex'
2022-09-20 19:59:52 +00:00
export default {
2022-10-07 07:57:04 +00:00
data: () => ({
appName: window.config.appName,
}),
2022-09-20 19:59:52 +00:00
computed: {
2022-10-07 07:57:04 +00:00
...mapGetters({
user: 'auth/user'
}),
2022-09-20 19:59:52 +00:00
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>