docs: center intro text

This commit is contained in:
Braks
2022-04-10 18:42:05 +02:00
parent dc5ca5d1d6
commit b704bc6e11
2 changed files with 3 additions and 2 deletions

View File

@@ -122,8 +122,8 @@ onPaneReady(({ fitView }) => {
<template v-if="props.id === 'intro'">
<div class="max-w-[500px]">
<BoxNode class="intro">
<div class="font-mono flex flex-col gap-4 p-4 items-center">
<h1 class="pointer-events-none text-2xl lg:text-4xl text-center">Visualize your ideas with Vue Flow</h1>
<div class="font-mono flex flex-col gap-4 p-4 items-center text-center">
<h1 class="pointer-events-none text-2xl lg:text-4xl">Visualize your ideas with Vue Flow</h1>
<h2 class="pointer-events-none text-lg lg:text-xl font-normal">
A customizable Vue.js library for building node-based editors and diagrams.
</h2>

View File

@@ -12,6 +12,7 @@ declare module 'vue' {
Features: typeof import('./../../components/home/Features.vue')['default']
Home: typeof import('./../../components/home/Home.vue')['default']
Input: typeof import('./../../components/home/nodes/Input.vue')['default']
Intro: typeof import('./../../components/home/flows/Intro.vue')['default']
Nested: typeof import('./../../components/home/Nested.vue')['default']
Output: typeof import('./../../components/home/nodes/Output.vue')['default']
RGB: typeof import('./../../components/home/RGB.vue')['default']