diff --git a/.env b/.env index d015796..e191efd 100644 --- a/.env +++ b/.env @@ -1,5 +1,4 @@ #NODE_ENV=production NODE_ENV=development -CONSTANT_VALUE=1234567 VUE_APP_PORTAL=//repository.geologie.ac.at/portal \ No newline at end of file diff --git a/src/app.ts b/src/app.ts index e81e87f..362f60d 100644 --- a/src/app.ts +++ b/src/app.ts @@ -10,6 +10,7 @@ import OaiViewComponent from "./views/oai-view/oai-view-component.vue"; import ContactViewComponent from "./views/contact-view/contact-view-component.vue"; import SitelinkViewComponent from "./views/sitelink-view/sitelink-view-component.vue"; import ImprintViewComponent from "./views/imprint-view/imprint-view-component.vue"; +import TermsViewComponent from "./views/terms-view/terms-view-component"; import { VUE_APP_PORTAL } from "./constants"; // import VsInput from "./components/vs-input/vs-input.vue"; // import VsResult from "./components/vs-result/vs-result.vue"; @@ -38,6 +39,7 @@ import { VUE_APP_PORTAL } from "./constants"; ContactViewComponent, SitelinkViewComponent, ImprintViewComponent, + TermsViewComponent, }, }) export default class App extends Vue { diff --git a/src/router/index.ts b/src/router/index.ts index 2a32447..102ef7b 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -7,6 +7,7 @@ import OaiViewComponent from "@/views/oai-view/oai-view-component.vue"; import ContactViewComponent from "@/views/contact-view/contact-view-component.vue"; import SitelinkViewComponent from "@/views/sitelink-view/sitelink-view-component.vue"; import ImprintViewComponent from "@/views/imprint-view/imprint-view-component.vue"; +import TermsViewComponent from "@/views/terms-view/terms-view-component.vue"; const routes = [ { @@ -49,6 +50,11 @@ const routes = [ name: "Imprint", component: ImprintViewComponent, }, + { + path: "/terms-and-conditions", + name: "Terms", + component: TermsViewComponent, + }, ]; const router = createRouter({ diff --git a/src/views/home-view/home-view-component.vue b/src/views/home-view/home-view-component.vue index f4c9d83..a5f64cb 100644 --- a/src/views/home-view/home-view-component.vue +++ b/src/views/home-view/home-view-component.vue @@ -214,7 +214,8 @@ Sitelinks
  • - Terms & Conditions + + Terms & Conditions
  • rdr bei GitHub diff --git a/src/views/oai-view/oai-view-component.vue b/src/views/oai-view/oai-view-component.vue index 7d4afb1..f3a155e 100644 --- a/src/views/oai-view/oai-view-component.vue +++ b/src/views/oai-view/oai-view-component.vue @@ -23,13 +23,13 @@ Derzeit unterstützt das OAI-Service den Metadatenstandard DC (OAI-PMH Dublin Core) und eingeschränkt den Standard DataCite (aktuell in dieser Testkonfiguration noch ohne Vergabe einer im Schema verpflichtenden DOI).

    - + @@ -38,3 +38,34 @@ import OaiViewComponent from "./oai-view-component"; export default OaiViewComponent; + + diff --git a/src/views/terms-view/terms-view-component.ts b/src/views/terms-view/terms-view-component.ts new file mode 100644 index 0000000..3c96047 --- /dev/null +++ b/src/views/terms-view/terms-view-component.ts @@ -0,0 +1,12 @@ +import { Options, Vue } from "vue-class-component"; + +@Options({ + name: "TermsViewComponent", + // components: { + // VsInput, + // VsResult, + // FacetCategory, + // ActiveFacetCategory, + // }, +}) +export default class TermsViewComponent extends Vue {} diff --git a/src/views/terms-view/terms-view-component.vue b/src/views/terms-view/terms-view-component.vue new file mode 100644 index 0000000..aa90b93 --- /dev/null +++ b/src/views/terms-view/terms-view-component.vue @@ -0,0 +1,211 @@ + + + + +