Skip to content

Commit

Permalink
patch: navigation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TalhaFaisalglor committed May 1, 2024
1 parent 7987cb1 commit 882d644
Show file tree
Hide file tree
Showing 26 changed files with 54 additions and 66 deletions.
8 changes: 8 additions & 0 deletions src/assets/img/logos/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/pages/_data/navigation/headerNav.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
{ title: "Getting Started", url: "/getting-started/", class:"" },
{ title: "Ideology", url: "/ideology/", class:"" },
{ title: "Concepts", url: "/concepts/", class:"" },
{ title: "Developer Onboarding", url: "/dev-onboarding/", class:"" },
{ title: "Training", url: "/training/", class:"" },
{ title: "Help", url: "/help/", class:"" },
]
Expand Down
38 changes: 12 additions & 26 deletions src/pages/_data/navigation/mainNav.json5
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,24 @@
]
},
{
"title": "Developer Onboarding",
"url": "/dev-onboarding/",
"title": "Training",
"url": "/training/",
"children": [
{
"title": "Learn",
"url": "/dev-onboarding/learn/",
{
"title": "Building a Skill",
"url": "/training/building-a-skill/",
"children": [
{ "title": "Building a Root Skill View", "url": "/dev-onboarding/learn/rootskillview/" },
{ "title": "Managing your Family Members", "url": "/dev-onboarding/learn/members/" },
{ "title": "Managing your Metadata", "url": "/dev-onboarding/learn/metadata/" },
{ "title": "Creating Multi-card Forms", "url": "/dev-onboarding/learn/multi-card-forms/" },
{ "title": "Generating Personalized Stories", "url": "/dev-onboarding/learn/personalized-stories/" },
{ "title": "Long Running Operations", "url": "/dev-onboarding/learn/long-running-operations/" },
{ "title": "Sharing the Story", "url": "/dev-onboarding/learn/share-story/" }
{ "title": "Building a Root Skill View", "url": "/training/building-a-skill/rootskillview/" },
{ "title": "Managing your Family Members", "url": "/training/building-a-skill/members/" },
{ "title": "Managing your Metadata", "url": "/training/building-a-skill/metadata/" },
{ "title": "Creating Multi-card Forms", "url": "/training/building-a-skill/multi-card-forms/" },
{ "title": "Generating Personalized Stories", "url": "/training/building-a-skill/personalized-stories/" },
{ "title": "Long Running Operations", "url": "/training/building-a-skill/long-running-operations/" },
{ "title": "Sharing the Story", "url": "/training/building-a-skill/share-story/" }
]
}
]
},
{
"title": "Training",
"url": "/training/",
"children": [
{ "title": "Building a Root Skill View", "url": "/training/errors/" },
{ "title": "Managing your Family Members", "url": "/training/schemas/" },
{ "title": "Managing your Metadata", "url": "/training/stores/" },
{ "title": "Creating Multi-card Forms", "url": "/training/events/" },
{ "title": "Generating Personalized Stories", "url": "/training/tests/" },
{ "title": "Long Running Operations", "url": "/training/views/" },
{ "title": "Sharing the Story", "url": "/training/listeners/" },
{ "title": "Sharing the Story", "url": "/training/mercury/" }
]
},
{
"title": "Concepts",
"url": "/concepts/",
Expand Down
12 changes: 2 additions & 10 deletions src/pages/_includes/widgets/home-tiles.njk
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,11 @@
</div>
{% endlinkTile %}

{% linkTile "/dev-onboarding/" | url, "home-tile" %}
{{ rocketshipIcon() }}
<div class="text-wrapper">
<h2>Developer Onboarding</h2>
<p>Onboarding materials that ensure a seamless initiation process into the Sprucebot ecosystem.</p>
</div>
{% endlinkTile %}

{% linkTile "/training/" | url, "home-tile" %}
{{ personReadingIcon() }}
{{ rocketshipIcon() }}
<div class="text-wrapper">
<h2>Training</h2>
<p>Learn how to use Sprucebot to its full potential.</p>
<p>Training materials that ensure a seamless initiation process into the Sprucebot ecosystem.</p>
</div>
{% endlinkTile %}

Expand Down
4 changes: 2 additions & 2 deletions src/pages/_includes/widgets/navigation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<a href="{{ '/getting-started/' | url }}" class="btn-text">Getting Started</a>
<a href="{{ '/ideology/' | url }}" class="btn-text">Ideology</a>
<a href="{{ '/concepts/' | url }}" class="btn-text">Concepts</a>
<a href="{{ '/dev-onboarding/' | url }}" class="btn-text">Training</a>
<a href="{{ '/glossary/' | url }}" class="btn-text">Help</a>
<a href="{{ '/training/' | url }}" class="btn-text">Training</a>
<a href="{{ '/help/' | url }}" class="btn-text">Help</a>
</li>
{% for topLink in mainNavData.links %}
{% set isCurrentParent = topLink.url == activeParent.url %}
Expand Down
23 changes: 0 additions & 23 deletions src/pages/dev-onboarding/dev-onboarding.md

This file was deleted.

5 changes: 4 additions & 1 deletion src/pages/help/contact.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
title: Contact
---
---
<a href="discord_link">
<img src="/assets/img/logos/discord.svg" alt="Discord Logo" style="width:50px; height:50px;">
</a>
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: Learn
title: Building a Skill
script: frameworks.js
---

You've reached the "Learn" section, a step towards unleashing the full potential of your programming skills within the Spruce ecosystem.
You've reached the Building a Skill section, a step towards unleashing the full potential of your programming skills within the Spruce ecosystem.

## What You Will Learn

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/pages/training/train/training.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Training
---
File renamed without changes.
22 changes: 21 additions & 1 deletion src/pages/training/training.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
---
title: Training
---
---

Welcome to the Developer Onboarding Guide for Spruce. This guide serves as your comprehensive roadmap, crafted to seamlessly introduce you to the intricacies of the Sprucebot platform. At its core, this guide utilizes an engaging, hands-on approach: you will develop a family-centric AI story generator, which acts as a practical tool for learning.

In this section, we've outlined six chapters to guide you step by step in building an app that crafts stories about you and your family members based on your family values.

<div class="guide-sections">
<a href="learn/" class="section-link">
<span class="section-number">Section 1</span>
<span class="section-title">Learn.</span>
</a>
</div>

In this section of our guide, we provide a series of katas, or structured exercises, designed to enhance your skills in using Sprucebot. These katas offer hands-on experience, allowing you to enhance your proficiency with the sprucebot platform.

<div class="guide-sections">
<a href="train/" class="section-link">
<span class="section-number">Section 2</span>
<span class="section-title">Train</span>
</a>
</div>

0 comments on commit 882d644

Please sign in to comment.