2024-11-17 11:45:08 +08:00
|
|
|
|
<script lang="ts" setup>
|
2025-01-13 23:12:06 +08:00
|
|
|
|
interface Widget {
|
2024-11-17 11:45:08 +08:00
|
|
|
|
icon: string[]
|
|
|
|
|
url: string
|
|
|
|
|
title: string
|
|
|
|
|
}
|
2025-01-13 21:51:37 +08:00
|
|
|
|
// Const welcomeWords = ['你好👋,很高兴认识你!']
|
2024-11-17 11:45:08 +08:00
|
|
|
|
|
|
|
|
|
const littleWidget: Widget[] = [
|
|
|
|
|
{
|
|
|
|
|
icon: ['fab', 'qq'],
|
2025-01-13 21:51:37 +08:00
|
|
|
|
url: 'tencent://message/?uin=1922471905&Site=&Menu=yes',
|
|
|
|
|
title: 'QQ',
|
2024-11-17 11:45:08 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: ['fab', 'github-alt'],
|
2025-01-13 21:51:37 +08:00
|
|
|
|
url: 'https://github.com/Aurora1949',
|
|
|
|
|
title: 'Github',
|
2024-11-17 11:45:08 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: ['fab', 'weibo'],
|
2025-01-13 21:51:37 +08:00
|
|
|
|
url: 'https://weibo.com/u/7923648952',
|
|
|
|
|
title: '微博',
|
2024-11-17 11:45:08 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: ['fab', 'steam-symbol'],
|
2025-01-13 21:51:37 +08:00
|
|
|
|
url: 'https://steamcommunity.com/id/cantyonion/',
|
|
|
|
|
title: 'Steam',
|
|
|
|
|
},
|
2024-11-17 11:45:08 +08:00
|
|
|
|
]
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div class="container my-16 flex w-full">
|
|
|
|
|
<!-- 头像部分 -->
|
|
|
|
|
<div class="hidden h-32 w-32 overflow-hidden rounded-full bg-white hover:animate-pulse sm:block">
|
2025-01-13 21:51:37 +08:00
|
|
|
|
<img
|
|
|
|
|
alt=""
|
|
|
|
|
src="https://q.qlogo.cn/g?b=qq&nk=1922471905&s=640"
|
|
|
|
|
>
|
2024-11-17 11:45:08 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 文字部分 -->
|
|
|
|
|
<div class="container flex flex-1 flex-col justify-between px-4 sm:px-8">
|
2025-01-13 21:51:37 +08:00
|
|
|
|
<div class="text-4xl">
|
|
|
|
|
Jeffrey Hsu
|
|
|
|
|
</div>
|
|
|
|
|
<div class="text-2xl text-gray-400">
|
|
|
|
|
你好👋,很高兴认识你!
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <vue-typed-js :strings="['First text', 'Second Text']"> -->
|
|
|
|
|
<!-- <h1 class="typing"></h1> -->
|
|
|
|
|
<!-- </vue-typed-js> -->
|
2024-11-17 11:45:08 +08:00
|
|
|
|
<div class="flex gap-4 text-xl">
|
2025-01-13 21:51:37 +08:00
|
|
|
|
<a
|
|
|
|
|
v-for="item in littleWidget"
|
|
|
|
|
:key="item.url"
|
|
|
|
|
:href="item.url"
|
|
|
|
|
:title="item.title"
|
|
|
|
|
class="flex h-10 w-10 items-center justify-center rounded-full bg-green-400 text-white transition-all hover:scale-125"
|
|
|
|
|
>
|
|
|
|
|
<font-awesome-icon :icon="item.icon" />
|
2024-11-17 11:45:08 +08:00
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
2025-01-13 21:51:37 +08:00
|
|
|
|
</style>
|