-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathindex.ftl
67 lines (66 loc) · 3.68 KB
/
index.ftl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<#include "module/macro.ftl"/>
<@head title="${blog_title!}"/>
<body class="bg-[#f9f9f9] dark:bg-neutral-800">
<div class="flex flex-col lg:flex-row">
<@header/>
<div class="w-full h-screen lg:pl-[330px] px-[40px] lg:px-0 mt-[-60px] lg:mt-0">
<div class="lg:max-w-[1000px] mx-auto h-screen relative">
<div class="flex flex-col lg:flex-row justify-center content-center items-center h-screen lg:space-x-16 lg:mx-[20px]">
<div class="avatar mb-6 lg:mb-0">
<div class="w-72 h-72 bg-cover bg-no-repeat bg-center animation-morph"
style="background-image: url('${user.avatar!}'); box-shadow: inset 0px 0px 0px 9px rgb(255 255 255 / 30%); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;"></div>
</div>
<div class="resume space-y-6">
<div class="name text-center lg:text-left">
<h1 class="text-6xl subpixel-antialiased font-black font-sans dark:text-white">${user.nickname!}</h1>
</div>
<div class="info text-center lg:text-left">
<p class="text-767676">${user.description!}</p>
</div>
<div class="social hidden lg:block dark:text-767676">
<ul class="flex space-x-4">
<#if settings.github?? && settings.github != ''>
<li>
<a href="${settings.github}" title="github" target="_blank"><i class="ri-github-line text-2xl"></i></a>
</li>
</#if>
<#if settings.weibo?? && settings.weibo != ''>
<li>
<a href="${settings.weibo}" title="weibo" target="_blank"><i class="ri-weibo-line text-2xl"></i></a>
</li>
</#if>
<#if settings.wechat?? && settings.wechat != ''>
<li>
<a href="${settings.wechat}" title="wechat" target="_blank"><i class="ri-wechat-line text-2xl"></i></a>
</li>
</#if>
<#if settings.qq?? && settings.qq != ''>
<li>
<a href="${settings.qq}" title="qq" target="_blank"><i class="ri-qq-line text-2xl"></i></a>
</li>
</#if>
<#if settings.bilibili?? && settings.bilibili != ''>
<li>
<a href="${settings.bilibili}" title="bilibili" target="_blank"><i class="ri-bilibili-line text-2xl"></i></a>
</li>
</#if>
<#if settings.rss?? && settings.rss != ''>
<li>
<a href="${settings.rss}" title="rss" target="_blank"><i class="ri-rss-line text-2xl"></i></a>
</li>
</#if>
<#if settings.email?? && settings.email != ''>
<li>
<a href="${settings.email}" title="email" target="_blank"><i class="ri-mail-line text-2xl"></i></a>
</li>
</#if>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<@footer/>
</body>
</html>