Add missing twemojis to commit components

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2022-11-15 17:34:37 +01:00
parent 3a352eab4c
commit b8ec63497b
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -199,7 +199,7 @@
</HeaderToggleLabel>
</div>
{/if}
<div class="last-commit" title={lastCommit.author.name}>
<div class="last-commit" title={lastCommit.author.name} use:twemoji>
<span class="hash">{lastCommit.sha1.slice(0, 7)}</span>
{lastCommit.summary}
</div>
+2 -2
View File
@@ -1,7 +1,7 @@
<script lang="ts">
import type { Commit } from "@app/commit";
import { formatCommit } from "@app/utils";
import { formatCommit, twemoji } from "@app/utils";
import Changeset from "@app/base/projects/SourceBrowser/Changeset.svelte";
import CommitAuthorship from "@app/base/projects/Commit/CommitAuthorship.svelte";
@@ -57,7 +57,7 @@
<div class="commit">
<header>
<div class="summary">
<div class="txt-medium">{commit.header.summary}</div>
<div class="txt-medium" use:twemoji>{commit.header.summary}</div>
<div class="layout-desktop txt-monospace sha1">
<span>{commit.header.sha1}</span>
</div>
+2 -2
View File
@@ -1,6 +1,6 @@
<script lang="ts" strictEvents>
import type { CommitMetadata } from "@app/commit";
import { formatCommit } from "@app/utils";
import { formatCommit, twemoji } from "@app/utils";
import { createEventDispatcher } from "svelte";
import Icon from "@app/Icon.svelte";
@@ -87,7 +87,7 @@
<div class="commit-teaser">
<div class="column-left">
<div class="header">
<div class="summary">
<div class="summary" use:twemoji>
{commit.header.summary}
</div>
</div>