-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add modal with calendly && improve other modals design
- Loading branch information
1 parent
e1ac5f8
commit 44f2a2c
Showing
7 changed files
with
37 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<script setup lang="ts"> | ||
const { t } = useI18n(); | ||
const options = { | ||
url: 'https://calendly.com/anuness/30min', | ||
} | ||
</script> | ||
|
||
<template> | ||
<div class="flex flex-col items-center gap-4 mt-8 text-base-content"> | ||
<button class="daisyui-btn daisyui-btn-primary daisyui-btn-md 2xl:daisyui-btn-lg w-full relative" onclick="calendly_modal.showModal()"> | ||
{{ t('links.general.calendly') }} | ||
</button> | ||
</div> | ||
<dialog id="calendly_modal" class="daisyui-modal daisyui-modal-bottom md:daisyui-modal-middle"> | ||
<div class="daisyui-modal-box max-h-5xl overflow-hidden"> | ||
<form method="dialog"> | ||
<button class="mt-4 daisyui-btn daisyui-btn-sm daisyui-btn-circle daisyui-btn-ghost absolute right-2 top-2">✕</button> | ||
</form> | ||
<h3 class="font-bold text-lg pb-4">{{ t('links.general.calendly') }}</h3> | ||
<CalendlyInlineWidget v-bind="options" /> | ||
</div> | ||
<form method="dialog" class="daisyui-modal-backdrop"> | ||
<button>close</button> | ||
</form> | ||
</dialog> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters