mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
adjust service marketplace button for installation source relevance (#1571)
* adjust service marketplace button for installation source relevance * cleanup * show marketplace name instead of url; cleanup from PR feedback * fix spacing * further cleanup
This commit is contained in:
@@ -36,3 +36,16 @@ export function debounce(delay: number = 300): MethodDecorator {
|
||||
return descriptor
|
||||
}
|
||||
}
|
||||
|
||||
export function removeTrailingSlash(word: string): string {
|
||||
return word.replace(/\/+$/, '')
|
||||
}
|
||||
|
||||
export function isValidHttpUrl(string: string): boolean {
|
||||
try {
|
||||
const _ = new URL(string)
|
||||
return true
|
||||
} catch (_) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,4 +110,12 @@ ion-modal::part(content) {
|
||||
|
||||
.montserrat {
|
||||
font-family: 'Montserrat', sans-serif !important;
|
||||
}
|
||||
|
||||
.color-success-shade {
|
||||
color: var(--ion-color-success-shade)
|
||||
}
|
||||
|
||||
.color-primary-shade {
|
||||
color: var(--ion-color-primary-shade)
|
||||
}
|
||||
Reference in New Issue
Block a user