主页展示内容调整

This commit is contained in:
轩辕龙儿 2024-02-21 08:25:33 +08:00
parent c83b215a23
commit 3f851bfe27
3 changed files with 8 additions and 9 deletions

View File

@ -20,9 +20,9 @@
"link": "https://cms.huangge1199.cn/"
},
{
"icon": "LaptopCode",
"name": "友链站点监测",
"link": "https://console.huangge1199.cn/status/friends"
"icon": "Cloud",
"name": "云盘",
"link": "https://pan.huangge1199.cn/"
},
{
"icon": "Book",

View File

@ -5,8 +5,7 @@
<div class="logo">
<img class="logo-img" :src="siteLogo" alt="logo" />
<div class="name text-hidden">
<span class="bg">{{ siteUrl[0] }}</span>
<span class="sm">.{{ siteUrl[1] }}</span>
<span class="sm">{{ siteName }}</span>
</div>
</div>
<!-- 简介 -->
@ -37,8 +36,8 @@ const store = mainStore();
// logo
const siteLogo = import.meta.env.VITE_SITE_LOGO;
//
const siteUrl = import.meta.env.VITE_SITE_URL.split(".");
//
const siteName = import.meta.env.VITE_SITE_NAME;
//
const descriptionText = reactive({
@ -103,7 +102,7 @@ watch(
.sm {
margin-left: 6px;
font-size: 2rem;
font-size: 4rem;
@media (min-width: 720px) and (max-width: 789px) {
display: none;
}

View File

@ -92,7 +92,7 @@ export const helloInit = () => {
}
ElMessage({
dangerouslyUseHTMLString: true,
message: `<strong>${hello}</strong> 欢迎来到的主页`,
message: `<strong>${hello}</strong> 欢迎来到龙儿的主页`,
});
};