diff --git a/assets/js/dashboard/stats/devices/index.js b/assets/js/dashboard/stats/devices/index.js index ebd3580af494..45fa71eb427a 100644 --- a/assets/js/dashboard/stats/devices/index.js +++ b/assets/js/dashboard/stats/devices/index.js @@ -12,6 +12,7 @@ import { useSiteContext } from '../../site-context'; // Icons copied from https://github.com/alrra/browser-logos const BROWSER_ICONS = { 'Chrome': 'chrome.svg', + 'curl': 'curl.svg', 'Safari': 'safari.png', 'Firefox': 'firefox.svg', 'Microsoft Edge': 'edge.svg', diff --git a/priv/repo/seeds.exs b/priv/repo/seeds.exs index 4ded020dbcf9..79fe0fddaa62 100644 --- a/priv/repo/seeds.exs +++ b/priv/repo/seeds.exs @@ -163,7 +163,7 @@ native_stats_range hostname: Enum.random(["en.dummy.site", "es.dummy.site", "dummy.site"]), timestamp: put_random_time.(date, index), referrer_source: Enum.random(["", "Facebook", "Twitter", "DuckDuckGo", "Google"]), - browser: Enum.random(["Microsoft Edge", "Chrome", "Safari", "Firefox", "Vivaldi"]), + browser: Enum.random(["Microsoft Edge", "Chrome", "curl", "Safari", "Firefox", "Vivaldi"]), browser_version: to_string(Enum.random(0..50)), screen_size: Enum.random(["Mobile", "Tablet", "Desktop", "Laptop"]), operating_system: Enum.random(["Windows", "Mac", "GNU/Linux"]), diff --git a/priv/static/images/icon/browser/curl.svg b/priv/static/images/icon/browser/curl.svg new file mode 100644 index 000000000000..a864f342a552 --- /dev/null +++ b/priv/static/images/icon/browser/curl.svg @@ -0,0 +1,33 @@ + + +curl logo + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + +