forked from mmistakes/so-simple-theme
-
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.
- Loading branch information
1 parent
aeed7be
commit c732af5
Showing
2 changed files
with
38 additions
and
5 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,29 @@ | ||
<div class="calendar-container"> | ||
<!-- Google Calendar Appointment Scheduling begin --> | ||
<link href="https://calendar.google.com/calendar/scheduling-button-script.css" rel="stylesheet"> | ||
<script src="https://calendar.google.com/calendar/scheduling-button-script.js" async></script> | ||
<script> | ||
(function() { | ||
var target = document.currentScript; | ||
window.addEventListener('load', function() { | ||
calendar.schedulingButton.load({ | ||
url: 'https://calendar.google.com/calendar/appointments/schedules/AcZssZ1QOVF4299QdOwbexshqygaF8Sc4jIrl-c_VHEzL606gP-e2Y8C4LAk-cOrhLPeiPbunTqoJcbW?gv=true', | ||
color: '#D50000', | ||
label: "Besoin d'aide? \n Reserve un appel Gratuit de 15 min", | ||
target, | ||
}); | ||
}); | ||
})(); | ||
</script> | ||
<!-- end Google Calendar Appointment Scheduling --> | ||
</div> | ||
<style> | ||
/* Center the button on the page */ | ||
.calendar-container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 1vh; /* Full viewport height */ | ||
text-align: center; | ||
} | ||
</style> |
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