From eb7041660ff739f08245accf5228ecd832b73216 Mon Sep 17 00:00:00 2001 From: ludchieng Date: Tue, 24 Jan 2023 23:17:17 +0100 Subject: [PATCH] chore: rename components --- src/App.vue | 9 +++------ src/components/AppHeader.vue | 2 +- src/components/AppNav.vue | 2 +- src/components/{AppPageView.vue => AppView.vue} | 5 ++++- src/components/{Line/Icon.vue => LineIcon.vue} | 0 .../{Line/RouteMap/index.vue => LineMap/LineMap.vue} | 4 ++-- .../DrawingCell.vue => LineMap/LineMapDrawingCell.vue} | 2 +- .../LabelCell.vue => LineMap/LineMapLabelCell.vue} | 4 ++-- .../RouteMap/Table.vue => LineMap/LineMapTable.vue} | 6 +++--- src/components/Stop/{Header.vue => StopHeader.vue} | 2 +- .../Stop/{PrevNextStops.vue => StopPrevNextStops.vue} | 0 .../Stop/{Timetable/index.vue => StopSchedules.vue} | 4 ++-- .../{Timetable/Visits.vue => StopSchedulesVisits.vue} | 2 +- .../Timetables/TimetablesHome.vue} | 4 ++-- .../Timetables/TimetablesLine.vue} | 4 ++-- .../Timetables/TimetablesStop.vue} | 8 ++++---- src/main.ts | 10 +++++----- src/pages/{TabPage/index.vue => TimetablesPage.vue} | 8 ++++---- 18 files changed, 38 insertions(+), 38 deletions(-) rename src/components/{AppPageView.vue => AppView.vue} (77%) rename src/components/{Line/Icon.vue => LineIcon.vue} (100%) rename src/components/{Line/RouteMap/index.vue => LineMap/LineMap.vue} (89%) rename src/components/{Line/RouteMap/DrawingCell.vue => LineMap/LineMapDrawingCell.vue} (98%) rename src/components/{Line/RouteMap/LabelCell.vue => LineMap/LineMapLabelCell.vue} (93%) rename src/components/{Line/RouteMap/Table.vue => LineMap/LineMapTable.vue} (93%) rename src/components/Stop/{Header.vue => StopHeader.vue} (95%) rename src/components/Stop/{PrevNextStops.vue => StopPrevNextStops.vue} (100%) rename src/components/Stop/{Timetable/index.vue => StopSchedules.vue} (96%) rename src/components/Stop/{Timetable/Visits.vue => StopSchedulesVisits.vue} (99%) rename src/{pages/TabPage/New.vue => components/Timetables/TimetablesHome.vue} (93%) rename src/{pages/TabPage/Line.vue => components/Timetables/TimetablesLine.vue} (77%) rename src/{pages/TabPage/Stop.vue => components/Timetables/TimetablesStop.vue} (78%) rename src/pages/{TabPage/index.vue => TimetablesPage.vue} (61%) diff --git a/src/App.vue b/src/App.vue index 3fea1da..2b22203 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,6 @@ @@ -10,15 +9,13 @@ import Vue from 'vue' import '@fontsource/inter/latin-500.css' import '@fontsource/inter/latin-600.css' import '@fontsource/inter/latin-700.css' -import AppHeader from '@/components/AppHeader.vue' -import AppPageView from '@/components/AppPageView.vue' +import AppView from '@/components/AppView.vue' import { lastUpdatedAt, synchronize } from './utils/localstore/synchronizer' export default Vue.extend({ name: 'App', components: { - AppHeader, - AppPageView, + AppView, }, created () { if (!lastUpdatedAt()) { diff --git a/src/components/AppHeader.vue b/src/components/AppHeader.vue index 745983b..53dbd35 100644 --- a/src/components/AppHeader.vue +++ b/src/components/AppHeader.vue @@ -23,7 +23,7 @@ diff --git a/src/pages/TabPage/Stop.vue b/src/components/Timetables/TimetablesStop.vue similarity index 78% rename from src/pages/TabPage/Stop.vue rename to src/components/Timetables/TimetablesStop.vue index ddc1bc8..e14f3a5 100644 --- a/src/pages/TabPage/Stop.vue +++ b/src/components/Timetables/TimetablesStop.vue @@ -9,13 +9,13 @@