diff --git a/src/modules/about/content/about.md b/src/modules/about/content/about.md deleted file mode 100644 index 48000b6..0000000 --- a/src/modules/about/content/about.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: About -contact_email: user@example.com -copyright: All content is CC 0 so that it maybe be shared throughout the world in places like Wikipedia. -citation: Project collaborative. 2022. Website title. Available at https://example.com. ---- - -# {{frontmatter.title}} - -## Dig deeper -Please contact us if you need extended access to the data underlying here. The TaxonWorks interfaces used to curate these data include wide range of additional filtering, reporting, and curatorial functionality. With a little training from us we'd be happy to provide you access to this additional functionality. Over time we expect this site to gradually mirror that extended functionality. - -## Contact -If you have a question, want to report new data relevant to the project, or have error our preferred means of contact is to file an issue on our [project tracker](https://github.com/our/project/tracker). You can also [chat live with us](https://slackservername). We can also be reached via [email](mailto:{{frontmatter.contact_email}}). - -## Team - _Please contact us if you would like to join this effort._ - -Made possible by the wonderful: -* Gandalf - Technical lead -* Aragorn - Outside advisor -* Frodo - Lead curator -* Samwise - Emotional support - -## Citing -* This website - {{frontmatter.citation}} -* Individual taxon pages - See citation at the bottom of each page. - -## Data -Data for these pages is collaboratively curated online in a [TaxonWorks](https://taxonworks) project. All data behind this site served as JSON through calls to a [TaxonWorks API](https://api.taxonworks.org). You can follow along by using the Console of your browser to explore the Network tab. - -## Technical -Want to create your own site? This website is built completely on open-source software. There is a [site template](https://github.com/SpeciesFileGroup/) with more information. Data are curated in a [TaxonWorks](https://taxonworks.org) project then shared via a [TaxonWorks API](https://api.taxonworks.org). Come [chat](https://gitter.im/SpeciesFileGroup/taxonworks) with the TaxonWorks community at any time. - -## Copyright -_{{frontmatter.copyright}}_ \ No newline at end of file diff --git a/src/modules/about/router/index.js b/src/modules/about/router/index.js deleted file mode 100644 index bdebeb2..0000000 --- a/src/modules/about/router/index.js +++ /dev/null @@ -1,9 +0,0 @@ -import Index from '@/modules/about/views/Index.vue' - -export default [ - { - path: '/about', - name: 'About', - component: Index - } -] diff --git a/src/modules/about/views/Index.vue b/src/modules/about/views/Index.vue deleted file mode 100644 index 59051ff..0000000 --- a/src/modules/about/views/Index.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - \ No newline at end of file diff --git a/src/modules/home/components/OtuAutocomplete.vue b/src/modules/home/components/OtuAutocomplete.vue deleted file mode 100644 index f18d3cc..0000000 --- a/src/modules/home/components/OtuAutocomplete.vue +++ /dev/null @@ -1,25 +0,0 @@ - - - \ No newline at end of file diff --git a/src/modules/home/content/home.md b/src/modules/home/content/home.md deleted file mode 100644 index 438d458..0000000 --- a/src/modules/home/content/home.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: The title -lead: Taxa from your imagination to the web -project: Your project ---- - -# {{frontmatter.title}} -_{{frontmatter.lead}}_ - -## Overview -Welcome to *{{frontmatter.project}}*, a website of taxon pages generated from the {{ frontmatter.project }} Project, a comprehensive collaborative effort managed in [TaxonWorks](https://taxonworks.org). - -## Get started! - - -## Announcements -* 5/1/2022 - We've grown! -* 1/1/2022 - Our website is live! - -## Find out more -Learn how to collaborate with the {{frontmatter.title}} project. Contact information, technical details, and more are available at [About](/about). - - \ No newline at end of file diff --git a/src/modules/home/router/index.js b/src/modules/home/router/index.js deleted file mode 100644 index c31c20e..0000000 --- a/src/modules/home/router/index.js +++ /dev/null @@ -1,9 +0,0 @@ -import Index from '@/modules/home/views/Index.vue' - -export default [ - { - path: '/', - name: 'Home', - component: Index - } -] diff --git a/src/modules/home/views/Index.vue b/src/modules/home/views/Index.vue deleted file mode 100644 index e65b659..0000000 --- a/src/modules/home/views/Index.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index dc423fe..b52cc8c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -5,20 +5,19 @@ import { } from 'vue-router' import otusRoutes from '@/modules/otus/router' -import homeRoutes from '@/modules/home/router' -import aboutRoutes from '@/modules/about/router' +import dynamicRoutes from '~pages' +import routerConfiguration from '@/config/router.yml' -const { VITE_BASE_URL, VITE_ROUTER_HASH_MODE } = import.meta.env +const { base_url, hash_mode } = routerConfiguration const router = createRouter({ - history: VITE_ROUTER_HASH_MODE - ? createWebHashHistory(VITE_BASE_URL) - : createWebHistory(VITE_BASE_URL), + history: hash_mode + ? createWebHashHistory(base_url) + : createWebHistory(base_url), routes: [ - ...homeRoutes, + ...dynamicRoutes, ...otusRoutes, - ...aboutRoutes ] })