feat: add classes
This commit is contained in:
@@ -154,13 +154,15 @@ export default async function SiteLayout({
|
||||
|
||||
return (
|
||||
<Hydrate state={dehydratedState}>
|
||||
<div className={`xlog-user xlog-page-${type} xlog-deprecated-class`}>
|
||||
<div
|
||||
className={`xlog-page xlog-page-${type} xlog-user xlog-deprecated-class`}
|
||||
>
|
||||
<Style content={site?.metadata?.content?.css} />
|
||||
{site && <SiteHeader handle={params.site} />}
|
||||
<div
|
||||
className={cn(
|
||||
page && `xlog-post-id-${page.characterId}-${page.noteId}`,
|
||||
"xlog-deprecated-class max-w-screen-md mx-auto px-5 pt-12 relative",
|
||||
`xlog-post-id-${page?.characterId}-${page?.noteId}`,
|
||||
"xlog-deprecated-class xlog-post-area max-w-screen-md mx-auto px-5 pt-12 relative",
|
||||
)}
|
||||
>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user