| Server IP : 159.203.156.69 / Your IP : 216.73.217.172 Web Server : nginx/1.24.0 System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/tanviranik.com/node_modules/vinext/dist/shims/ |
Upload File : |
import "react";
import { jsx, jsxs } from "react/jsx-runtime";
//#region src/shims/document.tsx
function Html({ children, lang, ...props }) {
return /* @__PURE__ */ jsx("html", {
lang,
...props,
children
});
}
/**
* Document Head - renders <head> with children.
* The dev server injects meta tags, styles, etc.
*/
function Head({ children }) {
return /* @__PURE__ */ jsxs("head", { children: [
/* @__PURE__ */ jsx("meta", { charSet: "utf-8" }),
/* @__PURE__ */ jsx("meta", {
name: "viewport",
content: "width=device-width, initial-scale=1"
}),
children
] });
}
/**
* Main - renders the page content container.
*/
function Main() {
return /* @__PURE__ */ jsx("div", {
id: "__next",
dangerouslySetInnerHTML: { __html: "__NEXT_MAIN__" }
});
}
/**
* NextScript - renders a placeholder that the dev-server replaces with
* actual hydration scripts (__NEXT_DATA__ + entry module).
* Uses dangerouslySetInnerHTML so the HTML comment survives renderToString.
*/
function NextScript() {
return /* @__PURE__ */ jsx("span", { dangerouslySetInnerHTML: { __html: "<!-- __NEXT_SCRIPTS__ -->" } });
}
/**
* Default Document component - used when no custom _document.tsx exists.
*/
function Document() {
return /* @__PURE__ */ jsxs(Html, { children: [/* @__PURE__ */ jsx(Head, {}), /* @__PURE__ */ jsxs("body", { children: [/* @__PURE__ */ jsx(Main, {}), /* @__PURE__ */ jsx(NextScript, {})] })] });
}
//#endregion
export { Head, Html, Main, NextScript, Document as default };
//# sourceMappingURL=document.js.map