feat: rebuild app using vike

This commit is contained in:
2024-02-22 12:15:04 +00:00
parent 87ef4ca1e3
commit 9777ae1676
104 changed files with 2214 additions and 2976 deletions
+20
View File
@@ -0,0 +1,20 @@
import { usePageContext } from "~/renderer/context";
const Page = () => {
const pageContext = usePageContext();
let { abortReason } = pageContext;
if (!abortReason) {
abortReason = pageContext.is404
? "Page not found."
: "Something went wrong.";
}
return (
<div>
<p style={{ fontSize: "1.3em" }}>{abortReason}</p>
</div>
);
};
export default Page;