add: kofi link

This commit is contained in:
webfussel 2024-06-21 09:30:11 +02:00
parent 54942a7d20
commit 989f8cad55
3 changed files with 23 additions and 4 deletions

View file

@ -33,7 +33,7 @@
& strong { & strong {
font-family: 'Roboto Condensed', sans-serif; font-family: 'Roboto Condensed', sans-serif;
font-size: 1.5rem; font-size: 1.5rem;
flex: 2; flex: 1.5;
cursor: default; cursor: default;
display: flex; display: flex;
align-items: center; align-items: center;

View file

@ -34,7 +34,7 @@
</ul> </ul>
<ul class="socials"> <ul class="socials">
<li v-for="({icon, ...rest}) in socials" :key="rest.href" @click="isBurgerOpen = false"> <li v-for="({icon, ...rest}) in socials" :key="rest.href" @click="isBurgerOpen = false">
<a v-bind="rest"> <a v-bind="rest" target="_blank">
<img class="icon" :src="icon" :alt="rest['aria-label']" /> <img class="icon" :src="icon" :alt="rest['aria-label']" />
</a> </a>
</li> </li>
@ -45,6 +45,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import KofiIcon from '/img/icons/kofi.svg'
import LinkedInIcon from 'iconoir/icons/regular/linkedin.svg' import LinkedInIcon from 'iconoir/icons/regular/linkedin.svg'
import MastodonIcon from 'iconoir/icons/regular/mastodon.svg' import MastodonIcon from 'iconoir/icons/regular/mastodon.svg'
@ -79,12 +80,18 @@ const socials = [
href: 'https://www.linkedin.com/in/webfussel/', href: 'https://www.linkedin.com/in/webfussel/',
icon: LinkedInIcon, icon: LinkedInIcon,
'aria-label': 'Externer Link: LinkedIn Profil' 'aria-label': 'Externer Link: LinkedIn Profil'
}, { },
{
href: 'https://mastodontech.de/@webfussel', href: 'https://mastodontech.de/@webfussel',
icon: MastodonIcon, icon: MastodonIcon,
rel: 'me', rel: 'me',
'aria-label': 'Externer Link: Mastodon Profil' 'aria-label': 'Externer Link: Mastodon Profil'
} },
{
href: 'https://ko-fi.com/webfussel',
icon: KofiIcon,
'aria-label': 'Externer Link: KoFi Profil'
},
] ]
onMounted(() => { onMounted(() => {

12
public/img/icons/kofi.svg Normal file
View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<g>
<path d="M509.5,190.9c-16.5-87.2-103.7-98-103.7-98H15.4c-12.9,0-14.5,17-14.5,17s-1.7,156.3-0.4,252.3c3.5,51.6,55.2,57,55.2,57
s176.3-0.5,255.2-1.1c52-9.1,57.3-54.8,56.7-79.7C460.5,343.5,525.9,278,509.5,190.9L509.5,190.9z M273.5,265.8
c-26.6,30.9-85.6,84.8-85.6,84.8s-2.6,2.6-6.7,0.5c-1.6-1.2-2.2-1.9-2.2-1.9c-9.5-9.4-71.8-65-86.1-84.3
c-15.1-20.6-22.2-57.6-1.9-79.2c20.2-21.5,64.1-23.2,93.1,8.7c0,0,33.3-38,74-20.5C298.6,191.3,297.2,238,273.5,265.8z M405.2,276
c-19.8,2.5-35.9,0.6-35.9,0.6V155.4H407c0,0,42.1,11.8,42.1,56.3C449.1,252.5,428.1,268.6,405.2,276L405.2,276z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 958 B