Skip to content

Commit

Permalink
refactor: remove docs link to new tab (#71)
Browse files Browse the repository at this point in the history
## Why?

This PR removes the `target=_blank` that causes the "View docs" button
to open the docs in a new tab.

## How?

- Remove the `target=_blank` attribute and value of the anchor element
for the link



## Contribution checklist?

- [x] The commit messages are detailed
- [x] The `build` command runs locally
- [x] Assets or static content are linked and stored in the project
- [] Document filename is named after the slug
- [x] You've reviewed spelling using a grammar checker
- [ ] For documentation, guides or references, you've tested the
commands and steps
- [ ] You've done enough research before writing

## Security checklist?

- [ ] Sensitive data has been identified and is being protected properly
- [ ] Injection has been prevented (parameterized queries, no eval or
system calls)
- [ ] The Components are escaping output (to prevent XSS)


https://github.com/fleekxyz/fleekxyz-website/assets/96334363/0f88854f-f292-4d53-90e5-cdb6ff5330b7
  • Loading branch information
tobySolutions authored Jun 5, 2024
1 parent 752af91 commit 95bdea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GlobeWithFloatingCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const GlobeWithFloatingCards = () => {
</a>
</div>
<div className="typo-btn-l">
<a href="/docs" target="_blank" rel="noopener noreferrer">
<a href="/docs" rel="noopener noreferrer">
<ButtonGray className="flex items-center justify-center gap-12 px-10 ">
<div>View Docs</div>
</ButtonGray>
Expand Down

0 comments on commit 95bdea1

Please sign in to comment.