Skip to content

Commit

Permalink
Fix typo 'announcements'
Browse files Browse the repository at this point in the history
  • Loading branch information
ccali11 committed Oct 2, 2023
1 parent f8158ab commit 1c71f85
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
2 changes: 1 addition & 1 deletion apps/landing/src/composables/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const routes = [
component: Blog,
children: [
{
path: 'announcemts',
path: 'announcements',
component: defineAsyncComponent(() => import('../blogs/blog.md')),
},
],
Expand Down
24 changes: 4 additions & 20 deletions apps/landing/src/pages/blog/Blog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<a href="https://github.com/consensusnetworks/casimir#casimir">API Reference</a>
</li>
<li>
<a href="/blog/announcemts">Blog</a>
<a href="/blog/announcements">Blog</a>
</li>
<li>
<a href="/changelog">Changelog</a>
Expand All @@ -34,9 +34,9 @@
</div>
</nav>

<section class="blog">
<div class="">
<div class="markdown-content">
<section>
<div>
<div>
<router-view />
</div>
</div>
Expand Down Expand Up @@ -79,20 +79,4 @@


<style scoped>
.markdown-content {
/* text-align: center; */
max-width: 960px;
margin: 0 auto;
width: 100%;
color: red;
border: 1px solid red;
}
.markdown-content p {
color: green;
}
.markdown-content li {
color: red;
}
</style>
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 @@ -95,7 +95,7 @@ document.addEventListener('DOMContentLoaded', async () => {
API Reference
</a>
</li>
<li><a href="/blog/announcemts">Blog</a></li>
<li><a href="/blog/announcements">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 @@ -18,7 +18,7 @@
>API Reference</a>
</li>
<li>
<a href="/blog/announcemts">Blog</a>
<a href="/blog/announcements">Blog</a>
</li>
<li>
<a href="/changelog">Changelog</a>
Expand Down

0 comments on commit 1c71f85

Please sign in to comment.