From d8171a4072ae65fc58d7ca5a9f9da3f0fb0e02f6 Mon Sep 17 00:00:00 2001 From: Claeb101 Date: Mon, 6 Mar 2023 15:50:59 -0500 Subject: [PATCH] _blank targets --- app/src/components/SiteLink.tsx | 2 +- app/src/pages/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/components/SiteLink.tsx b/app/src/components/SiteLink.tsx index 43ca2c6..6b9bcde 100644 --- a/app/src/components/SiteLink.tsx +++ b/app/src/components/SiteLink.tsx @@ -2,7 +2,7 @@ import Link from "next/link"; const SiteLink = ({txt, href, className=""}) => { return ( - {txt} + {txt} ); } diff --git a/app/src/pages/index.tsx b/app/src/pages/index.tsx index d817534..f0d6dc8 100644 --- a/app/src/pages/index.tsx +++ b/app/src/pages/index.tsx @@ -12,9 +12,9 @@ import OutlineButton from "@/components/OutlineButton"; import { useToasts } from "@/components/ToastProvider"; import { useSession } from 'next-auth/react' -const PageButton = ({ name = "", link, className = "" }) => { +const PageButton = ({ name = "", link, target="_self", className = "" }) => { return ( - {name} {"->"} + {name} {"->"} ); } @@ -34,7 +34,7 @@ const Home: NextPage = ({ officers }) => {
- +