-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dashboard): Arranging home and link stats
Signed-off-by: Binyamin Yawitz <316103+byawitz@users.noreply.github.com>
- Loading branch information
Showing
5 changed files
with
74 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,32 @@ | ||
<script setup lang="ts"> | ||
import PageHeader from '@/components/layouts/PageHeader.vue'; | ||
import StillInWork from '@/components/view/StillInWork.vue'; | ||
</script> | ||
|
||
<template> | ||
<PageHeader :title="$t('Linkos')" /> | ||
|
||
<StillInWork /> | ||
<div class="page-body"> | ||
<Container> | ||
<div class="row row-cards"> | ||
<div class="col-12"> | ||
<div class="row row-cards"> | ||
<NumberOf :title="$t('Links')" number="10" :sub-title="$t('Shorts')" icon-type="bg-cyan" :icon="IconLink" /> | ||
<NumberOf :title="$t('Campaigns')" number="10" :icon="IconMist" /> | ||
<NumberOf :title="$t('Tags')" number="10" :icon="IconLink" /> | ||
<NumberOf :title="$t('Clicks')" number="10" :sub-title="$t('All links')" :icon="IconLink" /> | ||
|
||
<TopTen :title="$t('Countries')" :categories="['iphone', 'android']" :series="[1, 2]" /> | ||
<TopTen :title="$t('Links')" :categories="['iphone', 'android']" :series="[1, 2]" /> | ||
<TopTen :title="$t('Devices')" :categories="['iphone', 'android']" :series="[1, 2]" /> | ||
<TopTen :title="$t('Referrers')" :categories="['iphone', 'android']" :series="[1, 2]" /> | ||
</div> | ||
</div> | ||
</div> | ||
</Container> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import PageHeader from '@/components/layouts/PageHeader.vue'; | ||
import NumberOf from '@/components/stats/NumberOf.vue'; | ||
import Container from '@/components/layouts/Container.vue'; | ||
import { IconLink, IconMist } from '@tabler/icons-vue'; | ||
import TopTen from '@/components/stats/TopTen.vue'; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters