diff --git a/components/base/SideNav.vue b/components/base/SideNav.vue index ab1ff08..19e0e53 100644 --- a/components/base/SideNav.vue +++ b/components/base/SideNav.vue @@ -1,47 +1,44 @@ - @@ -103,6 +100,25 @@ export default defineNuxtComponent({ Projects + + + + ic_fluent_games_24_regular + Created with Sketch. + + + + + + + + + Games control + diff --git a/components/dashboard/Games.vue b/components/dashboard/Games.vue new file mode 100644 index 0000000..b5543d2 --- /dev/null +++ b/components/dashboard/Games.vue @@ -0,0 +1,13 @@ + + + + + rtr + + + + diff --git a/pages/user/dashboard.vue b/pages/user/dashboard.vue index 6e3b3d9..8eaef40 100644 --- a/pages/user/dashboard.vue +++ b/pages/user/dashboard.vue @@ -1,53 +1,49 @@ - @@ -55,7 +51,30 @@ export default { + + + + + {{user.projects.length}} + + + PROJECTS + + + + + + + {{user.projects.reduce((total, obj) => total + obj.downloads, 0)}} + + + DOWNLOADS + + + + +