link fixes

This commit is contained in:
shagon 2023-09-06 19:58:57 +02:00
parent 7a1f8850b8
commit e5ae336e82
2 changed files with 9 additions and 3 deletions

View File

@ -76,7 +76,12 @@ export default function Item({ service, group }) {
</div> </div>
)} )}
<div className="absolute top-0 right-0 w-1/2 flex flex-row justify-end gap-2 mr-2 z-30"> <a
href={service.href}
target={service.target ?? settings.target ?? "_blank"}
rel="noreferrer"
>
<div className="absolute top-0 right-0 w-1/2 flex flex-row justify-end gap-2 mr-2 z-30">
{service.ping && ( {service.ping && (
<div className="flex-shrink-0 flex items-center justify-center cursor-pointer"> <div className="flex-shrink-0 flex items-center justify-center cursor-pointer">
<Ping group={group} service={service.name} /> <Ping group={group} service={service.name} />
@ -104,7 +109,8 @@ export default function Item({ service, group }) {
<span className="sr-only">View container stats</span> <span className="sr-only">View container stats</span>
</button> </button>
)} )}
</div> </div>
</a>
</div> </div>
{service.container && service.server && ( {service.container && service.server && (

View File

@ -9,7 +9,7 @@ export default function Document() {
content="A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations." content="A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations."
/> />
<meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="manifest" href="/site.webmanifest?v=4" crossorigin="use-credentials" /> <link rel="manifest" href="/site.webmanifest?v=4" crossOrigin="use-credentials" />
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=4" color="#1e9cd7" /> <link rel="mask-icon" href="/safari-pinned-tab.svg?v=4" color="#1e9cd7" />
</Head> </Head>
<body> <body>