Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6bb6a9727d | |||
| 9d60ea8f12 |
+3
-2
@@ -14,6 +14,7 @@ import { reminders } from '@/native/reminders'
|
|||||||
import { useAuthStore } from '@/stores/auth'
|
import { useAuthStore } from '@/stores/auth'
|
||||||
import { useUiStore } from '@/stores/ui'
|
import { useUiStore } from '@/stores/ui'
|
||||||
import { demo, exitDemo } from '@/demo'
|
import { demo, exitDemo } from '@/demo'
|
||||||
|
import { ADS_ENABLED } from '@/config/features'
|
||||||
|
|
||||||
const auth = useAuthStore()
|
const auth = useAuthStore()
|
||||||
const ui = useUiStore()
|
const ui = useUiStore()
|
||||||
@@ -22,8 +23,8 @@ const router = useRouter()
|
|||||||
|
|
||||||
// 로그인 또는 둘러보기(데모) 상태면 사이드바/전체 셸 표시
|
// 로그인 또는 둘러보기(데모) 상태면 사이드바/전체 셸 표시
|
||||||
const authed = computed(() => auth.isAuthenticated || demo.on)
|
const authed = computed(() => auth.isAuthenticated || demo.on)
|
||||||
// 광고: 유료(PREMIUM) 회원에게는 표시하지 않음
|
// 광고: 광고 기능이 켜져 있고 유료(PREMIUM) 회원이 아닐 때만 표시 (레이아웃 하단 여백도 함께 제어)
|
||||||
const showAds = computed(() => !auth.isPremium)
|
const showAds = computed(() => ADS_ENABLED && !auth.isPremium)
|
||||||
// 공개 법적 고지(개인정보처리방침·약관)는 웹 브라우저에서도 접근 허용 (앱 마켓 정책 URL)
|
// 공개 법적 고지(개인정보처리방침·약관)는 웹 브라우저에서도 접근 허용 (앱 마켓 정책 URL)
|
||||||
const isPublicLegal = computed(() => !!route.meta.public)
|
const isPublicLegal = computed(() => !!route.meta.public)
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { computed, onMounted, ref } from 'vue'
|
import { computed, onMounted, ref } from 'vue'
|
||||||
import { useAuthStore } from '@/stores/auth'
|
import { useAuthStore } from '@/stores/auth'
|
||||||
|
import { ADS_ENABLED } from '@/config/features'
|
||||||
|
|
||||||
// 카카오 애드핏 배너. 유료(PREMIUM) 회원에게는 표시하지 않는다.
|
// 카카오 애드핏 배너. 광고 기능이 켜져 있고 유료(PREMIUM) 회원이 아닐 때만 표시한다.
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
unit: { type: String, default: 'DAN-n0I5XRBOwAdSFbEX' },
|
unit: { type: String, default: 'DAN-n0I5XRBOwAdSFbEX' },
|
||||||
width: { type: Number, default: 728 },
|
width: { type: Number, default: 728 },
|
||||||
@@ -10,7 +11,7 @@ const props = defineProps({
|
|||||||
})
|
})
|
||||||
|
|
||||||
const auth = useAuthStore()
|
const auth = useAuthStore()
|
||||||
const showAd = computed(() => !auth.isPremium)
|
const showAd = computed(() => ADS_ENABLED && !auth.isPremium)
|
||||||
|
|
||||||
const host = ref(null)
|
const host = ref(null)
|
||||||
const ADFIT_SRC = '//t1.kakaocdn.net/kas/static/ba.min.js'
|
const ADFIT_SRC = '//t1.kakaocdn.net/kas/static/ba.min.js'
|
||||||
|
|||||||
@@ -15,3 +15,9 @@ export const CARD_NOTIF_ENABLED = false
|
|||||||
// 프리미엄이 부여되는 문제가 있다. 그래서 구매 진입점을 모두 숨긴다.
|
// 프리미엄이 부여되는 문제가 있다. 그래서 구매 진입점을 모두 숨긴다.
|
||||||
// 실연동 완료 후 true 로 바꾸면 업그레이드/정기결제 관리 화면이 다시 노출된다.
|
// 실연동 완료 후 true 로 바꾸면 업그레이드/정기결제 관리 화면이 다시 노출된다.
|
||||||
export const BILLING_ENABLED = false
|
export const BILLING_ENABLED = false
|
||||||
|
|
||||||
|
// 광고(카카오 애드핏) 노출 기능.
|
||||||
|
// 첫 출시는 광고 미승인 상태 + 데이터 안전 양식 단순화를 위해 비활성화.
|
||||||
|
// (광고 식별자 수집/제3자 공유가 사라져 심사가 단순해짐)
|
||||||
|
// 애드핏 앱 광고단위 승인 후 true 로 바꾸면 무료 회원에게 광고가 다시 노출된다.
|
||||||
|
export const ADS_ENABLED = false
|
||||||
|
|||||||
Reference in New Issue
Block a user