Download react-query/examples/solid/astro/src/layouts/MainLayout.astro from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 635 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/solid/astro/src/layouts/MainLayout.astro
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/solid/astro/src/layouts/MainLayout.astro
-
curl -L -o MainLayout.astro https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/solid/astro/src/layouts/MainLayout.astro
635 Bytes
| --- | |
| import { SolidApp } from "../components/SolidApp"; | |
| const { id } = Astro.props; | |
| --- | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> | |
| <meta name="viewport" content="width=device-width" /> | |
| <meta name="generator" content={Astro.generator} /> | |
| <title>Astro</title> | |
| </head> | |
| <body class="text-zinc-900"> | |
| <div class="flex h-screen flex-col"> | |
| <nav class="flex items-center h-12 border-b px-4 flex-shrink-0"> | |
| <div class="font-semibold text-lg"> | |
| Solid Query + Astro | |
| </div> | |
| </nav> | |
| <SolidApp pokemon={id} client:load /> | |
| </div> | |
| </body> | |
| </html> |