all unused code outcommend

This commit is contained in:
ogerly 2022-11-25 16:37:59 +01:00
parent ce74e83b57
commit 9be6927603
8 changed files with 73 additions and 54 deletions

View File

@ -5,6 +5,10 @@ body {
transition: background-color 0.5s ease, color 0.5s ease;
}
.HIDE_FOR_WORK_IN_PROCESS {
display: none;
}
.pointer {
cursor: pointer;
}

View File

@ -8,11 +8,11 @@
<b-icon icon="house" aria-hidden="true"></b-icon>
<span class="d-none d-lg-inline ml-2">{{ $t('navigation.overview') }}</span>
</b-nav-item>
<b-nav-item to="/storys" class="mb-3">
<b-nav-item to="/storys" class="mb-3 HIDE_FOR_WORK_IN_PROCESS">
<b-icon icon="card-heading" aria-hidden="true"></b-icon>
<span class="d-none d-lg-inline ml-2">{{ $t('navigation.topStories') }}</span>
</b-nav-item>
<b-nav-item to="/addresses" class="mb-3">
<b-nav-item to="/addresses" class="mb-3 HIDE_FOR_WORK_IN_PROCESS">
<b-icon icon="bookmark" aria-hidden="true"></b-icon>
<span class="d-none d-lg-inline ml-2">{{ $t('navigation.adresses') }}</span>
</b-nav-item>
@ -25,7 +25,7 @@
<b-icon icon="layout-text-sidebar-reverse" aria-hidden="true"></b-icon>
<span class="d-none d-lg-inline ml-2">{{ $t('navigation.transactions') }}</span>
</b-nav-item>
<b-nav-item to="/profile" class="mb-3">
<b-nav-item to="/profile" class="mb-3 HIDE_FOR_WORK_IN_PROCESS">
<b-icon icon="person" aria-hidden="true"></b-icon>
<span class="d-none d-lg-inline ml-2">{{ $t('navigation.profile') }}</span>
</b-nav-item>
@ -41,7 +41,7 @@
lightmode = !lightmode
$emit('modeToggle')
"
class="mb-3"
class="mb-3 HIDE_FOR_WORK_IN_PROCESS"
>
<b-icon :icon="lightmode ? 'toggle-on' : 'toggle-off'" aria-hidden="true"></b-icon>
<span class="d-none d-lg-inline ml-2">{{ $t('navigation.lightmode') }}</span>

View File

@ -1,7 +1,9 @@
<template>
<div class="rightside-favourites">
<b-row>
<b-col>Favorit</b-col>
<b-col>
<!-- Favorit -->
</b-col>
<b-col cols="1" class="text-right">
<b-icon icon="three-dots-vertical"></b-icon>
</b-col>

View File

@ -1,5 +1,7 @@
<template>
<div class="top-storys-by-month">TopStorysByMonth components</div>
<div class="top-storys-by-month">
<!-- TopStorysByMonth components -->
</div>
</template>
<script>
export default {

View File

@ -1,5 +1,7 @@
<template>
<div class="top-storys-by-month">YourOverview components</div>
<div class="top-storys-by-month">
<!-- YourOverview components -->
</div>
</template>
<script>
export default {

View File

@ -1,13 +1,13 @@
<template>
<div class="right-side mt-3 mt-lg-0">
<b-container v-if="path === '/overview'">
<b-row>
<!-- <b-row>
<b-col>
<div class="p-4">
<favourites />
</div>
</b-col>
</b-row>
</b-row> -->
<b-row class="mt-3 mt-lg-5">
<b-col>
<div class="p-4 h-100">
@ -20,7 +20,7 @@
</b-col>
</b-row>
</b-container>
<b-container v-if="path === '/storys'">
<!-- <b-container v-if="path === '/storys'">
<b-row>
<b-col>
<div class="p-4">
@ -35,57 +35,69 @@
</div>
</b-col>
</b-row>
</b-container>
<b-container v-if="path === '/addresses'">favourites ride side</b-container>
</b-container> -->
<!-- <b-container v-if="path === '/addresses'">favourites ride side</b-container> -->
<b-container v-if="path === '/send'">
<b-row>
<!-- <b-row>
<b-col>
<div class="p-4">
<favourites />
</div>
</b-col>
</b-row>
</b-row> -->
<b-row class="mt-3 mt-lg-5">
<b-col>
<div class="p-4 h-100">
<last-transactions />
<last-transactions
:transactions="transactions"
:transactionCount="transactionCount"
:transactionLinkCount="transactionLinkCount"
/>
</div>
</b-col>
</b-row>
</b-container>
<b-container v-if="path === '/transactions'">
<b-row>
<!-- <b-row>
<b-col>
<div class="p-4">
<favourites />
</div>
</b-col>
</b-row>
</b-row> -->
<b-row class="mt-3 mt-lg-5">
<b-col>
<div class="p-4 h-100">
<last-transactions />
<last-transactions
:transactions="transactions"
:transactionCount="transactionCount"
:transactionLinkCount="transactionLinkCount"
/>
</div>
</b-col>
</b-row>
</b-container>
<b-container v-if="path === '/gdt'">
<b-row>
<!-- <b-row>
<b-col>
<div class="p-4">
<favourites />
</div>
</b-col>
</b-row>
</b-row> -->
<b-row class="mt-3 mt-lg-5">
<b-col>
<div class="p-4 h-100">
<last-transactions />
<last-transactions
:transactions="transactions"
:transactionCount="transactionCount"
:transactionLinkCount="transactionLinkCount"
/>
</div>
</b-col>
</b-row>
</b-container>
<b-container v-if="path === '/profile'">
<!-- <b-container v-if="path === '/profile'">
<b-row>
<b-col>
<div class="p-4">
@ -100,7 +112,7 @@
</div>
</b-col>
</b-row>
</b-container>
</b-container> -->
<b-container v-if="path === '/community'">
<contribution-info />
<last-contributions class="mt-5" />
@ -110,21 +122,21 @@
</template>
<script>
import LastTransactions from '@/components/Template/RightSide/LastTransactions.vue'
import Favourites from '@/components/Template/RightSide/Favourites.vue'
import TopStorysByMonth from '@/components/Template/RightSide/TopStorysByMonth.vue'
// import Favourites from '@/components/Template/RightSide/Favourites.vue'
// import TopStorysByMonth from '@/components/Template/RightSide/TopStorysByMonth.vue'
import ContributionInfo from '@/components/Template/RightSide/ContributionInfo.vue'
import LastContributions from '@/components/Template/RightSide/LastContributions.vue'
import YourOverview from '@/components/Template/RightSide/YourOverview.vue'
// import YourOverview from '@/components/Template/RightSide/YourOverview.vue'
export default {
name: 'RightSide',
components: {
LastTransactions,
Favourites,
TopStorysByMonth,
// Favourites,
// TopStorysByMonth,
LastContributions,
ContributionInfo,
YourOverview,
// YourOverview,
},
props: {
transactions: {

View File

@ -70,10 +70,7 @@ export default {
},
methods: {
submit() {
console.log('submit')
console.log(this.firstName)
console.log(this.lastName)
console.log(this.job)
// console.log('submit')
},
updateTransactions(pagination) {
this.$emit('update-transactions', pagination)

View File

@ -24,13 +24,13 @@ const routes = [
requiresAuth: true,
},
},
{
path: '/profile',
component: () => import('@/pages/Profile.vue'),
meta: {
requiresAuth: true,
},
},
// {
// path: '/profile',
// component: () => import('@/pages/Profile.vue'),
// meta: {
// requiresAuth: true,
// },
// },
{
path: '/transactions',
component: () => import('@/pages/Transactions.vue'),
@ -61,20 +61,20 @@ const routes = [
requiresAuth: true,
},
},
{
path: '/storys',
component: () => import('@/pages/TopStorys.vue'),
meta: {
requiresAuth: true,
},
},
{
path: '/addresses',
component: () => import('@/pages/Addresses.vue'),
meta: {
requiresAuth: true,
},
},
// {
// path: '/storys',
// component: () => import('@/pages/TopStorys.vue'),
// meta: {
// requiresAuth: true,
// },
// },
// {
// path: '/addresses',
// component: () => import('@/pages/Addresses.vue'),
// meta: {
// requiresAuth: true,
// },
// },
{
path: '/settings',
component: () => import('@/pages/Settings.vue'),