Skip to content

Commit

Permalink
refactor: move shared page components to components/feature
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwep committed Oct 20, 2024
1 parent ee290d8 commit b140c80
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/app/pages/Frame.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@
import { RiDonutChartLine, RiHandCoinLine, RiShoppingBagLine } from '@remixicon/vue';
import { computed, ref } from 'vue';
import { useI18n } from 'vue-i18n';
import InfoButton from '@app/pages/navigation/info/InfoButton.vue';
import Link from '@components/base/link/Link.vue';
import ComponentTransition from '@components/misc/component-transition/ComponentTransition.vue';
import { useMediaQuery } from '@composables';
import { useStorage } from '@storage/index';
import AdminButton from './navigation/admin/AdminButton.vue';
import CloudButton from './navigation/auth/CloudButton.vue';
import ChangeCurrencyButton from './navigation/currency/ChangeCurrencyButton.vue';
import InfoButton from './navigation/info/InfoButton.vue';
import ChangeLanguageButton from './navigation/language/ChangeLanguageButton.vue';
import ThemeButton from './navigation/theme/ThemeButton.vue';
import ToolsButton from './navigation/tools/ToolsButton.vue';
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/dashboard/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
import { RiCalendar2Line, RiDashboardLine, RiEarthLine, RiTableLine } from '@remixicon/vue';
import { shallowRef } from 'vue';
import { useI18n } from 'vue-i18n';
import YearToggle from '@app/pages/shared/YearToggle.vue';
import Button from '@components/base/button/Button.vue';
import Pane from '@components/feature/Pane.vue';
import YearToggle from '@components/feature/YearToggle.vue';
import ComponentTransition from '@components/misc/component-transition/ComponentTransition.vue';
import { useDataStore } from '@store/state';
import Pane from '../shared/Pane.vue';
import AllTime from './all-time/AllTime.vue';
import Overview from './overview/Overview.vue';
import Summary from './summary/Summary.vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script lang="ts" setup>
import { computed } from 'vue';
import { useI18n } from 'vue-i18n';
import ChartPlaceholder from '@app/pages/shared/ChartPlaceholder.vue';
import ChartPlaceholder from '@components/feature/ChartPlaceholder.vue';
import { useDataStore } from '@store/state';
import { totals } from '@store/state/utils/budgets';
import { ClassNames, sum, uuid } from '@utils';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script lang="ts" setup>
import { computed } from 'vue';
import { useI18n } from 'vue-i18n';
import ChartPlaceholder from '@app/pages/shared/ChartPlaceholder.vue';
import ChartPlaceholder from '@components/feature/ChartPlaceholder.vue';
import { useMonthNames } from '@composables';
import { useDataStore } from '@store/state';
import { totals } from '@store/state/utils/budgets';
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/expenses/Expenses.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</template>

<script lang="ts" setup>
import YearToggle from '@app/pages/shared/YearToggle.vue';
import BudgetPane from '../shared/BudgetPane.vue';
import BudgetPane from '@components/feature/BudgetPane.vue';
import YearToggle from '@components/feature/YearToggle.vue';
</script>
4 changes: 2 additions & 2 deletions src/app/pages/income/Income.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</template>

<script lang="ts" setup>
import YearToggle from '@app/pages/shared/YearToggle.vue';
import BudgetPane from '../shared/BudgetPane.vue';
import BudgetPane from '@components/feature/BudgetPane.vue';
import YearToggle from '@components/feature/YearToggle.vue';
</script>

0 comments on commit b140c80

Please sign in to comment.