Geovation/photos

View on GitHub
public/index.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
-->
<html lang="en">

<head>
    <!-- https://firebase.google.com/docs/perf-mon/get-started-web#add-first-input-delay-polyfill
        https://github.com/GoogleChrome/web-vitals#load-the-library
        To measure the first input delay metric, the polyfill library is needed.
        The polyfill is now part of the web-vitals library,
        so we inline code from `node_modules/web-vitals/dist/polyfill.js` here. -->
    <script id="web-vitals">!function(){var e,t,n,i,r={passive:!0,capture:!0},a=new Date,o=function(){i=[],t=-1,e=null,f(addEventListener)},c=function(i,r){e||(e=r,t=i,n=new Date,f(removeEventListener),u())},u=function(){if(t>=0&&t<n-a){var r={entryType:"first-input",name:e.type,target:e.target,cancelable:e.cancelable,startTime:e.timeStamp,processingStart:e.timeStamp+t};i.forEach((function(e){e(r)})),i=[]}},s=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){c(e,t),a()},i=function(){a()},a=function(){removeEventListener("pointerup",n,r),removeEventListener("pointercancel",i,r)};addEventListener("pointerup",n,r),addEventListener("pointercancel",i,r)}(t,e):c(t,e)}},f=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,s,r)}))},p="hidden"===document.visibilityState?0:1/0;addEventListener("visibilitychange",(function e(t){"hidden"===document.visibilityState&&(p=t.timeStamp,removeEventListener("visibilitychange",e,!0))}),!0);o(),self.webVitals={firstInputPolyfill:function(e){i.push(e),u()},resetFirstInputPolyfill:o,get firstHiddenTime(){return p}}}();</script>

    <meta charset="utf-8" />
    <base href="/" />

    <meta http-equiv="Content-Security-Policy" content="
        default-src * blob: data: gap://ready https://ssl.gstatic.com 'unsafe-eval' 'unsafe-inline' file://* blob:;
        connect-src * blob: 'unsafe-inline';
        style-src * data: blob: 'self' 'unsafe-inline';
        font-src * data: blob: 'unsafe-inline';
        media-src * blob: 'unsafe-inline';
        script-src * data: gap: blob: https://ssl.gstatic.com http://localhost 'self' 'unsafe-inline' 'unsafe-eval';
        frame-src * blob: gap://ready;
        img-src * 'self' data: content: blob: 'unsafe-inline';">

    <!-- From the ionic template -->
    <meta name="format-detection" content="telephone=no">
    <meta name="msapplication-tap-highlight" content="no">
    <meta 
        name="viewport" 
        content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width, viewport-fit=cover">
    
    <!-- PWA -->
    <link rel="manifest" href="%PUBLIC_URL%/custom/manifest.webmanifest">

    <!-- Add to home screen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="%REACT_APP_TITLE%">
    <link rel="apple-touch-icon" href="%PUBLIC_URL%/custom/images/logo-152x152.png">
    <meta name="msapplication-TileImage" content="%PUBLIC_URL%/custom/images/logo-144x144.png">
    <meta name="msapplication-TileColor" content="#2F3BA2">

    <link rel="shortcut icon" href="%PUBLIC_URL%/custom/images/favicon.ico">

    <!-- Latest compiled and minified CSS -->
    <title>%REACT_APP_TITLE%</title>
</head>

<body>
    <div id="root"></div>
</body>

</html>