22< html lang ="en ">
33< head >
44 < meta charset ="UTF-8 " />
5+ < link rel ="icon " href ="/favicon.ico " />
56 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6- < title > Angular Examples - Cloudflare RealtimeKit </ title >
7+ < title > RealtimeKit - Angular Examples </ title >
78 < style >
8- body {
9- font-family : 'Helvetica Neue' , Helvetica, Arial, sans-serif;
9+ html , body {
1010 margin : 0 ;
1111 padding : 0 ;
12- background-color : # f0f2f5 ; /* Light gray background */
13- color : # 333 ;
14- display : flex;
15- justify-content : center;
16- align-items : flex-start; /* Align to top */
17- min-height : 100vh ;
18- padding-top : 40px ; /* Add some padding at the top */
12+ height : 100% ;
13+ width : 100% ;
14+ overflow : hidden;
1915 }
20- # root {
21- background-color : # ffffff ; /* White card background */
22- padding : 30px 40px ;
23- border-radius : 8px ;
24- box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.1 );
25- width : 90% ;
26- max-width : 700px ;
27- }
28- h1 {
29- color : # f38020 ; /* Cloudflare Orange */
30- text-align : center;
31- margin-bottom : 30px ;
32- font-size : 28px ;
33- font-weight : 600 ;
34- }
35- ul {
36- list-style-type : none;
37- padding : 0 ;
16+ iframe {
17+ display : block;
3818 margin : 0 ;
39- }
40- li {
41- margin-bottom : 15px ;
42- border-bottom : 1px solid # e0e0e0 ; /* Light separator line */
43- padding-bottom : 15px ;
44- }
45- li : last-child {
46- border-bottom : none;
47- margin-bottom : 0 ;
48- padding-bottom : 0 ;
49- }
50- a {
51- text-decoration : none;
52- color : # 0053a0 ; /* Cloudflare Blue */
53- font-size : 18px ;
54- font-weight : 500 ;
55- display : block; /* Make the whole area clickable */
56- padding : 8px 0 ;
57- transition : color 0.2s ease-in-out, transform 0.2s ease-in-out;
58- }
59- a : hover {
60- color : # f38020 ; /* Cloudflare Orange on hover */
61- transform : translateX (5px );
62- }
63- /* Responsive adjustments */
64- @media (max-width : 600px ) {
65- # root {
66- padding : 20px ;
67- }
68- h1 {
69- font-size : 24px ;
70- }
71- a {
72- font-size : 16px ;
73- }
19+ padding : 0 ;
20+ width : 100% ;
21+ height : 100vh ;
22+ border : none;
7423 }
7524 </ style >
7625</ head >
77- < body >
78- < div id ="root ">
79- < h1 > Cloudflare RealtimeKit Angular Examples</ h1 >
80- < ul >
81- < li > < a href ="/examples/create-your-own-ui/dist "> Create Your Own UI</ a > </ li >
82- < li > < a href ="/examples/default-meeting-ui/dist "> Default Meeting UI</ a > </ li >
83- < li > < a href ="/examples/with-video-transformer/dist "> With Video Transformer</ a > </ li >
84- </ ul >
85- </ div >
86- </ body >
26+ < body > </ body >
27+ < script >
28+ if ( window . location . pathname === '/' ) {
29+ window . location . href = 'https://examples.realtime.cloudflare.com/angular' ;
30+ }
31+ </ script >
8732</ html >
0 commit comments