chore: remove varify

This commit is contained in:
Arik Chakma
2025-09-05 11:49:47 +01:00
committed by Kamran Ahmed
parent 24eace0f73
commit c2edaa810a
3 changed files with 0 additions and 21 deletions
-19
View File
@@ -42,7 +42,6 @@ export interface Props {
jsonLd?: Record<string, unknown>[];
resourceId?: string;
resourceType?: ResourceType;
hasVarify?: boolean;
}
const {
@@ -61,7 +60,6 @@ const {
initialLoadingMessage = '',
resourceId,
resourceType,
hasVarify = false,
} = Astro.props;
// Remove trailing slashes to consider the page as canonical
@@ -162,23 +160,6 @@ const gaPageIdentifier = Astro.url.pathname
<link rel='preconnect' href='https://www.google-analytics.com/' />
<link rel='preconnect' href='https://api.roadmap.sh/' />
{
hasVarify && (
<Fragment>
<style is:inline>.varify-antiflicker{opacity:0 !important}</style>
<script is:inline>
window.setTimeout(() => {
document.querySelectorAll('.varify-antiflicker').forEach((el) => {
el.classList.remove('varify-antiflicker');
});
}, 4000);
window.varify = window.varify || {};
window.varify.iid = 4013;
</script>
<script is:inline src='https://app.varify.io/varify.js' />
</Fragment>
)
}
<!-- Google Tag Manager Start -->
<script is:inline>
(function (w, d, s, l, i) {
-1
View File
@@ -8,7 +8,6 @@ import SkeletonLayout from '../../layouts/SkeletonLayout.astro';
briefTitle='Learn SQL from the ground up'
ogImageUrl='https://assets.roadmap.sh/guest/sql-course-bjc53.png'
description='Learn SQL from the ground up. This SQL programming class is designed to help you go from beginner to expert through hands-on practice with real-world scenarios, mastering everything from basic to complex queries.'
hasVarify={true}
keywords={[
'sql',
'database',
-1
View File
@@ -17,7 +17,6 @@ import SkeletonLayout from '../../layouts/SkeletonLayout.astro';
'database administration',
]}
canonicalUrl='/courses/sql'
hasVarify={true}
jsonLd={[
{
'@context': 'https://schema.org',