From b27e7a80556ebd365005a685226c247dd75d06ff Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Sun, 25 Jul 2021 22:21:53 -0400 Subject: [PATCH] Format dates/revise dashboard Also added version and rearranged shared components into just components and layout components --- src/JobsJobsJobs/App/package-lock.json | 10 ++ src/JobsJobsJobs/App/package.json | 4 +- src/JobsJobsJobs/App/src/App.vue | 6 +- src/JobsJobsJobs/App/src/api/types.ts | 12 +- .../src/components/{shared => }/AudioClip.vue | 2 +- .../App/src/components/FullDateTime.vue | 27 +++++ .../src/components/{shared => }/LoadData.vue | 0 .../App/src/components/layout/AppFooter.vue | 38 ++++++ .../components/{shared => layout}/AppNav.vue | 12 +- .../{shared => layout}/TitleBar.vue | 2 +- .../App/src/components/shared/AppFooter.vue | 19 --- src/JobsJobsJobs/App/src/views/Home.vue | 2 +- .../App/src/views/citizen/Dashboard.vue | 108 +++++++++++++----- .../App/src/views/citizen/EditProfile.vue | 2 +- .../App/src/views/profile/ProfileView.vue | 2 +- src/JobsJobsJobs/App/tsconfig.json | 1 + 16 files changed, 178 insertions(+), 69 deletions(-) rename src/JobsJobsJobs/App/src/components/{shared => }/AudioClip.vue (86%) create mode 100644 src/JobsJobsJobs/App/src/components/FullDateTime.vue rename src/JobsJobsJobs/App/src/components/{shared => }/LoadData.vue (100%) create mode 100644 src/JobsJobsJobs/App/src/components/layout/AppFooter.vue rename src/JobsJobsJobs/App/src/components/{shared => layout}/AppNav.vue (98%) rename src/JobsJobsJobs/App/src/components/{shared => layout}/TitleBar.vue (90%) delete mode 100644 src/JobsJobsJobs/App/src/components/shared/AppFooter.vue diff --git a/src/JobsJobsJobs/App/package-lock.json b/src/JobsJobsJobs/App/package-lock.json index f1fc470..32c0a66 100644 --- a/src/JobsJobsJobs/App/package-lock.json +++ b/src/JobsJobsJobs/App/package-lock.json @@ -4853,6 +4853,16 @@ "assert-plus": "^1.0.0" } }, + "date-fns": { + "version": "2.23.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.23.0.tgz", + "integrity": "sha512-5ycpauovVyAk0kXNZz6ZoB9AYMZB4DObse7P3BPWmyEjXNORTI8EJ6X0uaSAq4sCHzM1uajzrkr6HnsLQpxGXA==" + }, + "date-fns-tz": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/date-fns-tz/-/date-fns-tz-1.1.4.tgz", + "integrity": "sha512-lQ+FF7xUxxRuRqIY7H/lagnT3PhhSnnvtGHzjE5WZKwRyLU7glJfLys05SZ7zHlEr6RXWiqkmgWq4nCkcElR+g==" + }, "debug": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", diff --git a/src/JobsJobsJobs/App/package.json b/src/JobsJobsJobs/App/package.json index e8a745d..87c38ff 100644 --- a/src/JobsJobsJobs/App/package.json +++ b/src/JobsJobsJobs/App/package.json @@ -1,6 +1,6 @@ { "name": "jobs-jobs-jobs", - "version": "1.0.1", + "version": "1.9.0", "private": true, "scripts": { "serve": "vue-cli-service serve", @@ -11,6 +11,8 @@ "dependencies": { "@mdi/font": "5.9.55", "core-js": "^3.6.5", + "date-fns": "^2.23.0", + "date-fns-tz": "^1.1.4", "marked": "^2.1.3", "roboto-fontface": "*", "vue": "^3.0.0", diff --git a/src/JobsJobsJobs/App/src/App.vue b/src/JobsJobsJobs/App/src/App.vue index 5ea03b9..41b22f7 100644 --- a/src/JobsJobsJobs/App/src/App.vue +++ b/src/JobsJobsJobs/App/src/App.vue @@ -23,9 +23,9 @@ diff --git a/src/JobsJobsJobs/App/src/components/shared/LoadData.vue b/src/JobsJobsJobs/App/src/components/LoadData.vue similarity index 100% rename from src/JobsJobsJobs/App/src/components/shared/LoadData.vue rename to src/JobsJobsJobs/App/src/components/LoadData.vue diff --git a/src/JobsJobsJobs/App/src/components/layout/AppFooter.vue b/src/JobsJobsJobs/App/src/components/layout/AppFooter.vue new file mode 100644 index 0000000..49ca03c --- /dev/null +++ b/src/JobsJobsJobs/App/src/components/layout/AppFooter.vue @@ -0,0 +1,38 @@ + + + + + diff --git a/src/JobsJobsJobs/App/src/components/shared/AppNav.vue b/src/JobsJobsJobs/App/src/components/layout/AppNav.vue similarity index 98% rename from src/JobsJobsJobs/App/src/components/shared/AppNav.vue rename to src/JobsJobsJobs/App/src/components/layout/AppNav.vue index d246736..fe83043 100644 --- a/src/JobsJobsJobs/App/src/components/shared/AppNav.vue +++ b/src/JobsJobsJobs/App/src/components/layout/AppNav.vue @@ -3,18 +3,18 @@