mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-24 15:00:31 +08:00
chore: remove varify
This commit is contained in:
committed by
Kamran Ahmed
parent
24eace0f73
commit
c2edaa810a
@@ -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) {
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -17,7 +17,6 @@ import SkeletonLayout from '../../layouts/SkeletonLayout.astro';
|
||||
'database administration',
|
||||
]}
|
||||
canonicalUrl='/courses/sql'
|
||||
hasVarify={true}
|
||||
jsonLd={[
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
|
||||
Reference in New Issue
Block a user