diff --git a/packages/client/.eslintrc.js b/packages/client/.eslintrc.js index c6b765234..cce26dddf 100644 --- a/packages/client/.eslintrc.js +++ b/packages/client/.eslintrc.js @@ -85,11 +85,6 @@ module.exports = { './src/main.js', './src/components/Layout.vue', - // Grant Finder: core views - './src/views/Home.vue', - './src/views/Login.vue', - './src/views/NotFound.vue', - // Grant Finder: search modals './src/components/Modals/AddKeyword.vue', './src/components/Modals/SavedSearchPanel.vue', diff --git a/packages/client/src/router/index.js b/packages/client/src/router/index.js index 6b260ebb9..2b46015c9 100644 --- a/packages/client/src/router/index.js +++ b/packages/client/src/router/index.js @@ -1,7 +1,7 @@ import VueRouter from 'vue-router'; import { myProfileEnabled, newTerminologyEnabled, newGrantsDetailPageEnabled } from '@/helpers/featureFlags'; -import Login from '../views/Login.vue'; +import LoginView from '@/views/LoginView.vue'; import Layout from '../components/Layout.vue'; import ArpaAnnualPerformanceReporter from '../views/ArpaAnnualPerformanceReporter.vue'; @@ -11,7 +11,7 @@ export const routes = [ { path: '/login', name: 'login', - component: Login, + component: LoginView, }, { path: '/arpa-annual-performance-reporter', @@ -156,7 +156,7 @@ export const routes = [ }, { path: '*', - component: () => import('../views/NotFound.vue'), + component: () => import('../views/NotFoundView.vue'), name: 'notFound', meta: { requiresAuth: true, diff --git a/packages/client/src/views/Home.vue b/packages/client/src/views/Home.vue deleted file mode 100644 index 6c052f923..000000000 --- a/packages/client/src/views/Home.vue +++ /dev/null @@ -1,24 +0,0 @@ - - - diff --git a/packages/client/src/views/Login.vue b/packages/client/src/views/LoginView.vue similarity index 81% rename from packages/client/src/views/Login.vue rename to packages/client/src/views/LoginView.vue index ee54eb45e..1347ad118 100755 --- a/packages/client/src/views/Login.vue +++ b/packages/client/src/views/LoginView.vue @@ -6,26 +6,30 @@ class="mx-auto border-0" > + :src="require('../assets/usdr_logo_standard_wide.svg')" + style="max-width: 14rem" + alt="United States Digital Response logo" + class="mx-auto mb-3" + top + /> -

Log in to Federal Grant Finder

-

Enter your email to receive a one-time login link.

+

+ Log in to Federal Grant Finder +

+

+ Enter your email to receive a one-time login link. +

+ >
-
{{ message }}
-
+
+ {{ message }} +
+

Don't have an account? Please fill out - USDR's request form + USDR's request form and indicate you'd like to create one.

Need help? Contact us for support.

@@ -58,7 +71,7 @@ import { apiURL } from '@/helpers/fetchApi'; import _ from 'lodash-checkit'; export default { - name: 'Login', + name: 'LoginView', data() { const message = _.get(this, '$route.query.message', null); const messageClass = message ? 'alert alert-danger' : ''; diff --git a/packages/client/src/views/NotFound.vue b/packages/client/src/views/NotFound.vue deleted file mode 100644 index 91c7e6dd6..000000000 --- a/packages/client/src/views/NotFound.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/packages/client/src/views/NotFoundView.vue b/packages/client/src/views/NotFoundView.vue new file mode 100644 index 000000000..fa73fdb93 --- /dev/null +++ b/packages/client/src/views/NotFoundView.vue @@ -0,0 +1,13 @@ +