import { A } from "@solidjs/router"; import type { ParentComponent } from "solid-js"; function changeFavicon(newFaviconPath: string) { const link = document.querySelector("link[rel~='icon']") as HTMLLinkElement; if (link) { link.href = newFaviconPath; } else { const newLink = document.createElement("link"); newLink.rel = "icon"; newLink.href = newFaviconPath; document.head.appendChild(newLink); } } export const Layout: ParentComponent = (props) => { return ( <> Skip to main content
~/minh
{props.children}
); };