refactor: remove duplicate icon mappings for clarity
Eliminated redundant entries in iconMaps to streamline the mapping process and enhance readability. This consolidation reduces clutter and ensures a more efficient and maintainable codebase.
This commit is contained in:
parent
36e7962b83
commit
53a6b5d403
1 changed files with 0 additions and 7 deletions
|
|
@ -48,25 +48,21 @@ defineProps({
|
||||||
})
|
})
|
||||||
|
|
||||||
const iconMaps = {
|
const iconMaps = {
|
||||||
'android': AndroidIcon,
|
|
||||||
'android': AndroidIcon,
|
'android': AndroidIcon,
|
||||||
'android browser': AndroidIcon,
|
'android browser': AndroidIcon,
|
||||||
'browser': Globe,
|
'browser': Globe,
|
||||||
'chrome': GoogleChromeIcon,
|
'chrome': GoogleChromeIcon,
|
||||||
'chrome headless': GoogleChromeIcon,
|
'chrome headless': GoogleChromeIcon,
|
||||||
'chrome webview': GoogleChromeIcon,
|
'chrome webview': GoogleChromeIcon,
|
||||||
'chrome webview': GoogleChromeIcon,
|
|
||||||
'chromium': GoogleChromeIcon,
|
'chromium': GoogleChromeIcon,
|
||||||
'curl': Terminal,
|
'curl': Terminal,
|
||||||
'debian': DebianIcon,
|
'debian': DebianIcon,
|
||||||
'desktop': MonitorCheck,
|
'desktop': MonitorCheck,
|
||||||
'desktop': MonitorCheck,
|
|
||||||
'facebook': FacebookIcon,
|
'facebook': FacebookIcon,
|
||||||
'facebookexternalhit': FacebookIcon,
|
'facebookexternalhit': FacebookIcon,
|
||||||
'firefox': FirefoxBrowserIcon,
|
'firefox': FirefoxBrowserIcon,
|
||||||
'googlebot': GoogleIcon,
|
'googlebot': GoogleIcon,
|
||||||
'googlebot-image': GoogleIcon,
|
'googlebot-image': GoogleIcon,
|
||||||
'googlebot-image': GoogleIcon,
|
|
||||||
'gnu': GnuIcon,
|
'gnu': GnuIcon,
|
||||||
'harmonyos': HuaweiIcon,
|
'harmonyos': HuaweiIcon,
|
||||||
'huawei browser': HuaweiIcon,
|
'huawei browser': HuaweiIcon,
|
||||||
|
|
@ -79,7 +75,6 @@ const iconMaps = {
|
||||||
'linux': LinuxIcon,
|
'linux': LinuxIcon,
|
||||||
'macintosh': AppleIcon,
|
'macintosh': AppleIcon,
|
||||||
'macos': MacOsIcon,
|
'macos': MacOsIcon,
|
||||||
'macos': MacOsIcon,
|
|
||||||
'miui browser': XiaomiIcon,
|
'miui browser': XiaomiIcon,
|
||||||
'mobile': Smartphone,
|
'mobile': Smartphone,
|
||||||
'mobile chrome': GoogleChromeIcon,
|
'mobile chrome': GoogleChromeIcon,
|
||||||
|
|
@ -90,12 +85,10 @@ const iconMaps = {
|
||||||
'safari': SafariIcon,
|
'safari': SafariIcon,
|
||||||
'samsung internet': SamsungIcon,
|
'samsung internet': SamsungIcon,
|
||||||
'tablet': Tablet,
|
'tablet': Tablet,
|
||||||
'tablet': Tablet,
|
|
||||||
'twitterbot': XIcon,
|
'twitterbot': XIcon,
|
||||||
'ubuntu': UbuntuIcon,
|
'ubuntu': UbuntuIcon,
|
||||||
'vivo browser': VivoIcon,
|
'vivo browser': VivoIcon,
|
||||||
'wechat': WeChatIcon,
|
'wechat': WeChatIcon,
|
||||||
'wechat': WeChatIcon,
|
|
||||||
'wearable': WearOsIcon,
|
'wearable': WearOsIcon,
|
||||||
'yandex': YandexCloudIcon,
|
'yandex': YandexCloudIcon,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue