Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

MainLayout.astro

25 lines635 Bytes

1---
2import { SolidApp } from "../components/SolidApp";
3const { id } = Astro.props;
4​
5---
6​
7<html lang="en">
8 <head>
9 <meta charset="utf-8" />
10 <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
11 <meta name="viewport" content="width=device-width" />
12 <meta name="generator" content={Astro.generator} />
13 <title>Astro</title>
14 </head>
15 <body class="text-zinc-900">
16 <div class="flex h-screen flex-col">
17 <nav class="flex items-center h-12 border-b px-4 flex-shrink-0">
18 <div class="font-semibold text-lg">
19 Solid Query + Astro
20 </div>
21 </nav>
22 <SolidApp pokemon={id} client:load />
23 </div>
24 </body>
25</html>