From 8cb8f29e5e3848e6f8362b476711ab77854dd7cc Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Thu, 2 Dec 2021 11:35:44 +0100 Subject: [PATCH] - new imprint-view-component --- src/app.ts | 2 + src/router/index.ts | 6 ++ src/views/home-view/home-view-component.vue | 3 +- .../imprint-view/imprint-view-component.ts | 12 ++++ .../imprint-view/imprint-view-component.vue | 57 +++++++++++++++++++ .../sitelink-view/sitelink-view-component.vue | 8 +-- 6 files changed, 83 insertions(+), 5 deletions(-) create mode 100644 src/views/imprint-view/imprint-view-component.ts create mode 100644 src/views/imprint-view/imprint-view-component.vue diff --git a/src/app.ts b/src/app.ts index 44e61cd..e81e87f 100644 --- a/src/app.ts +++ b/src/app.ts @@ -9,6 +9,7 @@ import ServiceViewComponent from "./views/services-view/service-view-component.v 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 { VUE_APP_PORTAL } from "./constants"; // import VsInput from "./components/vs-input/vs-input.vue"; // import VsResult from "./components/vs-result/vs-result.vue"; @@ -36,6 +37,7 @@ import { VUE_APP_PORTAL } from "./constants"; OaiViewComponent, ContactViewComponent, SitelinkViewComponent, + ImprintViewComponent, }, }) export default class App extends Vue { diff --git a/src/router/index.ts b/src/router/index.ts index 6c60ec6..2a32447 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -6,6 +6,7 @@ import ServiceViewComponent from "@/views/services-view/service-view-component.v 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"; const routes = [ { @@ -43,6 +44,11 @@ const routes = [ name: "Sitelinks", component: SitelinkViewComponent, }, + { + path: "/imprint", + name: "Imprint", + component: ImprintViewComponent, + }, ]; const router = createRouter({ diff --git a/src/views/home-view/home-view-component.vue b/src/views/home-view/home-view-component.vue index 6f38f97..f4c9d83 100644 --- a/src/views/home-view/home-view-component.vue +++ b/src/views/home-view/home-view-component.vue @@ -206,7 +206,8 @@ Contact
  • - Impressum + + Imprint
  • diff --git a/src/views/imprint-view/imprint-view-component.ts b/src/views/imprint-view/imprint-view-component.ts new file mode 100644 index 0000000..63b4d44 --- /dev/null +++ b/src/views/imprint-view/imprint-view-component.ts @@ -0,0 +1,12 @@ +import { Options, Vue } from "vue-class-component"; + +@Options({ + name: "ImprintViewComponent", + // components: { + // VsInput, + // VsResult, + // FacetCategory, + // ActiveFacetCategory, + // }, +}) +export default class ImprintViewComponent extends Vue {} diff --git a/src/views/imprint-view/imprint-view-component.vue b/src/views/imprint-view/imprint-view-component.vue new file mode 100644 index 0000000..cceffbc --- /dev/null +++ b/src/views/imprint-view/imprint-view-component.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/src/views/sitelink-view/sitelink-view-component.vue b/src/views/sitelink-view/sitelink-view-component.vue index ddbb431..d4a7028 100644 --- a/src/views/sitelink-view/sitelink-view-component.vue +++ b/src/views/sitelink-view/sitelink-view-component.vue @@ -13,8 +13,8 @@ --> -
    -
    +
    +
    • @@ -24,8 +24,8 @@
    -
    -
    +
    +