Change lettersToSpan name to charsToSpan
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script>
|
||||
import { onMount } from 'svelte'
|
||||
import { lettersToSpan } from '../utils/functions'
|
||||
import { charsToSpan } from '../utils/functions'
|
||||
|
||||
// Animations
|
||||
import { animateIn } from '../animations/TitleSite.js'
|
||||
@@ -21,7 +21,7 @@
|
||||
<div class="title-location title-location--inline" bind:this={scope}>
|
||||
<div role="heading" aria-level="1" aria-label="Houses">
|
||||
<div class="anim-mask">
|
||||
{@html lettersToSpan('Houses')}
|
||||
{@html charsToSpan('Houses')}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
<div aria-label="World">
|
||||
<div class="anim-mask">
|
||||
{@html lettersToSpan('World')}
|
||||
{@html charsToSpan('World')}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user