diff options
author | Adam Carpenter <atc@53hor.net> | 2020-04-28 17:13:49 -0400 |
---|---|---|
committer | Adam Carpenter <atc@53hor.net> | 2020-04-28 17:13:49 -0400 |
commit | df4105ae63c94c5ee8556ebc994ba2c0fd946288 (patch) | |
tree | 079e41c36386bf8d28a0222c11ec663e84ab2a3f /iridescence | |
parent | 6e787a89e0c40f42d51681c960a18818650646b7 (diff) | |
download | theglassyladies-df4105ae63c94c5ee8556ebc994ba2c0fd946288.tar.xz theglassyladies-df4105ae63c94c5ee8556ebc994ba2c0fd946288.zip |
added admin view, updated router
Diffstat (limited to 'iridescence')
-rw-r--r-- | iridescence/src/router/index.js | 6 | ||||
-rw-r--r-- | iridescence/src/views/About.vue | 2 | ||||
-rw-r--r-- | iridescence/src/views/Admin.vue | 7 | ||||
-rw-r--r-- | iridescence/src/views/Home.vue | 6 |
4 files changed, 19 insertions, 2 deletions
diff --git a/iridescence/src/router/index.js b/iridescence/src/router/index.js index 3d5155d..9a1e0c2 100644 --- a/iridescence/src/router/index.js +++ b/iridescence/src/router/index.js @@ -18,6 +18,12 @@ const routes = [ // which is lazy-loaded when the route is visited. component: () => import(/* webpackChunkName: "about" */ "../views/About.vue") + }, + { + path: "/admin", + name: "Administration", + component: () => + import(/* webpackChunkName: "admin" */ "../views/Admin.vue") } ]; diff --git a/iridescence/src/views/About.vue b/iridescence/src/views/About.vue index 3fa2807..0dce204 100644 --- a/iridescence/src/views/About.vue +++ b/iridescence/src/views/About.vue @@ -1,5 +1,5 @@ <template> - <div class="about"> + <div> <h1>This is an about page</h1> </div> </template> diff --git a/iridescence/src/views/Admin.vue b/iridescence/src/views/Admin.vue new file mode 100644 index 0000000..f51d3c4 --- /dev/null +++ b/iridescence/src/views/Admin.vue @@ -0,0 +1,7 @@ +<template> + <!-- The Administrators' page lets artists/admins add or remove inventory + items and update their prices, descriptions, stock, and thumbnails. --> + <div> + <h1>This is an admin page</h1> + </div> +</template> diff --git a/iridescence/src/views/Home.vue b/iridescence/src/views/Home.vue index 1197e75..e3b0eb4 100644 --- a/iridescence/src/views/Home.vue +++ b/iridescence/src/views/Home.vue @@ -1,5 +1,9 @@ <template> - <div class="home"> + <!-- Home is a view for browsing through the primary inventory. It should + allow users to sort, filter, and search for items and add them to their + cart. --> + + <div> <figure class="image is-128x128"> <img alt="The Glassy Ladies" src="../assets/logo.png" /> </figure> |