Skip to content

Commit

Permalink
Add FAQ and Contact links to ListWidget; update terminology from Modu…
Browse files Browse the repository at this point in the history
…les to Subjects
  • Loading branch information
jeromehardaway committed Dec 19, 2024
1 parent 89b13e9 commit 297b407
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 6 additions & 0 deletions src/components/widgets/list-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ const ListWidget = ({ className, mode }: TProps) => {
<li className="tw-pr-5 tw-mb-[11px]">
<Anchor path="/code-of-conduct">Code of Conduct</Anchor>
</li>
<li className="tw-w-1/2 tw-pr-5 tw-mb-[11px]">
<Anchor path="/faq">FAQ</Anchor>
</li>
<li className="tw-w-1/2 tw-pr-5 tw-mb-[11px]">
<Anchor path="/contact-us">Contact us</Anchor>
</li>
</ul>
</div>
);
Expand Down
8 changes: 1 addition & 7 deletions src/components/widgets/two-col-list-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,15 @@ const TwoColumnListWidget = ({ className, mode }: TProps) => {
<li className="tw-w-1/2 tw-pr-5 tw-mb-[11px]">
<Anchor path="/about-us">Start here</Anchor>
</li>
<li className="tw-w-1/2 tw-pr-5 tw-mb-[11px]">
<Anchor path="/faq">FAQ</Anchor>
</li>
<li className="tw-w-1/2 tw-pr-5 tw-mb-[11px]">
<Anchor path="/blogs/blog">Blog</Anchor>
</li>
<li className="tw-w-1/2 tw-pr-5 tw-mb-[11px]">
<Anchor path="/curriculum/subjects">Modules</Anchor>
<Anchor path="/subjects/all">Subjects</Anchor>
</li>
<li className="tw-w-1/2 tw-pr-5 tw-mb-[11px]">
<Anchor path="/about-us">About us</Anchor>
</li>
<li className="tw-w-1/2 tw-pr-5 tw-mb-[11px]">
<Anchor path="/contact-us">Contact us</Anchor>
</li>
</ul>
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions src/data/innerpages/apply-to-be-a-student.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
},
{
"id": 3,
"title": "Modules Taught",
"counter": 100
"title": "Subjects Taught",
"counter": 13
},
{
"id": 4,
Expand Down
4 changes: 2 additions & 2 deletions src/data/innerpages/become-a-mentor.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
},
{
"id": 3,
"title": "Modules Taught",
"counter": 100,
"title": "Subjects Taught",
"counter": 10,
"suffix": "+"
},
{
Expand Down

0 comments on commit 297b407

Please sign in to comment.