[fix] migrate localfont to hosted font
This commit is contained in:
@@ -34,7 +34,7 @@ export const NavBar = () => {
|
||||
<Sheet onOpenChange={(open) => setIsSideNavOpen(open)} open={isSideNavOpen}>
|
||||
<div className="sticky top-0 z-50 border-black-200 dark:border-gray-700 border-b bg-white dark:bg-gray-950 flex flex-wrap justify-between py-3 px-5 md:px-10 lg:px-20 xl:px-32 2xl:px-52">
|
||||
<Link className="cursor-pointer my-auto text-2xl font-bold" href="/">
|
||||
<h1 className={`font-fang-zheng-xiao-biao-song my-auto`} title="Click to jump to home page.">
|
||||
<h1 className={`website-title-font my-auto`} title="Click to jump to home page.">
|
||||
{Config.SiteTitle}
|
||||
</h1>
|
||||
</Link>
|
||||
|
||||
@@ -14,7 +14,7 @@ export const PostList = (props: { data: TPostListItem[] }) => {
|
||||
index !== props.data.length - 1 && "border-b"
|
||||
} border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-900 dark:border-gray-800 px-3 py-1`}
|
||||
>
|
||||
<div className={"font-source-serif-screen flex-col py-3"}>
|
||||
<div className={"post-list-caption-font flex-col py-3"}>
|
||||
<div className="flex justify-center">
|
||||
<h3 className="mx-auto text-lg font-extrabold capitalize">{postItem.frontMatter.title}</h3>
|
||||
</div>
|
||||
@@ -27,7 +27,7 @@ export const PostList = (props: { data: TPostListItem[] }) => {
|
||||
</div>
|
||||
</div>
|
||||
{postItem.frontMatter.summary && (
|
||||
<div className={"font-source-serif-screen flex justify-center"}>
|
||||
<div className={"content-font flex justify-center"}>
|
||||
<p>{postItem.frontMatter.summary}</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user