mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-03-14 10:41:57 +08:00
Compare commits
2 Commits
master
...
fix/remove
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e83371e97 | ||
|
|
cc2e75c812 |
@@ -4,7 +4,6 @@ import { getPageTrackingData } from '../../lib/browser';
|
||||
declare global {
|
||||
interface Window {
|
||||
gtag: any;
|
||||
varify: any;
|
||||
fireEvent: (props: {
|
||||
action: string;
|
||||
category: string;
|
||||
@@ -68,7 +67,7 @@ window.fireEvent = (props) => {
|
||||
}
|
||||
|
||||
const trackingData = getPageTrackingData();
|
||||
|
||||
|
||||
window.gtag('event', action, {
|
||||
event_category: category,
|
||||
event_label: label,
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -5,7 +5,6 @@ import SkeletonLayout from '../../layouts/SkeletonLayout.astro';
|
||||
---
|
||||
|
||||
<SkeletonLayout
|
||||
htmlClassName='varify-antiflicker'
|
||||
title='Master SQL'
|
||||
briefTitle='Learn SQL from the ground up'
|
||||
ogImageUrl='https://assets.roadmap.sh/guest/sql-course-bjc53.png'
|
||||
@@ -17,7 +16,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