File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures';
66import Heading from '@theme/Heading' ;
77import styles from './index.module.css' ;
88
9- const LIVE_DEMO_IFRAME_URL = `https://demo.adminforth.dev/overview?autologin=${ encodeURIComponent ( 'demo@adminfoth.dev:demo' ) } ` ;
9+ const LIVE_DEMO_IFRAME_URL = `https://demo.adminforth.dev/overview?autologin=${ encodeURIComponent ( 'demo@adminfoth.dev:demo' ) } &embedZoom=0.7 ` ;
1010
1111
1212const images = [
@@ -140,7 +140,7 @@ function HomepageHeader() {
140140 </ Heading >
141141 < p className = "hero__subtitle" > { siteConfig . tagline } </ p >
142142
143- < div class = "heroRow" >
143+ < div className = "heroRow" >
144144 < div className = { styles . buttons } >
145145 < Link
146146 className = "button button--secondary button--outline button--lg"
Original file line number Diff line number Diff line change 1717 <!-- /* IMPORTANT:ADMINFORTH HEAD */ -->
1818 </ head >
1919 < body class ="min-h-screen flex flex-col ">
20+ < script >
21+ const embedZoom = Number ( new URLSearchParams ( window . location . search ) . get ( 'embedZoom' ) ) ;
22+ if ( Number . isFinite ( embedZoom ) && embedZoom > 0 ) {
23+ document . body . style . zoom = String ( embedZoom ) ;
24+ }
25+ </ script >
2026 < div id ="app " class ="grow bg-lightHtml dark:bg-darkHtml w-full "> </ div >
2127 < script type ="module " src ="/src/main.ts "> </ script >
2228 </ body >
You can’t perform that action at this time.
0 commit comments