view client/src/components/PageNotFound.vue @ 3802:e8a950cf6c02 yworks-svg2pdf

Move Template loading and Imageprocessing to mixin Rationale: 1) Template loading is a process used by many components. As such it makes sense to parametrize the URL and centralize loading. 2) Imageprocessing has to be done after each template is loaded on the client As such it makes sense to centralize that. To make handling easier, each (1) and (2) is in an independend Promise to make chaining of calls easier to read.
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 04 Jul 2019 10:57:43 +0200
parents 6c5364ff0abb
children
line wrap: on
line source

<template>
  <div class="main d-flex flex-row" style="position: relative;">
    <Spacer />
    <div class="my-auto mx-auto">
      <h1>
        <font-awesome-icon icon="frown-open" fixed-width />
        We are sorry. The ressource you requested could not be found.
      </h1>
    </div>
  </div>
</template>

<script>
export default {
  name: "pagenotfound",
  components: {
    Spacer: () => import("@/components/Spacer")
  }
};
</script>

<style></style>