pixelfed/resources/assets/components/landing/sections/footer.vue

38 lines
1 KiB
Vue
Raw Normal View History

2023-04-08 04:35:51 +00:00
<template>
2023-04-08 06:04:01 +00:00
<div class="footer-component">
<div class="footer-component-links">
2024-07-06 23:37:17 +00:00
<a href="/site/help">{{ $t('landing.footer.help') }}</a>
2023-04-08 06:04:01 +00:00
<div class="spacer">·</div>
2024-07-06 23:37:17 +00:00
<a href="/site/terms">{{ $t('landing.footer.terms') }}</a>
2023-04-08 06:04:01 +00:00
<div class="spacer">·</div>
2024-07-06 23:37:17 +00:00
<a href="/site/privacy">{{ $t('landing.footer.privacy') }}</a>
2023-04-08 06:04:01 +00:00
<div class="spacer">·</div>
2024-07-06 23:37:17 +00:00
<a href="https://pixelfed.org/mobile-apps" target="_blank">{{ $t('landing.footer.mobileApps') }}</a>
2023-04-08 06:04:01 +00:00
</div>
<div class="footer-component-attribution">
<div><span>© {{ getYear() }} {{config.domain}}</span></div>
<div class="spacer">·</div>
2024-07-06 23:37:17 +00:00
<div><a href="https://pixelfed.org" class="text-bluegray-500 font-weight-bold">{{ $t('landing.footer.poweredByPixelfed') }}</a></div>
2023-04-08 06:04:01 +00:00
<div class="spacer">·</div>
<div><span>v{{config.version}}</span></div>
</div>
2023-04-08 04:35:51 +00:00
</div>
</template>
<script type="text/javascript">
export default {
data() {
return {
config: window.pfl
}
},
methods: {
getYear() {
return (new Date().getFullYear());
}
}
}
</script>