Add hero component

This commit is contained in:
Oliver Davies 2020-09-08 20:15:38 +01:00
parent 08edea3c50
commit 2b3cb1aea2

View file

@ -1,6 +1,13 @@
<template> <template>
<div id="app" class="text-black"> <div id="app" class="text-black">
<navbar :name="title" /> <navbar :name="title" />
<div class="h-48 flex items-center justify-center bg-yellow">
<div class="p-4 text-center">
<h1 class="text-4xl leading-none font-bold">{{ title }}</h1>
<p class="mt-5 text-sm">{{ description }}</p>
</div>
</div>
</div> </div>
</template> </template>
@ -16,7 +23,8 @@ export default {
data() { data() {
return { return {
title: 'Bristol JS' title: 'Bristol JS',
description: 'We host monthly JavaScript meetings in the beautiful city of Bristol, UK.'
} }
} }
} }