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

74 lines
2.6 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">
2023-12-11 11:35:46 +00:00
<div class="flex mt-2 items-center">
<p class="text-sm text-gray-600 dark:text-gray-400 text-center w-full">
© Copyright {{ currYear }}. 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>
2023-12-11 11:35:46 +00:00
<div class="flex justify-center mt-5 md:mt-0">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-x-4 gap-y-2">
<a href="https://opnform.featurebase.app/" target="_blank"
class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
Feature Requests
</a>
<a href="https://opnform.featurebase.app/roadmap" target="_blank"
class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
Roadmap
</a>
2023-12-11 13:00:42 +00:00
<a href="www.facebook.com/groups/opnform" target="_blank"
class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
Facebook Group
</a>
2023-12-11 11:35:46 +00:00
<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>
<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>
</div>
</div>
2022-09-20 19:59:52 +00:00
</div>
</div>
</template>
<script>
2023-12-11 11:35:46 +00:00
import {mapGetters} from 'vuex'
2022-10-07 07:57:04 +00:00
2022-09-20 19:59:52 +00:00
export default {
2022-10-07 07:57:04 +00:00
data: () => ({
appName: window.config.appName,
currYear: new Date().getFullYear(),
2022-10-07 07:57:04 +00:00
}),
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
},
2023-12-11 11:35:46 +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>