feat: add the iframe

This commit is contained in:
Juan Di Toro 2023-10-10 16:54:00 +02:00
parent 4fc6687af1
commit b899e472bc
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import Lume from "../components/Lume";
<title>Astro</title> <title>Astro</title>
</head> </head>
<body> <body>
<main class="flex min-h-screen flex-col items-center justify-between"> <main class="flex h-screen max-h-screen flex-col items-center justify-between">
<header class="relative h-14 px-2 pl-2 py-2 w-full bg-neutral-900 flex"> <header class="relative h-14 px-2 pl-2 py-2 w-full bg-neutral-900 flex">
<div <div
class="relative h-full w-full rounded-full bg-neutral-800 border border-neutral-700 flex items-center [>input:focus]:ring-2 [>input:focus]:ring-white" class="relative h-full w-full rounded-full bg-neutral-800 border border-neutral-700 flex items-center [>input:focus]:ring-2 [>input:focus]:ring-white"
@ -31,6 +31,8 @@ import Lume from "../components/Lume";
<Lume client:only="react" /> <Lume client:only="react" />
</div> </div>
</header> </header>
<iframe id="mainIframe" src="https://google.com" class="w-full h-full">
</iframe>
</main> </main>
</body> </body>
</html> </html>