refactor: improve links inside editor

This commit is contained in:
Carlos Valente
2025-02-27 21:14:16 +01:00
committed by Carlos Valente
parent bf99646ad5
commit 8adca908b3
7 changed files with 27 additions and 58 deletions
@@ -22,10 +22,3 @@
.label {
color: $label-gray;
}
.link {
color: $label-gray;
font-size: $text-body-size;
text-decoration: underline;
text-underline-offset: 2px;
}
@@ -16,6 +16,7 @@ import { navigatorConstants } from '../../../viewerConfig';
import { setClientRemote } from '../../hooks/useSocket';
import useUrlPresets from '../../hooks-query/useUrlPresets';
import Info from '../info/Info';
import AppLink from '../link/app-link/AppLink';
import style from './RedirectClientModal.module.scss';
@@ -58,9 +59,7 @@ export function RedirectClientModal(props: RedirectClientModalProps) {
Either by selecting a URL Preset or entering a custom path.
<br />
<br />
<a href='/editor?settings=feature_settings__urlpresets' target='_blank' className={style.link}>
Manage URL Presets
</a>
<AppLink search='settings=feature_settings__urlpresets'>Manage URL Presets</AppLink>
</Info>
<div>
<span className={style.label}>Select View or URL Preset</span>