hezarfen_landing
Clone
https://git.tahinli.com/archive/hezarfen_landing.git
0 watching0 forksTypeScript581.6 KiB94b1804Burak Boduroğlu2 months ago15 commits
| 1 | // @refresh reload |
| 2 | import { createHandler, StartServer } from "@solidjs/start/server"; |
| 3 | |
| 4 | export default createHandler(() => ( |
| 5 | <StartServer |
| 6 | document={({ assets, children, scripts }) => ( |
| 7 | /* Turkish, and one palette: the page ships the way it renders, so there |
| 8 | is no class for a theme to toggle and no locale to resolve. */ |
| 9 | <html lang="tr"> |
| 10 | <head> |
| 11 | <meta charset="utf-8" /> |
| 12 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 13 | <meta name="theme-color" content="#ffffff" /> |
| 14 | {/* One cut, and a version token: Chrome caches favicons hard, keyed |
| 15 | by URL, so bump the token whenever the mark changes or the old |
| 16 | one keeps showing. */} |
| 17 | <link rel="icon" href="/favicon.svg?v=1" type="image/svg+xml" /> |
| 18 | <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> |
| 19 | {assets} |
| 20 | </head> |
| 21 | <body> |
| 22 | <div id="app">{children}</div> |
| 23 | {scripts} |
| 24 | </body> |
| 25 | </html> |
| 26 | )} |
| 27 | /> |
| 28 | )); |