delete post page
This commit is contained in:
@@ -8,13 +8,11 @@ import Layout from "../layouts/main.astro";
|
||||
|
||||
<Layout title="个人主页">
|
||||
<div
|
||||
/* 1. 确保 max-w-7xl 与导航栏一致,并在大屏增加 px 保证呼吸感 */
|
||||
class="relative z-20 w-full max-w-7xl mx-auto mt-16 px-7 md:mt-24 lg:mt-32 xl:px-10"
|
||||
>
|
||||
<div class="flex flex-col items-center md:flex-row">
|
||||
<div class="relative w-full md:w-1/2">
|
||||
<h1
|
||||
/* 2. 这里的字体大小可以再大胆一点,配合加宽后的布局 */
|
||||
class="mb-5 text-4xl font-bold leading-tight md:text-5xl lg:text-7xl dark:text-white"
|
||||
>
|
||||
Hello, I'm Bi.
|
||||
@@ -44,7 +42,6 @@ import Layout from "../layouts/main.astro";
|
||||
src="/assets/images/photo.png"
|
||||
loading="eager"
|
||||
decoding="auto"
|
||||
/* 3. 关键修改:将 md:max-w-md 改为 md:max-w-lg 或直接取消限制,让图片随容器变大 */
|
||||
class="relative z-30 w-full aspect-[790/1189] md:max-w-lg ml-auto dark:-translate-y-0.5"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
import PageHeading from "../components/page-heading.astro";
|
||||
import PostsLoop from "../components/posts-loop.astro";
|
||||
import Layout from "../layouts/main.astro";
|
||||
---
|
||||
|
||||
@@ -12,7 +11,6 @@ import Layout from "../layouts/main.astro";
|
||||
/>
|
||||
|
||||
<div class="z-50 flex flex-col items-stretch w-full gap-5 my-8">
|
||||
<PostsLoop count="999999999" />
|
||||
</div>
|
||||
</section>
|
||||
</Layout>
|
||||
|
||||
Reference in New Issue
Block a user