mirror of
https://github.com/BluemediaDev/fancy-gatus.git
synced 2025-07-01 09:22:41 +02:00
Initial build
This commit is contained in:
parent
ba484d3d9a
commit
20686e39b6
14 changed files with 714 additions and 6 deletions
33
src/components/Header.vue
Normal file
33
src/components/Header.vue
Normal file
|
@ -0,0 +1,33 @@
|
|||
<template>
|
||||
<div class="header">
|
||||
<img src="@/assets/logo.png" alt="Logo" class="logo">
|
||||
<h2>{{ this.title }}</h2>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Header',
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
default: 'Infrastructure Status'
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.logo {
|
||||
width: 60px;
|
||||
height: auto;
|
||||
}
|
||||
h2 {
|
||||
margin: 0;
|
||||
margin-left: 20px;
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue