1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 23:59:35 +05:30

(refactor): using minified jquery for better performance and removed recaptcha js from unused pages

This commit is contained in:
2024-07-30 13:55:19 +05:30
parent d26e2bfccb
commit 646438383a
2 changed files with 2 additions and 2 deletions

View File

@@ -7,9 +7,8 @@
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" /> <link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<link rel="icon" type="image/x-icon" href="assets/images/favicon.ico"> <link rel="icon" type="image/x-icon" href="assets/images/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/js/all.min.js" integrity="sha512-uKQ39gEGiyUJl4AI6L+ekBdGKpGw4xJ55+xyJG7YFlJokPNYegn9KwQ3P8A7aFQAUtUsAQHep+d/lrGqrbPIDQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/js/all.min.js" integrity="sha512-uKQ39gEGiyUJl4AI6L+ekBdGKpGw4xJ55+xyJG7YFlJokPNYegn9KwQ3P8A7aFQAUtUsAQHep+d/lrGqrbPIDQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://code.jquery.com/jquery-3.7.1.js" integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4=" crossorigin="anonymous"></script> <script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script src="https://cdn.lordicon.com/lordicon-1.2.0.js"></script> <script src="https://cdn.lordicon.com/lordicon-1.2.0.js"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script src="assets/js/utility-functions.js"></script> <script src="assets/js/utility-functions.js"></script>
<!-- Google tag (gtag.js) --> <!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo $_ENV['ANALYTICS_ID'] ?>"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo $_ENV['ANALYTICS_ID'] ?>"></script>

View File

@@ -17,6 +17,7 @@ write_dataset($conn);
<meta property="og:image" content="https://<?php echo $domain ?>/assets/images/neosubhamoy.jpg"> <meta property="og:image" content="https://<?php echo $domain ?>/assets/images/neosubhamoy.jpg">
<title><?php echo fetch_page_title($conn, "Contact");?></title> <title><?php echo fetch_page_title($conn, "Contact");?></title>
<?php require 'assets/_integrate.php';?> <?php require 'assets/_integrate.php';?>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head> </head>
<body class="font-lexend bg-bg_primary text-accent_secondary"> <body class="font-lexend bg-bg_primary text-accent_secondary">
<?php include 'assets/_preloader.php';?> <?php include 'assets/_preloader.php';?>