Skip to content

Commit

Permalink
Merge branch 'tangly1024:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
emengweb authored Oct 18, 2023
2 parents 73d8918 + 6156c85 commit b591b8d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .env.local
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# 环境变量 @see https://www.nextjs.cn/docs/basic-features/environment-variables
NEXT_PUBLIC_VERSION=4.0.15
NEXT_PUBLIC_VERSION=4.0.16
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "notion-next",
"version": "4.0.15",
"version": "4.0.16",
"homepage": "https://github.com/tangly1024/NotionNext.git",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion themes/heo/components/LatestPostsGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const LatestPostsGroup = ({ latestPosts, siteInfo }) => {

<div
className={
' font-bold overflow-x-hidden hover:text-indigo-600 px-2 duration-200 w-full rounded ' +
' font-bold overflow-x-hidden dark:text-white hover:text-indigo-600 px-2 duration-200 w-full rounded ' +
' hover:text-indigo-400 cursor-pointer'
}
>
Expand Down
10 changes: 5 additions & 5 deletions themes/heo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ const Layout404 = props => {
return (
<div
id="theme-heo"
className="bg-[#f7f9fe] h-full min-h-screen flex flex-col"
className="bg-[#f7f9fe] dark:bg-[#18171d] h-full min-h-screen flex flex-col"
>
{/* 网页SEO */}
<CommonHead meta={meta} siteInfo={siteInfo} />
Expand Down Expand Up @@ -424,7 +424,7 @@ const Layout404 = props => {
unmount={false}
>
{/* 404卡牌 */}
<div className="error-content flex flex-col md:flex-row w-full mt-12 h-[30rem] md:h-96 justify-center items-center bg-white border rounded-3xl">
<div className="error-content flex flex-col md:flex-row w-full mt-12 h-[30rem] md:h-96 justify-center items-center bg-white dark:bg-[#1B1C20] border dark:border-gray-800 rounded-3xl">
{/* 左侧动图 */}
<LazyImage
className="error-img h-60 md:h-full p-4"
Expand All @@ -433,12 +433,12 @@ const Layout404 = props => {

{/* 右侧文字 */}
<div className="error-info flex-1 flex flex-col justify-center items-center space-y-4">
<h1 className="error-title font-extrabold md:text-9xl text-7xl">
<h1 className="error-title font-extrabold md:text-9xl text-7xl dark:text-white">
404
</h1>
<div>请尝试站内搜索寻找文章</div>
<div className='dark:text-white'>请尝试站内搜索寻找文章</div>
<Link href="/">
<button className="bg-blue-500 p-2 text-white shadow rounded-lg hover:bg-blue-600 hover:shadow-md duration-200 transition-all">
<button className="bg-blue-500 py-2 px-4 text-white shadow rounded-lg hover:bg-blue-600 hover:shadow-md duration-200 transition-all">
回到主页
</button>
</Link>
Expand Down

0 comments on commit b591b8d

Please sign in to comment.