This commit is contained in:
2025-06-13 12:11:05 +09:00
parent f6a2f1223f
commit 368c52029a
4 changed files with 13 additions and 5 deletions

View File

@@ -169,8 +169,8 @@
</div>
</div>
<p class="mt-1 text-xs text-gray-500 dark:text-gray-400">
예약불가 날짜: 2025 10 3()~5(), 연박 불가 / ··
1박만 가능
예약불가 날짜: 2025 10 3()~5(), 연박 불가 / 체류가능
: ··
</p>
</div>
@@ -617,7 +617,7 @@ const blockedDates = ['2025-10-03', '2025-10-04', '2025-10-05'];
const allowedDates = computed(() => {
const result: Date[] = [];
const start = new Date('2025-06-13');
const end = new Date('2025-12-01');
const end = new Date('2025-10-31');
for (let d = new Date(start); d <= end; d.setDate(d.getDate() + 1)) {
const date = new Date(d);
@@ -625,7 +625,7 @@ const allowedDates = computed(() => {
const dateStr = format(date, 'yyyy-MM-dd');
const isUnavailable = dateStr >= '2025-10-03' && dateStr <= '2025-10-05';
const isWeekend = [5, 6, 0].includes(day);
const isWeekend = [5, 6].includes(day);
if (isWeekend && !isUnavailable) {
result.push(date);

View File

@@ -0,0 +1,2 @@
<template></template>
<script setup lang="ts"></script>

View File

@@ -33,7 +33,7 @@ export const companyInfo = {
president: '서지민',
address: '강원 정선군 정선읍 정선로 1324, 2층',
phone: '0507-1353-1868',
fax: '0507-1353-1868',
fax: '070-7966-2168',
email: 'bobu1104@naver.com',
copyYear: new Date().getFullYear(), // Automatically get current year
};

View File

@@ -13,7 +13,13 @@ service cloud.firestore {
// Either the authenticated user's UID matches the document UID OR they have an elevated role
allow read, write: if request.auth.uid == docId || isElevatedRole();
}
// ✅ Allow anyone to read/write from wadizBoards
match /wadizes/{docId} {
allow read, write: if true;
}
// Match individual progress documents by UID
match /progresses/{userId} {
// Either the authenticated user's UID matches the document UID OR they have an elevated role