You've already forked AstralRinth
forked from didirus/AstralRinth
* Add GAM integration & base for GPDR consent * Moved consent to a specific page. * Added functionality to the privacy page, and desactivate tracking if consent is not given. * Added GeoEdge support, and fixed auth issues * Fix actions issue * Fix actions issue, attempt 2 * Added a module for analytics with consent support. * Remove unnecessary function * Add support for runtime config
36 lines
565 B
Vue
36 lines
565 B
Vue
<template>
|
|
<div class="ad-wrapper">
|
|
<div class="ad">
|
|
<GptAd :ad-unit="adUnit" :size="size" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
/* eslint-disable no-undef */
|
|
export default {
|
|
name: 'Advertisement',
|
|
props: {
|
|
size: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
adUnit: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.ad-wrapper {
|
|
width: 100%;
|
|
@extend %card;
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin-bottom: var(--spacing-card-md);
|
|
justify-content: center;
|
|
}
|
|
</style>
|