File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
6+ < title > Client Meetings | corrode</ title >
7+
8+ < style >
9+ html ,
10+ body {
11+ height : 100% ;
12+ margin : 0 ;
13+ padding : 0 ;
14+ background : black;
15+ display : flex;
16+ justify-content : center;
17+ align-items : center;
18+ }
19+
20+ # calendar {
21+ width : 100% ;
22+ min-width : 800px !important ;
23+ max-width : 1200px ;
24+ height : 100vh ;
25+ max-height : 800px ;
26+ margin : 0 auto;
27+ }
28+
29+ # calendar > div ,
30+ # calendar iframe {
31+ width : 100% !important ;
32+ min-width : 800px !important ;
33+ height : 100% !important ;
34+ }
35+ </ style >
36+ </ head >
37+ < body >
38+ < div id ="calendar "> </ div >
39+
40+ < script type ="text/javascript ">
41+ ( function ( C , A , L ) {
42+ let p = function ( a , ar ) {
43+ a . q . push ( ar ) ;
44+ } ;
45+ let d = C . document ;
46+ C . Cal =
47+ C . Cal ||
48+ function ( ) {
49+ let cal = C . Cal ;
50+ let ar = arguments ;
51+ if ( ! cal . loaded ) {
52+ cal . ns = { } ;
53+ cal . q = cal . q || [ ] ;
54+ d . head . appendChild ( d . createElement ( "script" ) ) . src = A ;
55+ cal . loaded = true ;
56+ }
57+ if ( ar [ 0 ] === L ) {
58+ const api = function ( ) {
59+ p ( api , arguments ) ;
60+ } ;
61+ const namespace = ar [ 1 ] ;
62+ api . q = api . q || [ ] ;
63+ if ( typeof namespace === "string" ) {
64+ cal . ns [ namespace ] = cal . ns [ namespace ] || api ;
65+ p ( cal . ns [ namespace ] , ar ) ;
66+ p ( cal , [ "initNamespace" , namespace ] ) ;
67+ } else p ( cal , ar ) ;
68+ return ;
69+ }
70+ p ( cal , ar ) ;
71+ } ;
72+ } ) ( window , "https://app.cal.com/embed/embed.js" , "init" ) ;
73+
74+ Cal ( "init" , { origin : "https://app.cal.com" } ) ;
75+
76+ Cal ( "inline" , {
77+ elementOrSelector : "#calendar" ,
78+ calLink : "corrode/clients" ,
79+ config : {
80+ theme : "dark" ,
81+ layout : "month_view" ,
82+ width : "100%" ,
83+ } ,
84+ } ) ;
85+ </ script >
86+ </ body >
87+ </ html >
You can’t perform that action at this time.
0 commit comments