File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { Link } from "../components/link" ;
12import { Sidebar } from "../components/Sidebar" ;
23
34export default function BaseLayout ( { children, sideBarItems = [ ] } ) {
@@ -6,9 +7,9 @@ export default function BaseLayout({ children, sideBarItems = [] }) {
67 < div class = "min-h-[80vh] mx-auto max-w-4xl p-2" >
78 < header class = "flex flex-col justify-center h-[400px]" >
89 < h1 class = "font-semibold text-2xl" >
9- < a href = "/" class = "hover:underline hover:underline-offset-4" >
10+ < Link href = "/" class = "hover:underline hover:underline-offset-4" >
1011 Preact Docs
11- </ a >
12+ </ Link >
1213 </ h1 >
1314 < p >
1415 < small > Docs template based on preact</ small >
@@ -34,12 +35,16 @@ export default function BaseLayout({ children, sideBarItems = [] }) {
3435 < a
3536 class = "w-full hover:underline hover:underline-offset-4"
3637 href = "https://github.com/barelyhuman"
38+ target = "_blank"
39+ rel = "noopener"
3740 >
3841 Github
3942 </ a >
4043 </ li >
4144 < li class = "text-xs" >
4245 < a
46+ target = "_blank"
47+ rel = "noopener"
4348 class = "w-full hover:underline hover:underline-offset-4"
4449 href = "https://github.com/barelyhuman"
4550 >
You can’t perform that action at this time.
0 commit comments