Skip to content

Commit

Permalink
Change blogs route to blog
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Oct 19, 2023
1 parent 89cb834 commit 2d5baf7
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 21 deletions.
2 changes: 1 addition & 1 deletion apps/landing/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts" setup>
// Initalize blogs here for least amount of fetch calls
// Initalize blog here for least amount of fetch calls
import useBlog from '@/composables/blog'
useBlog()
</script>
Expand Down
2 changes: 1 addition & 1 deletion apps/landing/src/composables/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const routes = [
component: Landing,
},
{
path: '/blogs',
path: '/blog',
name: Blog,
component: Blog,
},
Expand Down
2 changes: 1 addition & 1 deletion apps/landing/src/pages/blog/Blog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const {
<a href="https://github.com/consensusnetworks/casimir#casimir">API Reference</a>
</li>
<li>
<a href="/blogs">Blog</a>
<a href="/blog">Blog</a>
</li>
<li>
<a href="/changelog">Changelog</a>
Expand Down
4 changes: 2 additions & 2 deletions apps/landing/src/pages/blog/components/Article.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ watch([articles, loadingArticles], () => {
<a href="https://github.com/consensusnetworks/casimir#casimir">API Reference</a>
</li>
<li>
<a href="/blogs">Blog</a>
<a href="/blog">Blog</a>
</li>
<li>
<a href="/changelog">Changelog</a>
Expand Down Expand Up @@ -82,7 +82,7 @@ watch([articles, loadingArticles], () => {
<div class="h-full w-[200px] pr-[50px] min-h-[600px]">
<div class="mb-[20px]">
<router-link
to="/blogs"
to="/blog"
class=""
>
<div class="text-[0.833rem;] font-[400] highlight flex items-center gap-5 tracking-wide">
Expand Down
2 changes: 1 addition & 1 deletion apps/landing/src/pages/changelog/Changelog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ document.addEventListener('DOMContentLoaded', async () => {
API Reference
</a>
</li>
<li><a href="/blogs">Blog</a></li>
<li><a href="/blog">Blog</a></li>
<li>
<a
class="active"
Expand Down
2 changes: 1 addition & 1 deletion apps/landing/src/pages/landing/Landing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const toggleQuestionItem = (index: number) => {
>API Reference</a>
</li>
<li>
<a href="/blogs">Blog</a>
<a href="/blog">Blog</a>
</li>
<li>
<a href="/changelog">Changelog</a>
Expand Down
49 changes: 35 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2d5baf7

Please sign in to comment.