mobilizon.chapril.org-mobil.../js/src/components/Utils/Subtitle.vue
Thomas Citharel 93cecbe49c
Improve build times
* Fix bulma/buefy being imported many (many !!!) times

* Remove javascript-time-ago because date-fns pretty much does the same
thing

* Make sure languages are loaded asynchronously

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-14 09:46:33 +02:00

30 lines
538 B
Vue

<template>
<h2>
<span>
<slot />
</span>
</h2>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
@Component
export default class Subtitle extends Vue {}
</script>
<style lang="scss" scoped>
h2 {
display: block;
margin: 15px 0 30px;
span {
background: $secondary;
display: inline;
padding: 3px 8px;
color: #3a384c;
font-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial, serif;
font-weight: 400;
font-size: 32px;
}
}
</style>