add hero component to examples

This commit is contained in:
Philipp Kühn
2018-08-23 08:03:42 +02:00
parent 47909e5890
commit daa2776ced
6 changed files with 46 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
<template>
<div class="hero">
<div class="hero__inner">
<h1>
tiptap a renderless rich-text editor toolkit for Vue.js
</h1>
<p>
This editor is based on <a href="https://prosemirror.net">Prosemirror</a>, <em>fully extendable</em> and renderless. There is a plugin system that lets you render each node as <strong>a vue component</strong>.
</p>
</div>
</div>
</template>
<style lang="scss" src="./style.scss" scoped></style>

View File

@@ -0,0 +1,15 @@
@import "~variables";
.hero {
background-color: $color-black;
color: $color-white;
text-align: center;
padding: 3rem 1rem;
&__inner {
margin: 0 auto;
max-width: 30rem;
}
}