Skip to content

Commit

Permalink
refactor: remove link to dashboard (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
diivi authored Jun 16, 2023
1 parent f253027 commit 25b0017
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/popup/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,17 @@ const Home = () => {
<header className="flex justify-between">
<img
alt="OpenSauced logo"
className="w-[45%]"
className="w-[45%] cursor-pointer hover:opacity-80 transition-opacity duration-300 ease-in-out"
role="presentation"
src={OpenSaucedLogo}
onClick={() => {
window.open(`https://${OPEN_SAUCED_INSIGHTS_DOMAIN}/feed`, "_blank");
}}
onKeyDown={e => {
if (e.key === "Enter") {
window.open(`https://${OPEN_SAUCED_INSIGHTS_DOMAIN}/feed`, "_blank");
}
}}
/>


Expand Down Expand Up @@ -113,15 +122,6 @@ const Home = () => {
<h3 className="text font-medium text-base leading-10">Tools:</h3>

<div className="tools flex flex-col gap-2">
<a
className="flex items-center bg-slate-700 hover:bg-slate-700/70 hover:text-orange text-white gap-2 p-1.5 px-3 w-full rounded-sm font-medium text-sm"
href={`https://${OPEN_SAUCED_INSIGHTS_DOMAIN}/feed`}
rel="noreferrer"
target="_blank"
>
<HiArrowTopRightOnSquare />
Dashboard
</a>

{isGithubPRPage && (
<button
Expand Down

0 comments on commit 25b0017

Please sign in to comment.