mirror of
https://github.com/plausible/analytics.git
synced 2024-11-22 02:27:57 +03:00
Add curl browser icon (#4372)
This commit is contained in:
parent
feea0628c4
commit
1c39f06ae8
@ -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',
|
||||
|
@ -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"]),
|
||||
|
33
priv/static/images/icon/browser/curl.svg
Normal file
33
priv/static/images/icon/browser/curl.svg
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="343pt" height="103pt" version="1.1" viewBox="0 0 343 103" xmlns="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>curl logo</title>
|
||||
<metadata>
|
||||
<rdf:RDF>
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:title/>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs>
|
||||
<symbol id="vlpd" overflow="visible" style="overflow:visible">
|
||||
<path d="m15-26.8c0 7.09 1.33 10.6 6.86 15.1l8.53 7.11c5.41 4.44 8.17 4.56 14.9 4.56h18.3c3.84 0 7.94-0.844 7.94-5.77 0-5.06-4.56-5.78-7.94-5.78h-20.3c-2.3 0-4.58-1.2-6.62-2.89l-6.97-5.89c-1.81-1.44-3.12-2.64-3.12-4.92v-14.3c0-2.28 1.31-3.48 3.12-4.94l6.97-5.89c2.05-1.67 4.33-2.88 6.62-2.88h20.3c3.38 0 7.94-0.734 7.94-5.78 0-4.92-4.09-5.77-7.94-5.77h-18.3c-6.73 0-9.5 0.125-14.9 4.56l-8.53 7.09c-5.53 4.58-6.86 8.06-6.86 15.2z"/>
|
||||
</symbol>
|
||||
<symbol id="vlpc" overflow="visible" style="overflow:visible">
|
||||
<path d="m71.5-56.9c0-3.97-0.844-7.94-5.77-7.94-4.94 0-5.78 3.97-5.78 7.94v33.5l-17 10.7c-1.08 0.719-2.28 1.08-3.61 1.08h-3.84c-2.77 0-5.77-0.719-6.73-2.41-0.969-1.67-1.08-4.81-1.2-7.45l-1.2-35.5c-0.125-3.73-0.719-7.94-5.66-7.94-5.28 0-5.89 4.45-5.77 8.66l1.2 36.3c0.234 6.25 0.125 11.2 5.3 15.6 3.84 3.23 7.45 4.2 10.7 4.2h8.53c3.12 0 6.25-1.44 9.98-3.84l9.38-6.14v1.92c0 3.97 0.844 8.06 5.77 8.06 6.14 0 5.66-5.89 5.66-8.53z"/>
|
||||
</symbol>
|
||||
<symbol id="vlpb" overflow="visible" style="overflow:visible">
|
||||
<path d="m15-7.94c0 3.97 0.844 7.94 5.77 7.94 4.94 0 5.78-3.97 5.78-7.94v-29.2l16.1-13.3c2.05-1.69 3.61-2.77 5.77-2.77h3.38c2.77 0 5.53 0 6.97 2.05 1.2 1.67 1.2 3.12 1.2 5.05 0 3.72 1.69 7.09 5.89 7.09 4.94 0 5.66-4.09 5.66-8.06 0-5.28-1.33-9.25-5.17-13.1-3.12-3.12-6.84-4.56-11.3-4.56h-9.27c-3.61 0-6.97 2.28-10.2 4.92l-9.02 7.47v-4.7c0-3.84-1.2-7.69-5.78-7.69-5.28 0-5.77 4.33-5.77 8.53z"/>
|
||||
</symbol>
|
||||
<symbol id="vlpa" overflow="visible" style="overflow:visible">
|
||||
<path d="m49.3-80.6c0-6.86-1.92-8.06-8.53-8.06h-12.1c-3.86 0-7.94 0.844-7.94 5.77 0 5.06 4.56 5.78 7.94 5.78h9.14v65.5h-9.14c-3.86 0-7.94 0.844-7.94 5.78 0 5.05 4.56 5.77 7.94 5.77h29.3c3.38 0 7.94-0.719 7.94-5.77 0-4.94-4.08-5.78-7.94-5.78h-8.66z"/>
|
||||
</symbol>
|
||||
</defs>
|
||||
<path d="m334 14c-2.74 0-4.96-2.22-4.96-4.96 0-2.74 2.22-4.96 4.96-4.96 2.74 0 4.96 2.22 4.96 4.96 0 2.74-2.22 4.96-4.96 4.96m-49.3 84.8c-2.74 0-4.96-2.22-4.96-4.96 0-2.74 2.22-4.96 4.96-4.96 2.74 0 4.96 2.22 4.96 4.96 0 2.74-2.22 4.96-4.96 4.96m49.3-98.8c-5.02 0-9.08 4.07-9.08 9.08 0 1.07 0.27 2.07 0.609 3.02l-42.6 73c-4.12 0.863-7.27 4.34-7.27 8.72 0 5.02 4.07 9.08 9.08 9.08 5.01 0 9.08-4.07 9.08-9.08 0-1.01-0.27-1.93-0.57-2.84l42.8-73.3c3.99-0.957 7.02-4.38 7.02-8.66 0-5.02-4.07-9.08-9.08-9.08" style="fill:#0c544c"/>
|
||||
<path d="m297 14c-2.74 0-4.96-2.22-4.96-4.96 0-2.74 2.22-4.96 4.96-4.96 2.74 0 4.96 2.22 4.96 4.96 0 2.74-2.22 4.96-4.96 4.96m-49.3 84.8c-2.74 0-4.96-2.22-4.96-4.96 0-2.74 2.22-4.96 4.96-4.96 2.74 0 4.96 2.22 4.96 4.96 0 2.74-2.22 4.96-4.96 4.96m49.3-98.8c-5.02 0-9.08 4.07-9.08 9.08 0 1.07 0.27 2.07 0.609 3.02l-42.6 73c-4.12 0.863-7.28 4.34-7.28 8.72 0 5.02 4.07 9.08 9.08 9.08 5.02 0 9.08-4.07 9.08-9.08 0-1.01-0.27-1.93-0.57-2.84l42.8-73.3c3.99-0.957 7.02-4.38 7.02-8.66 0-5.02-4.07-9.08-9.08-9.08" style="fill:#073551"/>
|
||||
<path d="m229 29.2c2.74 0 4.96 2.22 4.96 4.96s-2.22 4.96-4.96 4.96c-2.74 0-4.96-2.22-4.96-4.96s2.22-4.96 4.96-4.96m0 14c5.02 0 9.08-4.07 9.08-9.08 0-1-0.273-1.93-0.574-2.84-1.2-3.61-4.5-6.25-8.51-6.25-0.641 0-1.2 0.238-1.81 0.367-4.12 0.859-7.27 4.34-7.27 8.71 0 5.02 4.07 9.08 9.08 9.08" style="fill:#073551"/>
|
||||
<path d="m224 65.9c0-2.74 2.22-4.96 4.96-4.96s4.96 2.22 4.96 4.96c0 2.74-2.22 4.96-4.96 4.96s-4.96-2.22-4.96-4.96m14 0c0-1.01-0.273-1.93-0.574-2.84-1.2-3.61-4.5-6.25-8.51-6.25-0.641 0-1.2 0.238-1.81 0.363-4.12 0.863-7.27 4.34-7.27 8.72 0 5.01 4.07 9.08 9.08 9.08 5.02 0 9.08-4.07 9.08-9.08" style="fill:#073551"/>
|
||||
<use transform="translate(-86.2 -184)" x="71.179703" y="286.97659" width="100%" height="100%" style="fill:#073551" xlink:href="#vlpd"/>
|
||||
<use transform="translate(-86.2 -184)" x="133.71095" y="286.97659" width="100%" height="100%" style="fill:#073551" xlink:href="#vlpc"/>
|
||||
<use transform="translate(-86.2 -184)" x="196.2422" y="286.97659" width="100%" height="100%" style="fill:#073551" xlink:href="#vlpb"/>
|
||||
<use transform="translate(-86.2 -184)" x="239.65331" y="286.97659" width="100%" height="100%" style="fill:#073551" xlink:href="#vlpa"/>
|
||||
</svg>
|
After Width: | Height: | Size: 4.5 KiB |
Loading…
Reference in New Issue
Block a user