Skip to content

Commit

Permalink
Fix Advanced Not Found Page's broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
smellyshovel committed Jun 30, 2022
1 parent f89c7b7 commit c82048a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.ja-JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ $ yarn build --report
[カード ](https://vuestic.epicmax.co/#/admin/ui/cards) |
[レーティング](https://vuestic.epicmax.co/#/admin/ui/rating) |
[スライダー](https://vuestic.epicmax.co/#/admin/ui/sliders) |
[チャット](https://vuestic.epicmax.co/#/admin/ui/chatPage) |
[チャット](https://vuestic.epicmax.co/#/admin/ui/chat) |
[マップ (MapLibre, Yandex, Leaflet, amMap)](https://vuestic.epicmax.co/#/admin/maps/maplibre-maps) |
[ログイン/登録ページテンプレート](https://vuestic.epicmax.co/#/auth/login) |
[404 ページテンプレート](https://vuestic.epicmax.co/#/admin/pages/404-pages) |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ $ yarn build --report
[cards](https://vuestic.epicmax.co/admin/ui/cards) |
[ratings](https://vuestic.epicmax.co/admin/ui/rating) |
[sliders](https://vuestic.epicmax.co/admin/ui/sliders) |
[chat](https://vuestic.epicmax.co/admin/ui/chatPage) |
[chat](https://vuestic.epicmax.co/admin/ui/chat) |
[maps (MapLibre, Yandex, Leaflet, amMap)](https://vuestic.epicmax.co/admin/maps/maplibre-maps)
|
[login/signup pages templates](https://vuestic.epicmax.co/auth/login) |
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ $ yarn build --report
[卡片](https://vuestic.epicmax.co/#/admin/ui/cards) |
[等级](https://vuestic.epicmax.co/#/admin/ui/rating) |
[滑动器](https://vuestic.epicmax.co/#/admin/ui/sliders) |
[聊天系统](https://vuestic.epicmax.co/#/admin/ui/chatPage) |
[聊天系统](https://vuestic.epicmax.co/#/admin/ui/chat) |
[地图(MapLibre, Yandex, Leaflet, amMap)](https://vuestic.epicmax.co/#/admin/maps/maplibre-maps) |
[登录/注册页模板](https://vuestic.epicmax.co/#/auth/login) |
[404 页模板](https://vuestic.epicmax.co/#/admin/pages/404-pages) |
Expand Down
28 changes: 12 additions & 16 deletions src/pages/404-pages/CategoriesConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ export default [
itemName: "Markup Tables",
itemLink: "/admin/tables/markup",
},
{
itemName: "Data Tables",
itemLink: "/admin/tables/data",
},
// {
// itemName: "Data Tables",
// itemLink: "/admin/tables/data",
// },
],
},
{
Expand Down Expand Up @@ -78,10 +78,6 @@ export default [
itemName: "Colors",
itemLink: "/admin/ui/colors",
},
{
itemName: "Color Pickers",
itemLink: "/admin/ui/color-pickers",
},
{
itemName: "Icons",
itemLink: "/admin/ui/icons",
Expand All @@ -106,18 +102,18 @@ export default [
itemName: "Rating",
itemLink: "/admin/ui/rating",
},
{
itemName: "Spinners",
itemLink: "/admin/ui/spinners",
},
// {
// itemName: "Spinners",
// itemLink: "/admin/ui/spinners",
// },
{
itemName: "Tabs",
itemLink: "/admin/ui/tabs",
},
{
itemName: "Timelines",
itemLink: "/admin/ui/timelines",
},
// {
// itemName: "Timelines",
// itemLink: "/admin/ui/timelines",
// },
{
itemName: "Tree View",
itemLink: "/admin/ui/tree-view",
Expand Down
6 changes: 3 additions & 3 deletions src/pages/404-pages/VaPageNotFoundSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
:key="index"
class="va-page-not-found-search__list flex xs6 md3 lg1 mb-2"
>
{{
category.categoryName
}}
<li class="mb-2">
{{ category.categoryName }}
</li>
<li v-for="(item, index) in category.items" :key="index" class="va-page-not-found-search__list-element">
<router-link :to="{ path: item.itemLink }" class="link">
{{ item.itemName }}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/admin/ui/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default {
},
{
name: "chat",
path: "chatPage",
path: "chat",
component: () => import("../../../pages/admin/ui/chat/ChatPage.vue"),
meta: {
wikiLink: "https://github.com/epicmaxco/vuestic-admin/wiki/Chat",
Expand Down

0 comments on commit c82048a

Please sign in to comment.