Skip to content

Commit cc9567b

Browse files
committed
♿️ A11 emojis
1 parent dca556c commit cc9567b

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

src/components/Footer.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
<script>
2+
import Emoji from 'svelte-emoji'
3+
</script>
4+
15
<footer class="text-center mt-5 mb-2">
2-
Hosted with <span>❤️&nbsp;</span> on <a href="//pages.github.com/">GitHub Pages</a>.
6+
Hosted with <Emoji symbol="❤️ " label="love" /> on <a href="//pages.github.com/">GitHub Pages</a>.
37
</footer>
48

59
<style>

src/components/Textarea.svelte

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<script>
22
import { saveAs } from 'file-saver'
33
import * as CleanCSS from 'clean-css'
4+
import Emoji from 'svelte-emoji'
5+
46
import CopySaveActions from './CopySaveActions.svelte'
57
import SavedSizeBadge from './SavedSizeBadge.svelte'
68
@@ -34,7 +36,14 @@
3436

3537
<textarea bind:value={input} class="form-control" rows="6" placeholder="enter your raw css here to optimize it..."></textarea>
3638
<div class="row mt-2">
37-
<button class="btn btn-primary d-inline" style="background-color: #27AAE1;" on:click={optimize}>optimize ➜</button>
39+
<button
40+
class="btn btn-primary d-inline"
41+
style="background-color: #27AAE1;"
42+
on:click={optimize}
43+
>
44+
optimize
45+
<Emoji symbol="" />
46+
</button>
3847

3948
<div id="result" class="position-relative ms-2 flex-grow-1 d-flex p-0 align-items-center" style="width: 0;">
4049
<input class="form-control" type="text" disabled={optimizedInput === undefined} bind:value={optimizedInput}>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy