fix lighthouse issues.

This commit is contained in:
Nawaz Dhandala 2020-09-07 15:55:18 +09:00
parent 3219d141f3
commit aaf878c087
24 changed files with 24 additions and 24 deletions

View File

@ -10,7 +10,7 @@
<link rel="stylesheet" href="/css/shared-site.css">
<link rel="stylesheet" href="/css/home.css">
<link rel="stylesheet" href="/css/products.css">
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -10,7 +10,7 @@
<link rel="stylesheet" href="/css/shared-site.css">
<link rel="stylesheet" href="/css/home.css">
<link rel="stylesheet" href="/css/products.css">
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -11,7 +11,7 @@
<link rel="stylesheet" href="/css/local-nav.css">
<link rel="stylesheet" href="/css/flexbox-grid.css">
<link rel="stylesheet" href="/css/customers.css">
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -12,7 +12,7 @@
<link rel="stylesheet" href="/css/demo.css">
<script defer src="/js/demo.js"></script>
<script defer src="/js/emaildomains.js"></script>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -4,7 +4,7 @@
<p>The Digital Millennium Copyright Act established a process for addressing claims of copyright infringement that
we have implemented for Fyipe services</p>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -12,7 +12,7 @@
<link rel="stylesheet" href="/css/demo.css">
<script defer src="/js/demo.js"></script>
<script defer src="/js/emaildomains.js" async></script>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
</head>
<body>

View File

@ -12,7 +12,7 @@
<link rel="stylesheet" href="/css/home.css">
<link rel="stylesheet" href="/css/products.css">
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -64,7 +64,7 @@
<meta name="twitter:description"
content="Fyipe monitors websites, API's, and servers and alerts your team if something goes wrong. It also keeps your customers updated about any downtime.">
<link rel="stylesheet" href="/css/default.css">
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" crossorigin="anonymous"></script>
<script async src="/js/default.js"></script>
<script defer src="/js/switchUrl.js"></script>
<link rel="preconnect" href="https://script.hotjar.com" crossorigin="">

View File

@ -10,7 +10,7 @@
<link rel="stylesheet" href="/css/shared-site.css">
<link rel="stylesheet" href="/css/home.css">
<link rel="stylesheet" href="/css/products.css">
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -17,7 +17,7 @@
<script src="/js/crm.js" type="text/javascript" async></script>
<link rel="stylesheet" href="/css/home.css">
<script defer src="/js/home.js"></script>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -9,7 +9,7 @@
<% include ./head %>
<link rel="stylesheet" href="/css/common.css">
<link rel="stylesheet" href="/css/legal.css">
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -11,7 +11,7 @@
<link rel="stylesheet" href="/css/shared-site.css">
<link rel="stylesheet" href="/css/home.css">
<link rel="stylesheet" href="/css/products.css">
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -10,7 +10,7 @@
<link rel="stylesheet" href="/css/shared-site.css" />
<link rel="stylesheet" href="/css/home.css" />
<link rel="stylesheet" href="/css/products.css" />
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -6,7 +6,7 @@
<meta name="description"
content="Simple, transparent pricing. Compare different pricing plans. Choose the one which suits your buisness best.">
<% include ./head %>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -8,7 +8,7 @@
<meta name="description"
content="Here's a more detailed comparision between <%= productConfig.productName %> and Fyipe.">
<% include ./head %>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -21,7 +21,7 @@
<script defer src="/js/default.js"></script>
<script defer src="/js/resources.js"></script>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -1,7 +1,7 @@
<header id="pagmt">
<h1>Service Level Agreement</h1>
<p>Please Read Carefully Prior To Using This Product</p>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1); var IS_DEV = window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1;
if (IS_SAAS_SERVICE) {
amplitude.getInstance().logEvent('PAGE VIEW: HOME > LEGAL > SLA');

View File

@ -3,7 +3,7 @@
<h1>SOC 2</h1>
<p>Service Organization Control (SOC) Reports</p>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -3,7 +3,7 @@
<h1>SOC 3</h1>
<p>Service Organization Control (SOC) Reports</p>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -11,7 +11,7 @@
<link rel="stylesheet" href="/css/shared-site.css">
<link rel="stylesheet" href="/css/home.css">
<link rel="stylesheet" href="/css/products.css">
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -4,7 +4,7 @@
<p>To support delivery of our Services we engage and use
data processors with access to certain Customer Data.</p>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -10,7 +10,7 @@
<% include ./head %>
<link rel="stylesheet" href="/css/contact.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap">
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -1,7 +1,7 @@
<header id="pagmt">
<h1>Terms of Use</h1>
<p>Please Read Carefully Prior To Using This Product</p>
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {

View File

@ -10,7 +10,7 @@
<link rel="stylesheet" href="/css/shared-site.css">
<link rel="stylesheet" href="/css/home.css">
<link rel="stylesheet" href="/css/products.css">
<script async src="/js/amplitude.js"></script>
<script src="/js/amplitude.js"></script>
<script type="module" async>
var IS_SAAS_SERVICE = !(window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('staging') > -1);
if (IS_SAAS_SERVICE) {