Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
7b706184
Unverified
Commit
7b706184
authored
Feb 27, 2023
by
Zeng1998
Committed by
GitHub
Feb 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: open url in other tabs (#1173)
* chore: open url in other tabs * update: add `rel="noreferrer"`
parent
d81cf5cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
AboutSiteDialog.tsx
web/src/components/AboutSiteDialog.tsx
+12
-2
GitHubBadge.tsx
web/src/components/GitHubBadge.tsx
+2
-0
No files found.
web/src/components/AboutSiteDialog.tsx
View file @
7b706184
...
@@ -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"
...
...
web/src/components/GitHubBadge.tsx
View file @
7b706184
...
@@ -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"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment