diff options
Diffstat (limited to 'iridescence/src')
-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> |