mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-11 18:25:41 +00:00
Changed metric group name on dashboard
This commit is contained in:
parent
c9fb294fc7
commit
97e682d2c9
@ -24,7 +24,6 @@ export async function getDashboardData(context: GetServerSidePropsContext) {
|
||||
const totalStars = await getTotalStars(totalRepos)
|
||||
const totalForks = await getTotalForks(totalRepos)
|
||||
const totalArticles = (await getAllArticles()).length
|
||||
const totalViews = views
|
||||
const topArtist = await getTopArtist()
|
||||
const {genre} = await getTopGenre()
|
||||
const {hoursListened, minutesListened, streams} = await getStats()
|
||||
@ -93,13 +92,13 @@ export async function getDashboardData(context: GetServerSidePropsContext) {
|
||||
{
|
||||
title: "Total articles",
|
||||
value: +totalArticles,
|
||||
group: "Website",
|
||||
group: "Blog",
|
||||
href: "/writing"
|
||||
},
|
||||
{
|
||||
title: "Total views",
|
||||
value: +totalViews,
|
||||
group: "Website",
|
||||
title: "Total article views",
|
||||
value: +views,
|
||||
group: "Blog",
|
||||
href: "/"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user