Skip to content

Commit

Permalink
style: Modal layout을 component로 이전
Browse files Browse the repository at this point in the history
  • Loading branch information
lavi27 committed Jan 19, 2024
1 parent c39f6fd commit 81d6776
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
File renamed without changes.
20 changes: 10 additions & 10 deletions pages/dashboard/invite.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</button>
</NuxtLayout>

<NuxtLayout name="modal" :modalName="MODAL.permission">
<Modal :modalName="MODAL.permission">
<h2>
<!-- 한디리에서 봇을 추천해주세요 -->
{{ $t('invite.permissionModal.title') }}
Expand All @@ -134,9 +134,9 @@
{{ $t('common.modal.btns.confirm') }}
</a>
</div>
</NuxtLayout>
</Modal>

<NuxtLayout name="modal" :modalName="MODAL.premiereOnly">
<Modal :modalName="MODAL.premiereOnly">
<h2>
<!-- 프리미어 플랜에서만 이용하실 수 있습니다. -->
{{ $t('invite.premiereOnlyModal.title') }}
Expand All @@ -153,9 +153,9 @@
{{ $t('common.modal.btns.confirm') }}
</a>
</div>
</NuxtLayout>
</Modal>

<NuxtLayout name="modal" :modalName="MODAL.customDomain">
<Modal :modalName="MODAL.customDomain">
<h2>
<!-- DNS 설정을 완료하셨나요? -->
{{ $t('invite.customDomainModal.title') }}
Expand All @@ -181,9 +181,9 @@
{{ $t('common.modal.btns.confirm') }}
</a>
</div>
</NuxtLayout>
</Modal>

<NuxtLayout name="modal" :modalName="MODAL.success">
<Modal :modalName="MODAL.success">
<h2>
<!-- 성공적으로 저장했습니다! -->
{{ $t('common.modal.saved') }}
Expand All @@ -204,9 +204,9 @@
{{ $t('common.modal.closeInfo') }}
</div>
<div class="btns"></div>
</NuxtLayout>
</Modal>

<NuxtLayout name="modal" :modalName="MODAL.failed">
<Modal :modalName="MODAL.failed">
<h2>
<!-- 저장 중 오류가 발생했습니다. -->
{{ $t('common.errorModal.title') }}
Expand All @@ -221,7 +221,7 @@
{{ $t('common.modal.closeInfo') }}
</div>
<div class="btns"></div>
</NuxtLayout>
</Modal>
</main>
</template>

Expand Down
12 changes: 6 additions & 6 deletions pages/dashboard/members.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</ul>
</NuxtLayout>

<NuxtLayout name="modal" :modalName="MODAL.reconfirmBlackList">
<Modal :modalName="MODAL.reconfirmBlackList">
<h2 v-if="tempBlockUserId">
<!-- {{ processBlackList.nickName }}님을 블랙리스트에 등록하시겠어요? -->
{{ $t('members.modal1.title').replace('{Place}', memberMap[tempBlockUserId].nickName) }}
Expand All @@ -68,9 +68,9 @@
{{ $t('common.modal.btns.cancel') }}
</a>
</div>
</NuxtLayout>
</Modal>

<NuxtLayout name="modal" :modalName="MODAL.reconfirmRemoveBlackList">
<Modal :modalName="MODAL.reconfirmRemoveBlackList">
<h2 v-if="tempBlockUserId">
<!-- {{ processBlackList.nickName }}님을 블랙리스트에서 삭제하시겠어요? -->
{{ $t('members.modal2.title').replace('{Place}', memberMap[tempBlockUserId].nickName) }}
Expand All @@ -90,9 +90,9 @@
{{ $t('common.modal.btns.cancel') }}
</a>
</div>
</NuxtLayout>
</Modal>

<NuxtLayout name="modal" :modalName="MODAL.failed">
<Modal :modalName="MODAL.failed">
<h2>
<!-- 저장 중 오류가 발생했습니다. -->
{{ $t('common.errorModal.title') }}
Expand All @@ -107,7 +107,7 @@
{{ $t('common.modal.closeInfo') }}
</div>
<div class="btns"></div>
</NuxtLayout>
</Modal>
</main>
</template>

Expand Down
8 changes: 4 additions & 4 deletions pages/dashboard/verify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</button>
</NuxtLayout>

<NuxtLayout name="modal" :modalName="MODAL.success">
<Modal :modalName="MODAL.success">
<h2>
{{ $t('common.modal.saved') }}
<!-- 성공적으로 저장했습니다! -->
Expand All @@ -70,9 +70,9 @@
{{ $t('common.modal.closeInfo') }}
</div>
<div class="btns"></div>
</NuxtLayout>
</Modal>

<NuxtLayout name="modal" :modalName="MODAL.failed">
<Modal :modalName="MODAL.failed">
<h2>
<!-- 저장 중 오류가 발생했습니다. -->
{{ $t('common.errorModal.title') }}
Expand All @@ -87,7 +87,7 @@
{{ $t('common.modal.closeInfo') }}
</div>
<div class="btns"></div>
</NuxtLayout>
</Modal>
</main>
</template>

Expand Down

0 comments on commit 81d6776

Please sign in to comment.