1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-05 23:32:45 +08:00

feat: update layout styles and homepage content

This commit is contained in:
2025-11-25 02:45:06 +08:00
parent 60728d9fd0
commit 1eb03650bb
3 changed files with 5 additions and 4 deletions

View File

@@ -467,7 +467,7 @@ section {
a.title-anchor {
@include mixin.typescale-style("body-large");
display: flex;
display: inline-flex;
align-items: center;
flex-direction: column;
gap: 6px;
@@ -540,6 +540,8 @@ section {
h4,
h5,
h6 {
display: inline-block;
padding-block-end: 12px;
line-height: 54px;

View File

@@ -108,12 +108,11 @@ if (typeof window !== "undefined") {
<template>
<div id="layout">
<Navbar />
<AppBar />
<Transition name="layout-content" mode="out-in" @before-leave="onBeforeLeave" @after-enter="onAfterEnter">
<div id="layout-content-flow" :key="route.path">
<div id="layout-home-title" v-if="frontmatter.home">
<img src="/assets/images/avatar.webp" alt="avatar" />
<div>
<h1>{{ site.title }}</h1>
<p>{{ site.description }}</p>
</div>
</div>

View File

@@ -1,4 +1,4 @@
---
home: true
title: "首页"
title: "sendevia 的小站"
---