@@ -13,6 +13,7 @@ import {
1313} from "comps/uiCompRegistry" ;
1414import { ExampleContext } from "./ExampleContext" ;
1515import { trans } from "i18n" ;
16+ import { Helmet } from "react-helmet" ;
1617
1718type CompInfo = UICompManifest & { key :string } ;
1819const groups :Partial < Record < UICompCategory , CompInfo [ ] > > = { } ;
@@ -93,13 +94,18 @@ export default function ComponentDoc() {
9394{
9495type :"component-change" ,
9596componentName :params . name ,
96- } ,
97+ } ,
9798"*"
9899) ;
99100} , [ params . name ] ) ;
100101
101102return (
102103< ExampleContext . Provider value = { { name :params . name } } >
104+ < Helmet >
105+ < meta key = "iframely:title" property = "iframely:title" content = { "Lowcoder | " + ( compManifest . enName ?compManifest . enName :params . name ) } /> ,
106+ < meta key = "iframely:description" property = "iframely:description" content = { compManifest . description ?compManifest . description . toString ( ) :"" } /> ,
107+ < link rel = "iframely" type = "text/html" href = { window . location . href } media = "(aspect-ratio: 1280/720)" /> ,
108+ </ Helmet >
103109< Wrapper >
104110< div className = "main" >
105111< div className = "sidebar" >