@@ -96,6 +96,10 @@ class AppIndex extends React.Component<AppIndexProps, any> {
96
96
render ( ) {
97
97
const isTemplate = hasQueryParam ( "template" ) ;
98
98
const pathname = history . location . pathname ;
99
+
100
+ // we check if we are on the public cloud
101
+ const isLowCoderDomain = window . location . hostname === 'app.lowcoder.cloud' ;
102
+
99
103
// make sure all users in this app have checked login info
100
104
if ( ! this . props . isFetchUserFinished ) {
101
105
const hideLoadingHeader = isTemplate || isAuthUnRequired ( pathname ) ;
@@ -107,6 +111,21 @@ class AppIndex extends React.Component<AppIndexProps, any> {
107
111
{ < title > { this . props . brandName } </ title > }
108
112
{ < link rel = "icon" href = { this . props . favicon } /> }
109
113
< meta name = "description" content = { trans ( "productDesc" ) } />
114
+
115
+ { isLowCoderDomain && (
116
+ < >
117
+ { /* setting Meta Attributes to be able for embedding via iframely */ }
118
+ < meta property = "iframely:title" content = "Lowcoder" />
119
+ < meta property = "iframely:description" content = "Lowcoder | rapid App & VideoMeeting builder for everyone." />
120
+
121
+ < link rel = "preconnect" href = "https://fonts.googleapis.com" />
122
+ < link rel = "preconnect" href = "https://fonts.gstatic.com" crossOrigin = "anonymous" />
123
+ < link href = "https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,700;1,400& display = swap " rel = "stylesheet" />
124
+ { /* embedding analytics of Cleabits */ }
125
+ < script src = "https://tag.clearbitscripts.com/v1/pk_931b51e405557300e6a7c470e8247d5f/tags.js" referrerPolicy = "strict-origin-when-cross-origin" > </ script >
126
+ </ >
127
+ ) }
128
+
110
129
</ Helmet >
111
130
< SystemWarning />
112
131
< Router history = { history } >
0 commit comments