Skip to content

Commit

Permalink
fix(ui): broken documentation link in login page (#51)
Browse files Browse the repository at this point in the history
* fix(ui): added broken documentation link in login page

* Revert "fix(ui): added broken documentation link in login page"

This reverts commit 24e5fa6.

* fix(ui): added broken documentation link in login page

---------

Co-authored-by: Antonio Collazo Garcia <[email protected]>
  • Loading branch information
antoniocollazo and antonio-collazo-kc authored Jul 31, 2023
1 parent dec31f3 commit 1feaa10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions packages/ui/src/components/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,13 @@ export const Login: React.FC = () => {
</div>
<div className="mt-4">
<div className="-mx-2 -my-1.5 flex">
<button
type="button"
<a href="https://docs.switchfeat.com" target="_blank" rel="noreferrer"
className="rounded-md bg-green-50 px-2 py-1.5 text-base font-medium text-green-800
hover:bg-green-100 focus:outline-none focus:ring-2
focus:ring-green-600 focus:ring-offset-2 focus:ring-offset-green-50"
>
View documentation <span aria-hidden="true"> &rarr;</span>
</button>

</a>
</div>
</div>
</div>
Expand Down
3 changes: 1 addition & 2 deletions packages/ui/src/pages/Homepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Login } from "../components/Login";

export const HomePage: React.FC = () => {
return (<>

<Login />
<Login />
</>);
};

0 comments on commit 1feaa10

Please sign in to comment.