Skip to content

Commit a9627ea

Browse files
committed
Fix: Hotjar and broken links
1 parent b84c5a0 commit a9627ea

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

docs/technical-writing-course/Information-gathering.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The first step in information gathering is defining the scope of your document b
3030

3131
Defining your audience involves determining who you are writing the technical document for and the knowledge gap you want to fill.
3232
You need to understand your audience's technical knowledge, background, and expectations to do this.
33-
You can check out [module 2](./Writing-for-Different-Audience) of this course to learn more about defining your audience.
33+
You can check out [module 2](./writing-for-different-audience) of this course to learn more about defining your audience.
3434

3535
### Determining The Purpose Of Your Document
3636

docs/technical-writing-course/Managing-Technical-Writing-Projects.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
slug: /Managing-Technical-Writing-Projects
2+
slug: /managing-technical-writing-projects
33
title: Managing Technical Writing Projects
44
description: "In this module, you will learn how to manage your technical writing projects, whether working as a team or solo."
55
keywords: [technical writing, technical writing projects, tutorial ]
@@ -326,7 +326,7 @@ Steps to help you allocate information resources effectively:
326326
#### (a). Understand Project Requirements
327327

328328
Have a clear understanding of your project's scope, objectives, and information needs. Identify the types of information required for the specific technical content you are creating.
329-
You can check out [this page](./Information-gathering) of this course to learn more about information gathering.
329+
You can check out [this page](./information-gathering) of this course to learn more about information gathering.
330330

331331

332332
#### (b). Identify Key Information Sources

src/pages/index.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@ import HandsOnCourses from "../components/academyComponent/HandsOnCourses";
66
import BlogSection from "../components/blogComponent/BlogSection";
77
import TestimonialSection from "../components/TestimonialSection/testimonial";
88
import Homepage from "../components/HomePage";
9-
import Hotjar from '@hotjar/browser';
9+
import Hotjar from "@hotjar/browser";
10+
import { useEffect } from 'react';
1011

1112
export default function Home() {
1213
const { siteConfig } = useDocusaurusContext();
1314
const siteId = 6417587;
14-
const hotjarVersion = 6;
15+
const hotjarVersion = 6;
1516

16-
Hotjar.init(siteId, hotjarVersion);
17+
useEffect(() => {
18+
// This only runs client-side, after the component mounts
19+
if (typeof window !== "undefined") {
20+
Hotjar.init(siteId, hotjarVersion);
21+
}
22+
}, []);
1723
return (
1824
<Layout
1925
title={`${siteConfig.title}`}

0 commit comments

Comments
 (0)