mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-20 08:52:15 +00:00
Google adsense implementation
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
<template>
|
||||
<div class="flex h-screen items-center justify-center">
|
||||
<div>
|
||||
<div class="w-full text-center">
|
||||
<ItemGrid v-if="sharedFile" :entry="sharedFile" :highlight="true" :mobile-handler="true" />
|
||||
|
||||
<ButtonBase @click.native="download" button-style="theme">
|
||||
<ButtonBase @click.native="download" button-style="theme" class="mx-auto">
|
||||
{{ $t('page_shared.download_file') }}
|
||||
</ButtonBase>
|
||||
|
||||
<!--Google Adsense banner-->
|
||||
<div v-if="config.allowedAdsense" v-html="config.adsenseBanner01" class="min-h-[120px] mt-5"></div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -22,7 +25,7 @@ export default {
|
||||
ItemGrid,
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['sharedDetail', 'sharedFile']),
|
||||
...mapGetters(['sharedDetail', 'sharedFile', 'config']),
|
||||
},
|
||||
methods: {
|
||||
download() {
|
||||
|
||||
Reference in New Issue
Block a user