Notion-Auth

This commit is contained in:
tangly1024.com
2024-07-10 09:19:59 +08:00
parent da90c17b3a
commit ccf0c18017
11 changed files with 1247 additions and 406 deletions

View File

@@ -276,17 +276,39 @@ const LayoutSignUp = props => {
)
}
export {
Layout404,
LayoutArchive,
LayoutBase,
LayoutCategoryIndex,
LayoutIndex,
LayoutPostList,
LayoutSearch,
LayoutSignIn,
LayoutSignUp,
LayoutSlug,
LayoutTagIndex,
CONFIG as THEME_CONFIG
/**
* 授权页面
* @param {*} props
* @returns
*/
const LayoutAuth = props => {
const {msg,title} = props
return (
<>
<Banner title={title} description={msg} />
<div className='container grow'>
<div className='flex flex-wrap justify-center -mx-4'>
<div className='w-full p-4'>
<div id='container-inner' className='mx-auto'>
{/* {slot} */}
</div>
</div>
</div>
</div>
</>
)
}
export {
Layout404,
LayoutArchive, LayoutAuth, LayoutBase,
LayoutCategoryIndex,
LayoutIndex,
LayoutPostList,
LayoutSearch,
LayoutSignIn,
LayoutSignUp,
LayoutSlug, LayoutTagIndex,
CONFIG as THEME_CONFIG
}