Skip to content

Commit

Permalink
Merge pull request #69 from HubSpot/tf/fix-getting-started-dir
Browse files Browse the repository at this point in the history
Fix getting started directory (src -> getting-started-app)
timmfin authored Jun 28, 2024
2 parents 9905e5b + bec8292 commit df7cb9c
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/getting-started/README.md
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ To run this example project locally, navigate to the `getting-started-project/ge
npm run start
```

*This example makes use of a weather API through [RapidAPI](https://rapidapi.com/search?term=weatherapi-com&sortBy=ByRelevance). You will need to go through the process of singing up for this service (free) to fully see this example in action. Once you have an API Key you can add it to `getting-started-project/src/utils.ts` at the `apiKey` constant.*
_This example makes use of a weather API through [RapidAPI](https://rapidapi.com/search?term=weatherapi-com&sortBy=ByRelevance). You will need to go through the process of singing up for this service (free) to fully see this example in action. Once you have an API Key you can add it to `getting-started-project/getting-started-app/utils.ts` at the `apiKey` constant._

Then navigate to [http://hslocal.net:3000](http://hslocal.net:3000) to see an index page that links to all your modules. Click on the "local version" of the "Weather" module.

Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
<body>
<div class="body-wrapper {{ builtin_body_classes }}">
{% block header %}
{% module 'main header' path="@projects/getting-started-project/src/components/modules/Header" %}
{% module 'main header' path="@projects/getting-started-project/components/modules/Header" %}
{% endblock header %}

{# The main-content ID is used for the navigation skipper in the header.html file. More information on the navigation skipper can be found here: https://github.com/HubSpot/cms-theme-boilerplate/wiki/Accessibility #}
@@ -26,7 +26,7 @@
{% endblock body %}

{% block footer %}
{% module 'footer' path="@projects/getting-started-project/src/components/modules/Footer" %}
{% module 'footer' path="@projects/getting-started-project/components/modules/Footer" %}
{% endblock footer %}
</div>

Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@

{% module
"weather"
path="@projects/getting-started-project/src/components/modules/Weather",
path="@projects/getting-started-project/components/modules/Weather",
%}

{% endblock body %}

0 comments on commit df7cb9c

Please sign in to comment.