From ec83a72879378bc9eedea24f828e4d30fed95e92 Mon Sep 17 00:00:00 2001
From: Ivan Topolnjak <ivantopo@gmail.com>
Date: Mon, 11 Mar 2019 22:21:06 +0100
Subject: separate the status-page project from the status API

---
 .../src/main/vue/src/components/StatusSection.vue     | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 kamon-status-page/src/main/vue/src/components/StatusSection.vue

(limited to 'kamon-status-page/src/main/vue/src/components/StatusSection.vue')

diff --git a/kamon-status-page/src/main/vue/src/components/StatusSection.vue b/kamon-status-page/src/main/vue/src/components/StatusSection.vue
new file mode 100644
index 00000000..b94b5bdf
--- /dev/null
+++ b/kamon-status-page/src/main/vue/src/components/StatusSection.vue
@@ -0,0 +1,19 @@
+<template>
+  <div class="row">
+    <div class="col-12 pt-4 pb-2">
+      <h3>{{ title }}</h3>
+    </div>
+    <div class="col-12 py-1">
+      <slot name="default"/>
+    </div>
+  </div>
+</template>
+
+<script lang="ts">
+import { Component, Prop, Vue } from 'vue-property-decorator'
+
+@Component
+export default class StatusSection extends Vue {
+  @Prop() private title!: string
+}
+</script>
\ No newline at end of file
-- 
cgit v1.2.3

