Skip to content

Commit

Permalink
🤖 Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 9, 2025
1 parent 0400c02 commit 306c2a5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/lib/components/core/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import { IconGitHub } from '@dfinity/gix-components';
import IconDfinity from '$lib/components/icons/IconDfinity.svelte';
import IconHeart from '$lib/components/icons/IconHeart.svelte';
import IconTwitter from '$lib/components/icons/IconTwitter.svelte';
import Badge from '$lib/components/ui/Badge.svelte';
import ExternalLink from '$lib/components/ui/ExternalLink.svelte';
Expand All @@ -9,7 +10,6 @@
import { authNotSignedIn, authSignedIn } from '$lib/derived/auth.derived';
import { i18n } from '$lib/stores/i18n.store';
import { replaceOisyPlaceholders } from '$lib/utils/i18n.utils';
import IconHeart from '$lib/components/icons/IconHeart.svelte';
</script>

<footer
Expand Down Expand Up @@ -79,7 +79,7 @@
class="text-center md:text-left"
>
{replaceOisyPlaceholders($i18n.footer.text.incubated_with)}
<IconHeart styleClass="inline-flex mb-1"/>
<IconHeart styleClass="inline-flex mb-1" />
{replaceOisyPlaceholders($i18n.footer.text.by)}
<ExternalLink
href="https://dfinity.org"
Expand Down
53 changes: 42 additions & 11 deletions src/frontend/src/lib/components/icons/IconHeart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,50 @@
</script>

<!-- source: DFINITY foundation -->
<svg class={styleClass} width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M16 5.88772C16 11.3125 8.00092 16 8.00092 16C8.00092 16 -7.14146e-08 11.3125 -7.17263e-08 5.88772C-3.20922e-08 3.1869 1.93295 1 4.32 1C5.87505 1 7.23848 1.93062 8 3.32428C8.76152 1.93062 10.125 1 11.68 1C14.067 1 16 3.1869 16 5.88772Z" fill="url(#paint0_linear_4052_760)"/>
<path d="M16 5.88772C16 11.3125 8.00092 16 8.00092 16C8.00092 16 -7.14146e-08 11.3125 -7.17263e-08 5.88772C-3.20922e-08 3.1869 1.93295 1 4.32 1C5.87505 1 7.23848 1.93062 8 3.32428C8.76152 1.93062 10.125 1 11.68 1C14.067 1 16 3.1869 16 5.88772Z" fill="url(#paint1_linear_4052_760)" fill-opacity="0.48"/>
<path d="M16 5.88772C16 11.3125 8.00092 16 8.00092 16C8.00092 16 -7.14146e-08 11.3125 -7.17263e-08 5.88772C-3.20922e-08 3.1869 1.93295 1 4.32 1C5.87505 1 7.23848 1.93062 8 3.32428C8.76152 1.93062 10.125 1 11.68 1C14.067 1 16 3.1869 16 5.88772Z" stroke="white"/>
<svg
class={styleClass}
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16 5.88772C16 11.3125 8.00092 16 8.00092 16C8.00092 16 -7.14146e-08 11.3125 -7.17263e-08 5.88772C-3.20922e-08 3.1869 1.93295 1 4.32 1C5.87505 1 7.23848 1.93062 8 3.32428C8.76152 1.93062 10.125 1 11.68 1C14.067 1 16 3.1869 16 5.88772Z"
fill="url(#paint0_linear_4052_760)"
/>
<path
d="M16 5.88772C16 11.3125 8.00092 16 8.00092 16C8.00092 16 -7.14146e-08 11.3125 -7.17263e-08 5.88772C-3.20922e-08 3.1869 1.93295 1 4.32 1C5.87505 1 7.23848 1.93062 8 3.32428C8.76152 1.93062 10.125 1 11.68 1C14.067 1 16 3.1869 16 5.88772Z"
fill="url(#paint1_linear_4052_760)"
fill-opacity="0.48"
/>
<path
d="M16 5.88772C16 11.3125 8.00092 16 8.00092 16C8.00092 16 -7.14146e-08 11.3125 -7.17263e-08 5.88772C-3.20922e-08 3.1869 1.93295 1 4.32 1C5.87505 1 7.23848 1.93062 8 3.32428C8.76152 1.93062 10.125 1 11.68 1C14.067 1 16 3.1869 16 5.88772Z"
stroke="white"
/>
<defs>
<linearGradient id="paint0_linear_4052_760" x1="8" y1="1" x2="8" y2="16" gradientUnits="userSpaceOnUse">
<stop stop-color="#FD4538"/>
<stop offset="0.4375" stop-color="#FD4538"/>
<stop offset="1" stop-color="#D2392F"/>
<linearGradient
id="paint0_linear_4052_760"
x1="8"
y1="1"
x2="8"
y2="16"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FD4538" />
<stop offset="0.4375" stop-color="#FD4538" />
<stop offset="1" stop-color="#D2392F" />
</linearGradient>
<linearGradient id="paint1_linear_4052_760" x1="8" y1="1.9375" x2="8" y2="4.28125" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="1" stop-color="white" stop-opacity="0"/>
<linearGradient
id="paint1_linear_4052_760"
x1="8"
y1="1.9375"
x2="8"
y2="4.28125"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="white" />
<stop offset="1" stop-color="white" stop-opacity="0" />
</linearGradient>
</defs>
</svg>

0 comments on commit 306c2a5

Please sign in to comment.