Unverified Commit 7b706184 authored by Zeng1998's avatar Zeng1998 Committed by GitHub

chore: open url in other tabs (#1173)

* chore: open url in other tabs

* update: add `rel="noreferrer"`
parent d81cf5cc
...@@ -32,7 +32,12 @@ const AboutSiteDialog: React.FC<Props> = ({ destroy }: Props) => { ...@@ -32,7 +32,12 @@ const AboutSiteDialog: React.FC<Props> = ({ destroy }: Props) => {
<div className="mt-4 flex flex-row text-sm justify-start items-center"> <div className="mt-4 flex flex-row text-sm justify-start items-center">
<div className="flex flex-row justify-start items-center mr-2"> <div className="flex flex-row justify-start items-center mr-2">
Powered by Powered by
<a href="https://usememos.com" className="flex flex-row justify-start items-center mr-1 hover:underline"> <a
href="https://usememos.com"
target="_blank"
rel="noreferrer"
className="flex flex-row justify-start items-center mr-1 hover:underline"
>
<img className="w-6 h-auto" src="/logo.png" alt="" /> <img className="w-6 h-auto" src="/logo.png" alt="" />
memos memos
</a> </a>
...@@ -42,7 +47,12 @@ const AboutSiteDialog: React.FC<Props> = ({ destroy }: Props) => { ...@@ -42,7 +47,12 @@ const AboutSiteDialog: React.FC<Props> = ({ destroy }: Props) => {
</div> </div>
<div className="border-t mt-3 pt-2 text-sm flex flex-row justify-start items-center"> <div className="border-t mt-3 pt-2 text-sm flex flex-row justify-start items-center">
<span className="text-gray-500 mr-2">Other projects:</span> <span className="text-gray-500 mr-2">Other projects:</span>
<a href="https://github.com/boojack/sticky-notes" className="flex items-center underline text-blue-600 hover:opacity-80"> <a
href="https://github.com/boojack/sticky-notes"
target="_blank"
rel="noreferrer"
className="flex items-center underline text-blue-600 hover:opacity-80"
>
<img <img
className="w-4 h-auto mr-1" className="w-4 h-auto mr-1"
src="https://raw.githubusercontent.com/boojack/sticky-notes/main/public/sticky-notes.ico" src="https://raw.githubusercontent.com/boojack/sticky-notes/main/public/sticky-notes.ico"
......
...@@ -15,6 +15,8 @@ const GitHubBadge = () => { ...@@ -15,6 +15,8 @@ const GitHubBadge = () => {
<a <a
className="h-7 flex flex-row justify-start items-center border dark:border-zinc-600 rounded cursor-pointer hover:opacity-80" className="h-7 flex flex-row justify-start items-center border dark:border-zinc-600 rounded cursor-pointer hover:opacity-80"
href="https://github.com/usememos/memos" href="https://github.com/usememos/memos"
target="_blank"
rel="noreferrer"
> >
<div className="apply w-auto h-full px-2 flex flex-row justify-center items-center text-xs bg-gray-100 dark:bg-zinc-700"> <div className="apply w-auto h-full px-2 flex flex-row justify-center items-center text-xs bg-gray-100 dark:bg-zinc-700">
<Icon.Github className="mr-1 w-4 h-4" /> <Icon.Github className="mr-1 w-4 h-4" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment