Organize components, switch auth to not use session

This commit is contained in:
Jai A
2021-03-30 21:38:12 -07:00
parent 464f336790
commit e61a1080f7
36 changed files with 111 additions and 869 deletions

View File

@@ -0,0 +1,34 @@
<template>
<div class="ad-wrapper">
<adsbygoogle
ad-slot="7510690716"
:ad-format="format"
:page-url="pageUrl ? pageUrl : undefined"
/>
</div>
</template>
<script>
export default {
name: 'Advertisement',
props: {
format: {
type: String,
default: 'horizontal',
},
pageUrl: {
type: String,
required: false,
default: '',
},
},
}
</script>
<style lang="scss" scoped>
.ad-wrapper {
width: 100%;
@extend %card;
margin-bottom: var(--spacing-card-md);
}
</style>