Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustinMauroy committed Feb 19, 2024
1 parent be1937d commit 6ea828d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 18 deletions.
28 changes: 15 additions & 13 deletions layouts/New/Blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,21 @@ const BlogLayout: FC = async () => {
return (
<>
<WithNavBar />
<main className={styles.blogLayout}>
<BlogHeader category={blogData.category} />
<WithBlogCategories
blogData={blogData}
categories={mapCategoriesToTabs([
'all',
'announcements',
'release',
'vulnerability',
'events',
])}
/>
</main>
<div className={styles.blogLayout}>
<main>
<BlogHeader category={blogData.category} />
<WithBlogCategories
blogData={blogData}
categories={mapCategoriesToTabs([
'all',
'announcements',
'release',
'vulnerability',
'events',
])}
/>
</main>
</div>
<WithFooter />
</>
);
Expand Down
14 changes: 9 additions & 5 deletions layouts/New/layouts.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,19 @@
@apply flex
w-full
justify-center
gap-4
bg-gradient-subtle
px-4
py-12
dark:bg-gradient-subtle-dark
md:px-14
lg:px-28
xs:bg-none
xs:dark:bg-none;

main {
@apply max-w-8xl
gap-4
px-4
py-12
md:px-14
lg:px-28;
}
}

.contentLayout {
Expand Down

0 comments on commit 6ea828d

Please sign in to comment.