mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 14:39:30 -07:00
Add credit
This commit is contained in:
@@ -3,7 +3,9 @@ import { createCodeObject } from '../../../types/code';
|
||||
|
||||
export const asciiText = createCodeObject(code, 'TextAnimations/AsciiText', {
|
||||
installation: `npm install three @types/three`,
|
||||
usage: `<template>
|
||||
usage: `<!-- Component ported and enhanced from https://codepen.io/JuanFuentes/pen/eYEeoyE -->
|
||||
|
||||
<template>
|
||||
<AsciiText
|
||||
text="Hey!"
|
||||
:ascii-font-size="8"
|
||||
|
||||
@@ -2,7 +2,10 @@ import code from '@content/TextAnimations/TextPressure/TextPressure.vue?raw';
|
||||
import { createCodeObject } from '@/types/code';
|
||||
|
||||
export const textPressure = createCodeObject(code, 'TextAnimations/TextPressure', {
|
||||
usage: `<template>
|
||||
usage: `<!-- Component ported from https://codepen.io/JuanFuentes/full/rgXKGQ -->
|
||||
<!-- Font used - https://compressa.preusstype.com/ -->
|
||||
|
||||
<template>
|
||||
<TextPressure
|
||||
text="Hello!"
|
||||
:flex="true"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- Component ported and enhanced from https://codepen.io/JuanFuentes/pen/eYEeoyE -->
|
||||
|
||||
<script setup lang="ts">
|
||||
import { onMounted, onUnmounted, watch, useTemplateRef } from 'vue';
|
||||
import * as THREE from 'three';
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- Component ported from https://codepen.io/JuanFuentes/full/rgXKGQ -->
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, onUnmounted, nextTick, computed, watch, useTemplateRef } from 'vue';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user