Add components to tailwindcss play

This commit is contained in:
khatabwedaa
2021-08-21 22:15:59 +02:00
parent 6c2956ba5e
commit 79d586e8fa
59 changed files with 67 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view-component :name="name" :code="code">
<view-component :name="name" :code="code" :playUrl="'https://play.tailwindcss.com/YtK2HJTgmQ'">
<div class="px-3 py-6" slot="component">
<div class="flex flex-col items-center justify-center max-w-sm mx-auto">
<div class="w-full h-64 bg-gray-300 bg-center bg-cover rounded-lg shadow-md" style="background-image: url(https://images.unsplash.com/photo-1521903062400-b80f2cb8cb9d?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1050&q=80)"></div>