mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
* added proxy * updated pnpm lock * removed package lock * added readme * updated readme * updated readme * fixed bugs * added development env * added template engine * updated dependencies * fixed github action
17 lines
371 B
TypeScript
17 lines
371 B
TypeScript
import React from "react";
|
|
|
|
export default function Layout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div>
|
|
<header className="p-3 border-b">
|
|
<a
|
|
href={"/"}
|
|
className="border rounded-md px-2 py-1 hover:bg-gray-500/10"
|
|
>
|
|
Back
|
|
</a>
|
|
</header>
|
|
<main>{children}</main>
|
|
</div>
|
|
);
|
|
} |