Skip to content

Commit

Permalink
New favicon and faviconSVG (to match the vessels on the map)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGLund99 committed Nov 3, 2024
1 parent 192ed74 commit b46ff0b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
Binary file removed FaviconAIS.png
Binary file not shown.
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link
href="https://fonts.googleapis.com/css2?family=Gabarito:[email protected]&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap"
rel="stylesheet" />
<link rel="icon" href="/FaviconAIS.png" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Suspicious Vessel Finder</title>
</head>
Expand Down
16 changes: 9 additions & 7 deletions src/svgs/faviconSVG.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@ export default function FaviconSVG({ width, height }: IFaviconProps) {
height = height ? height : 30

return (
<svg width={width} height={height} viewBox="0 0 57 57" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="57" height="57" rx="28.5" fill="url(#paint0_linear_162_12)" />
<path
d="M7.74562 18.6412C7.27801 18.9112 6.91852 19.1734 6.77375 19.75C6.4836 20.8998 7.17192 22.092 8.31277 22.4156L25.0066 30.1906L23.3935 48.5363C23.1034 49.6861 23.7923 50.8794 24.9325 51.2019C26.0734 51.5256 26.9119 50.6059 27.5223 49.7068L47.8508 18.7799C48.141 17.6301 47.452 16.4368 46.3118 16.1143C45.1716 15.7917 9.36356 18.255 9.36356 18.255C8.65788 18.3045 8.21426 18.3707 7.74562 18.6412Z"
fill="white"
/>
<svg width={width} height={height} viewBox="0 0 275 275" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_222_45)">
<path d="M0 137.5C0 61.5608 61.5608 0 137.5 0V0C213.439 0 275 61.5608 275 137.5V137.5C275 213.439 213.439 275 137.5 275V275C61.5608 275 0 213.439 0 137.5V137.5Z" fill="url(#paint0_linear_222_45)" />
<path d="M134.661 245.778C134.956 245.422 156.417 209.03 182.357 164.896C225.695 91.1841 229.549 84.6044 229.736 83.7266C229.979 82.6314 229.91 81.6892 229.494 80.4135C229.21 79.5451 229.165 79.4757 228.487 78.8626C227.511 77.9665 226.599 77.473 225.545 77.2685C224.751 77.1093 214.191 78.271 132.027 87.5089C73.9258 94.0432 39.079 98.0205 38.5335 98.1936C37.8035 98.437 37.6108 98.5456 37.0801 99.0709C35.2941 100.855 34.8254 102.869 35.6292 105.325C35.9132 106.193 35.9582 106.262 36.6356 106.876C37.0101 107.225 37.5673 107.653 37.8714 107.817C38.1639 107.989 58.1345 116.642 82.2695 127.049C111.375 139.592 126.207 146.053 126.335 146.25C126.463 146.447 126.32 162.624 125.918 194.315C125.59 220.596 125.355 242.36 125.393 242.697C125.42 243.042 125.583 243.725 125.75 244.209C126.033 245.077 126.079 245.147 126.756 245.76C128.587 247.417 130.366 247.825 132.701 247.116C133.649 246.829 133.966 246.608 134.661 245.778Z" fill="white" fill-opacity="0.95" />
</g>
<defs>
<linearGradient id="paint0_linear_162_12" x1="51.5" y1="2.5" x2="5" y2="50" gradientUnits="userSpaceOnUse">
<linearGradient id="paint0_linear_222_45" x1="248.465" y1="12.0614" x2="24.1228" y2="241.228" gradientUnits="userSpaceOnUse">
<stop stopColor="#0051FF" />
<stop offset="1" stopColor="#00329E" />
</linearGradient>
<clipPath id="clip0_222_45">
<path d="M0 137.5C0 61.5608 61.5608 0 137.5 0V0C213.439 0 275 61.5608 275 137.5V137.5C275 213.439 213.439 275 137.5 275V275C61.5608 275 0 213.439 0 137.5V137.5Z" fill="white" />
</clipPath>
</defs>
</svg>
)
Expand Down

0 comments on commit b46ff0b

Please sign in to comment.