|
| 1 | +<script setup lang="ts"> |
| 2 | +const props = defineProps<{ baseDelay: number }>() |
| 3 | +
|
| 4 | +const initialShow = ref<undefined | boolean>(undefined) |
| 5 | +
|
| 6 | +onMounted(() => { |
| 7 | + setTimeout(() => { |
| 8 | + initialShow.value = true |
| 9 | + }, props.baseDelay * 3.75) |
| 10 | +}) |
| 11 | +</script> |
| 12 | + |
| 13 | +<template> |
| 14 | + <div |
| 15 | + class="relative mb-5 border border-slate-300/60 dark:border-blue-600/20 bg-gradient-to-tr from-blue-100/60 to-fuchsia-100/90 dark:from-blue-800/40 dark:to-fuchsia-700/40 rounded-lg shadow-lg hover:shadow-2xl p-10 flex flex-col md:flex-row items-center gap-10 hover:!-translate-y-2 cursor-pointer duration-600 opacity-0 translate-y-4 data-[show]:opacity-100 data-[show]:translate-y-0 transition-all" |
| 16 | + :data-show="initialShow" |
| 17 | + > |
| 18 | + <a |
| 19 | + class="absolute inset-0 z-10" |
| 20 | + target="_blank" |
| 21 | + href="https://kickstart.formkit.com" |
| 22 | + /> |
| 23 | + |
| 24 | + <span |
| 25 | + class="announcement-icon absolute top-2 right-2 w-10 p-3 bg-white dark:bg-white/80 aspect-square rounded-full" |
| 26 | + > |
| 27 | + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"> |
| 28 | + <path |
| 29 | + fill="currentColor" |
| 30 | + d="M544 32c17.7 0 32 14.3 32 32V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V64c0-17.7 14.3-32 32-32zM64 190.3L480 64V448L348.9 408.2C338.2 449.5 300.7 480 256 480c-53 0-96-43-96-96c0-11 1.9-21.7 5.3-31.5L64 321.7C63.1 338.6 49.1 352 32 352c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32c17.1 0 31.1 13.4 32 30.3zm239 203.9l-91.6-27.8c-2.1 5.4-3.3 11.4-3.3 17.6c0 26.5 21.5 48 48 48c23 0 42.2-16.2 46.9-37.8z" |
| 31 | + /> |
| 32 | + </svg> |
| 33 | + </span> |
| 34 | + |
| 35 | + <div class="callout-image max-w-[200px]"> |
| 36 | + <svg |
| 37 | + id="b" |
| 38 | + data-name="Layer 2" |
| 39 | + xmlns="http://www.w3.org/2000/svg" |
| 40 | + class="w-full block dark:invert" |
| 41 | + xmlns:xlink="http://www.w3.org/1999/xlink" |
| 42 | + viewBox="0 0 562.4 100.3" |
| 43 | + > |
| 44 | + <defs> |
| 45 | + <linearGradient |
| 46 | + id="d" |
| 47 | + x1="3.1" |
| 48 | + y1="-330.7" |
| 49 | + x2="67.8" |
| 50 | + y2="-430.7" |
| 51 | + gradientTransform="translate(0 -319.9) scale(1 -1)" |
| 52 | + gradientUnits="userSpaceOnUse" |
| 53 | + > |
| 54 | + <stop offset="0" stop-color="#f79259" /> |
| 55 | + <stop offset="1" stop-color="#f8ce68" /> |
| 56 | + </linearGradient> |
| 57 | + </defs> |
| 58 | + <g id="c" data-name="Layer 2"> |
| 59 | + <path |
| 60 | + class="e" |
| 61 | + d="m16.7,0H0v16.7h16.7V0Zm0,66.7H0v16.7h16.7v-16.7Zm33.4,16.7h50v16.7h-50v-16.7ZM33.4,16.7h-16.7v16.7h16.7v16.7h16.7v-16.7h-16.7v-16.7Zm-16.7,33.3h16.7v16.7h-16.7v-16.7Z" |
| 62 | + /> |
| 63 | + <g> |
| 64 | + <path |
| 65 | + class="f" |
| 66 | + d="m131.3,100h-11.2v-17.6h11.2v2.4h-8.4v5.2h8v2.3h-8v5.5h8.4v2.4Z" |
| 67 | + /> |
| 68 | + <path |
| 69 | + class="f" |
| 70 | + d="m149.8,95.3h-6.7l-1.6,4.8h-2.8l6.4-17.6h3l6.4,17.6h-2.9l-1.6-4.8Zm-6-2.2h5.3l-2.6-7.7h0l-2.6,7.7Z" |
| 71 | + /> |
| 72 | + <path |
| 73 | + class="f" |
| 74 | + d="m164.9,100h-2.7v-17.6h6.9c3.6,0,5.9,2.1,5.9,5.4s-1.3,4.3-3.4,5l4,7.2h-3.2l-3.6-6.8h-3.9v6.8Zm0-9h3.9c2.1,0,3.3-1.2,3.3-3.2s-1.3-3.2-3.4-3.2h-3.9v6.3Z" |
| 75 | + /> |
| 76 | + <path class="f" d="m194.4,100h-10.9v-17.6h2.7v15.2h8.2v2.4Z" /> |
| 77 | + <path |
| 78 | + class="f" |
| 79 | + d="m205,100v-7.2l-6.2-10.4h3.1l4.5,7.8h0l4.5-7.8h3l-6.2,10.4v7.2h-2.7Z" |
| 80 | + /> |
| 81 | + <path |
| 82 | + class="f" |
| 83 | + d="m243.2,95.3h-6.7l-1.6,4.8h-2.8l6.4-17.6h3l6.4,17.6h-2.9l-1.6-4.8Zm-6-2.2h5.3l-2.6-7.7h0l-2.6,7.7Z" |
| 84 | + /> |
| 85 | + <path |
| 86 | + class="f" |
| 87 | + d="m254.3,91.2c0-5.6,3.2-9.1,8.1-9.1s7,2.5,7.5,6.1h-2.7c-.5-2.3-2.4-3.7-4.8-3.7s-5.3,2.6-5.3,6.7,2.1,6.7,5.3,6.7,4.2-1.3,4.7-3.4h2.7c-.7,3.6-3.4,5.8-7.5,5.8s-8.1-3.5-8.1-9.1Z" |
| 88 | + /> |
| 89 | + <path |
| 90 | + class="f" |
| 91 | + d="m277.5,91.2c0-5.6,3.2-9.1,8.1-9.1s7,2.5,7.5,6.1h-2.7c-.5-2.3-2.4-3.7-4.8-3.7s-5.3,2.6-5.3,6.7,2.1,6.7,5.3,6.7,4.2-1.3,4.7-3.4h2.7c-.7,3.6-3.4,5.8-7.5,5.8s-8.1-3.5-8.1-9.1Z" |
| 92 | + /> |
| 93 | + <path |
| 94 | + class="f" |
| 95 | + d="m312.6,100h-11.2v-17.6h11.2v2.4h-8.4v5.2h8v2.3h-8v5.5h8.4v2.4Z" |
| 96 | + /> |
| 97 | + <path |
| 98 | + class="f" |
| 99 | + d="m323.2,95.1c.2,1.7,1.9,2.9,4.2,2.9s3.8-1.1,3.8-2.7-1-2.2-3.2-2.7l-2.3-.5c-3.2-.8-4.7-2.3-4.7-4.7s2.6-5.1,6.4-5.1,6.3,2.1,6.4,5.1h-2.7c-.2-1.8-1.6-2.8-3.7-2.8s-3.6,1.1-3.6,2.6.9,2,3.2,2.5l1.9.5c3.6.9,5.1,2.3,5.1,4.9s-2.6,5.4-6.8,5.4-6.5-2-6.7-5.2h2.7Z" |
| 100 | + /> |
| 101 | + <path |
| 102 | + class="f" |
| 103 | + d="m344.3,95.1c.2,1.7,1.9,2.9,4.2,2.9s3.8-1.1,3.8-2.7-1-2.2-3.2-2.7l-2.3-.5c-3.2-.8-4.7-2.3-4.7-4.7s2.6-5.1,6.4-5.1,6.3,2.1,6.4,5.1h-2.7c-.2-1.8-1.6-2.8-3.7-2.8s-3.6,1.1-3.6,2.6.9,2,3.2,2.5l1.9.5c3.6.9,5.1,2.3,5.1,4.9s-2.6,5.4-6.8,5.4-6.5-2-6.7-5.2h2.7Z" |
| 104 | + /> |
| 105 | + </g> |
| 106 | + <g> |
| 107 | + <path |
| 108 | + class="g" |
| 109 | + d="m120.1,75.9V5.5h17.9v31h.4l24-31h19.2l-24.6,31.3,26,39.2h-21l-18-27.5-6,7.6v19.9h-17.9Z" |
| 110 | + /> |
| 111 | + <path |
| 112 | + class="g" |
| 113 | + d="m187.4,8.5c0-4.9,4-8.5,8.9-8.5s8.9,3.7,8.9,8.5-4,8.5-8.9,8.5-8.9-3.6-8.9-8.5Zm.2,13h17.3v54.3h-17.3V21.6Z" |
| 114 | + /> |
| 115 | + <path |
| 116 | + class="g" |
| 117 | + d="m249.1,42.9c-.6-5.6-4.1-9.3-9.4-9.3s-10.2,5.6-10.2,15.1,3.8,15.1,10.2,15.1,8.7-3.2,9.4-8.9h15.9c-.5,13.7-10.3,22.1-25.5,22.1s-27.5-10.7-27.5-28.4,10.5-28.3,27.4-28.3,25,9,25.5,22.5h-15.9Z" |
| 118 | + /> |
| 119 | + <path |
| 120 | + class="g" |
| 121 | + d="m305.5,21.6h19.3l-19.5,23.3,20.7,31.1h-19.9l-13.5-20.7-3.3,3.9v16.8h-17.3V2h17.3v40.4h.3l16-20.8Z" |
| 122 | + /> |
| 123 | + <path |
| 124 | + class="g" |
| 125 | + d="m344.7,55.5c.6,4.8,6.1,8.1,12.7,8.1s11.5-3.1,11.5-7.4-3-5.8-11-7.5l-9.2-1.8c-13-2.5-19.7-9.5-19.7-20.2s11.7-22.5,28-22.5,28,8.5,28.2,21.8h-16.5c-.3-5.1-5.1-8.2-11.5-8.2s-10.4,2.8-10.4,7.1,3.1,5.9,10.5,7.4l9.1,1.7c13.9,2.7,20.2,9,20.2,20.1s-11.6,22.9-29.7,22.9-29.1-8-29.2-21.6h17Z" |
| 126 | + /> |
| 127 | + <path |
| 128 | + class="g" |
| 129 | + d="m415.7,9.6v12h9.8v12.8h-9.8v23.2c0,3.8,2.1,5.7,6.3,5.7s2.5,0,3.5-.2v12.3c-1.7.4-4.2.7-7.6.7-14,0-19.5-4.3-19.5-15v-26.7h-7.3v-12.8h7.3v-12h17.3Z" |
| 130 | + /> |
| 131 | + <path |
| 132 | + class="g" |
| 133 | + d="m430.9,60.2c0-10.2,7.8-15.8,22-16.7l12.7-.8v-3.1c0-4.4-3.2-6.8-8.1-6.8s-7.9,2.5-8.3,5.9h-15.6c.4-11,10.1-18.3,24.8-18.3s24.1,7.4,24.1,18.3v37.2h-16.8v-7.8h-.3c-2.9,5.5-9.6,8.5-16.2,8.5-10.2,0-18.4-6.7-18.4-16.5Zm34.8-3.9v-3.8l-10,.7c-4.9.3-7.6,2.4-7.6,5.8s2.9,5.6,7.3,5.6,10.3-3.3,10.3-8.3Z" |
| 134 | + /> |
| 135 | + <path |
| 136 | + class="g" |
| 137 | + d="m491.2,21.6h16.8v10.2h.3c2-7.2,6.4-10.9,12.8-10.9s3.3.3,4.4.7v14.8c-1.5-.6-3.5-1-5.6-1-7.4,0-11.5,4.2-11.5,11.8v28.7h-17.3V21.6Z" |
| 138 | + /> |
| 139 | + <path |
| 140 | + class="g" |
| 141 | + d="m552.6,9.6v12h9.8v12.8h-9.8v23.2c0,3.8,2.1,5.7,6.3,5.7s2.5,0,3.5-.2v12.3c-1.7.4-4.2.7-7.6.7-14,0-19.5-4.3-19.5-15v-26.7h-7.3v-12.8h7.3v-12h17.3Z" |
| 142 | + /> |
| 143 | + </g> |
| 144 | + </g> |
| 145 | + </svg> |
| 146 | + </div> |
| 147 | + <div class="callout-content dark:text-white"> |
| 148 | + <h3 class="text-xl font-semibold">AI-Generated forms in seconds.</h3> |
| 149 | + <p class="text-gray-600 dark:text-gray-300"> |
| 150 | + KickStart your next FormKit form in seconds. Generate from a prompt, |
| 151 | + image, or text attachment. Copy & paste as Vue components or FormKit |
| 152 | + schema. |
| 153 | + </p> |
| 154 | + |
| 155 | + <button |
| 156 | + class="flex items-center gap-2 border border-fuchsia-300 dark:border-fuchsia-800 px-4 py-2 mt-4 rounded bg-fuchsia-500 dark:bg-fuchsia-600 text-white text-sm" |
| 157 | + > |
| 158 | + Try it for free! |
| 159 | + <svg |
| 160 | + xmlns="http://www.w3.org/2000/svg" |
| 161 | + viewBox="0 0 24 24" |
| 162 | + class="w-4 h-4 basis-4" |
| 163 | + > |
| 164 | + <path |
| 165 | + fill="currentColor" |
| 166 | + fill-rule="evenodd" |
| 167 | + d="M12.97 3.97a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 1 1-1.06-1.06l6.22-6.22H3a.75.75 0 0 1 0-1.5h16.19l-6.22-6.22a.75.75 0 0 1 0-1.06Z" |
| 168 | + clip-rule="evenodd" |
| 169 | + /> |
| 170 | + </svg> |
| 171 | + </button> |
| 172 | + </div> |
| 173 | + </div> |
| 174 | +</template> |
0 commit comments