Skip to content
Snippets Groups Projects
Commit a18e51a3 authored by VIktorGrev's avatar VIktorGrev
Browse files

feat: Adding transelation of shop

parent 60a9a18b
No related branches found
No related tags found
1 merge request!106Feat/profile and settings improvements
Pipeline #285385 passed with warnings
<!-- ConfirmationModal.vue -->
<template>
<div class="modal" :id="modalId" tabindex="-1" aria-labelledby="modalLabel" aria-hidden="true"
data-bs-backdrop="static" data-bs-keyboard="false">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modalLabel">{{ title }}</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
{{ message }}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{{ cancelButtonText }}</button>
<button type="button" class="btn btn-primary" @click="confirmAction">{{ confirmButtonText }}</button>
</div>
</div>
</div>
</div>
</template>
<script setup>
import { ref } from 'vue';
const modalId = ref(null);
const title = 'Confirm Action';
const message = 'Are you sure you want to proceed?';
const confirmButtonText = 'Confirm';
const cancelButtonText = 'Cancel';
// Methods
function confirmAction() {
emit('confirm');
}
</script>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment