feat(home): add live page on home

This commit is contained in:
Hakadao
2024-10-28 02:34:27 +08:00
parent 86e6f3a0ad
commit 3e42f53ebc
14 changed files with 300 additions and 4 deletions

View File

@@ -43,8 +43,8 @@ export function removeHttpFromUrl(url: string): string {
return url.replace(/^https?:/, '')
}
export function openLinkToNewTab(url: string) {
window.open(url, '_blank', 'noopener noreferrer')
export function openLinkToNewTab(url: string, features: string = '') {
window.open(url, '_blank', features)
}
/**