Skip to content

Commit

Permalink
Merge pull request #96 from Vizzuality/SKY30-75-favicon
Browse files Browse the repository at this point in the history
[SKY30-75]: favicon site
  • Loading branch information
SARodrigues authored Nov 29, 2023
2 parents cefcff2 + 2b394f8 commit 645c0f1
Show file tree
Hide file tree
Showing 11 changed files with 76 additions and 1 deletion.
Binary file added frontend/public/android-chrome-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions frontend/public/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added frontend/public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon.ico
Binary file not shown.
Binary file added frontend/public/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions frontend/public/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions frontend/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const PopupContainer = () => {

const setPopup = useSetAtom(popupAtom);

const availableSources = popup?.features?.map(({ source }) => source);
const availableSources = Array.from(new Set(popup?.features?.map(({ source }) => source)));

const { data: layersInteractiveData } = useGetLayers(
{
Expand Down
30 changes: 30 additions & 0 deletions frontend/src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import Document, { Html, Main, NextScript, Head } from 'next/document';

export default class MyDocument extends Document {
render() {
return (
<Html lang="en">
<Head>
<meta httpEquiv="x-ua-compatible" content="ie=edge" />
<meta name="author" content="Vizzuality" />

<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />

<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@SkyTruth" />
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
}

0 comments on commit 645c0f1

Please sign in to comment.