修改页面风格
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
---
|
||||
interface Props {
|
||||
title: string;
|
||||
subtitle?: string;
|
||||
}
|
||||
|
||||
const { title, subtitle } = Astro.props;
|
||||
---
|
||||
|
||||
<header class="page-header-card">
|
||||
<p class="page-header-eyebrow">Bi's Blog</p>
|
||||
<h1>{title}</h1>
|
||||
{subtitle && <p class="page-header-subtitle">{subtitle}</p>}
|
||||
</header>
|
||||
Reference in New Issue
Block a user