Skip to content

Commit

Permalink
Merge pull request #188 from zirreal/main
Browse files Browse the repository at this point in the history
hid certificates page
  • Loading branch information
zirreal authored Nov 23, 2023
2 parents fecbb69 + 5bc01df commit 6f3369c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions gridsome.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ stream.write(`\n- link: ${options.path}
createNewRedirect(`/online-courses/introduction-course`, '/learn/introduction-course/overview')
createNewRedirect(`/online-courses/smart-home-course`, '/learn/smart-home-course/overview')
createNewRedirect(`/online-courses/sensors-connectivity-course`, '/learn/sensors-connectivity-course/overview')
createNewRedirect('/certificates', '/learn/')

oldCourses.forEach(path => {
createNewRedirect(`/online-courses/${path.old}`, `/learn/${path.new}/overview`,)
Expand All @@ -342,6 +343,8 @@ stream.write(`\n- link: ${options.path}
allCoursesPaths.forEach(path => {
createNewRedirect(`/learn/${path}`, `/learn/${path}/overview`)
})




allPossiblePaths.forEach(node => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<nav id="nav" class="nav header__section">
<g-link class="nav__link" :class="{'active': $route.path.includes('learn')}" to="/learn/">{{$ts('Learn')}}</g-link>
<!-- <g-link class="nav__link" :class="{'active': $route.path.includes('playground')}" to="/playground/">{{$ts('Playground')}}</g-link> -->
<g-link class="nav__link" :class="{'active': $route.path.includes('certificates')}" to="/certificates/">{{$ts('Blockchain certificate')}}</g-link>
<!-- <g-link class="nav__link" :class="{'active': $route.path.includes('certificates')}" to="/certificates/">{{$ts('Blockchain certificate')}}</g-link> -->
<g-link class="nav__link" to="https://robonomics.network/">{{$ts('Robonomics website')}}</g-link>
</nav>

Expand Down
6 changes: 3 additions & 3 deletions src/data/courses-hashes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
- link: /en/learn/feecc-course/feecc-analytics-deployment/
hash: 2128efab9e725f888aa7cb640974e9c7
lastUpdate: Thu Nov 16 2023 16:40:16 GMT+0400 (Samara Standard Time)
updated/en/learn/feecc-course/feecc-analytics-deployment/: true
updated/en/learn/feecc-course/feecc-analytics-deployment/: false

- link: /en/learn/feecc-course/feecc-architecture/
hash: 665b84f8e2a95607464e94007936009c
Expand All @@ -468,12 +468,12 @@
- link: /en/learn/feecc-course/feecc-workbench-deployment/
hash: 586dd73d71f6f2ba90b96988312e3695
lastUpdate: Thu Nov 16 2023 16:40:16 GMT+0400 (Samara Standard Time)
updated/en/learn/feecc-course/feecc-workbench-deployment/: true
updated/en/learn/feecc-course/feecc-workbench-deployment/: false

- link: /en/learn/feecc-course/feecc-workbench-demo/
hash: b4fcafcffca7660cc5993ca515a42549
lastUpdate: Thu Nov 16 2023 16:40:16 GMT+0400 (Samara Standard Time)
updated/en/learn/feecc-course/feecc-workbench-demo/: true
updated/en/learn/feecc-course/feecc-workbench-demo/: false

- link: /en/learn/feecc-course/overview/
hash: 3ec016f3b4e2cf925d59634452bfdd70
Expand Down

0 comments on commit 6f3369c

Please sign in to comment.