Skip to content

Commit

Permalink
chore: update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
mnenie committed Aug 19, 2024
1 parent c87b369 commit b1992b8
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
22 changes: 11 additions & 11 deletions src/app/providers/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,42 @@ const routes = [
{
name: RouteNames.boards,
path: '/',
component: () => import('@/pages/Boards.vue'),
component: () => import('@/pages/BoardsPage.vue'),
meta: {
requiresAuth: true
}
},
{
name: RouteNames.templates,
path: '/templates',
component: () => import('@/pages/Templates.vue'),
component: () => import('@/pages/TemplatesPage.vue'),
meta: {
requiresAuth: true
}
},
{
name: RouteNames.settings,
path: '/settings',
component: () => import('@/pages/Settings.vue'),
component: () => import('@/pages/SettingsPage.vue'),
meta: {
requiresAuth: true
}
},
{
name: RouteNames.members,
path: '/members',
component: () => import('@/pages/Members.vue'),
component: () => import('@/pages/MembersPage.vue'),
redirect: { name: RouteNames.members + '.all' },
children: [
{
name: RouteNames.members + '.all',
path: '',
component: () => import('@/pages/MainTeam.vue')
component: () => import('@/pages/MainTeamPage.vue')
},
{
name: RouteNames.members + '.guests',
path: 'guests',
component: () => import('@/pages/Guests.vue')
component: () => import('@/pages/GuestsPage.vue')
}
],
meta: {
Expand All @@ -53,15 +53,15 @@ const routes = [
{
name: RouteNames.board,
path: '/board/:id',
component: () => import('@/pages/Kanban.vue'),
component: () => import('@/pages/KanbanPage.vue'),
meta: {
requiresAuth: true
}
},
{
name: RouteNames.login,
path: '/user/login',
component: () => import('@/pages/Login.vue'),
component: () => import('@/pages/LoginPage.vue'),
meta: {
layout: LayoutsEnum.auth,
requiresAuth: false
Expand All @@ -70,7 +70,7 @@ const routes = [
{
name: RouteNames.registration,
path: '/user/registration',
component: () => import('@/pages/Registration.vue'),
component: () => import('@/pages/RegistrationPage.vue'),
meta: {
layout: LayoutsEnum.auth,
requiresAuth: false
Expand All @@ -79,7 +79,7 @@ const routes = [
{
name: RouteNames.welcome,
path: '/welcome',
component: () => import('@/pages/Home.vue'),
component: () => import('@/pages/HomePage.vue'),
meta: {
layout: LayoutsEnum.welcome,
requiresAuth: true
Expand All @@ -88,7 +88,7 @@ const routes = [
{
name: RouteNames.error,
path: '/:pathMatch(.*)*',
component: () => import('@/pages/404.vue'),
component: () => import('@/pages/NotFoundPage.vue'),
meta: {
layout: LayoutsEnum.auth,
requiresAuth: true
Expand Down
4 changes: 2 additions & 2 deletions src/layouts/ui/WelcomeLayout.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { HeaderWelcome, FooterWelcome } from '@/widgets/layout';
import { HeaderWelcome, AppFooter } from '@/widgets/layout';
</script>

<template>
Expand All @@ -8,7 +8,7 @@ import { HeaderWelcome, FooterWelcome } from '@/widgets/layout';
<div :class="$style.slot">
<slot />
</div>
<FooterWelcome />
<AppFooter />
</div>
</template>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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/pages/__tests__/Login.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { shallowMount } from '@vue/test-utils';
import { describe, it, expect, vi } from 'vitest';
import Login from '../Login.vue';
import Login from '../LoginPage.vue';
import { useHead } from '@unhead/vue';

vi.mock('@unhead/vue', () => ({
Expand Down
2 changes: 1 addition & 1 deletion src/pages/__tests__/Registration.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { shallowMount } from '@vue/test-utils';
import { describe, it, expect, vi } from 'vitest';
import Registration from '../Registration.vue';
import Registration from '../RegistrationPage.vue';
import { useHead } from '@unhead/vue';

vi.mock('@unhead/vue', () => ({
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, it, expect, vi } from 'vitest';
import { shallowMount } from '@vue/test-utils';
import FooterWelcome from '../FooterWelcome.vue';
import FooterWelcome from '../AppFooter.vue';
import i18n from '@/shared/lib/i18n';

vi.mock('@vueuse/integrations/useCookies', () => {
Expand Down
4 changes: 2 additions & 2 deletions src/widgets/layout/ui/footer/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import FooterWelcome from './FooterWelcome.vue';
import AppFooter from './AppFooter.vue';

export { FooterWelcome };
export { AppFooter };

0 comments on commit b1992b8

Please sign in to comment.