Skip to content

Commit 31f35a7

Browse files
committed
chore: remove deprecated Cloudflare cron setup and notification page implementation
- Deleted the Cloudflare Worker cron setup documentation as article cleanup is now managed by Inngest. - Removed the old notification page implementation, transitioning to a new notifications feed component for improved user experience. - Updated layout and styling in various components to enhance UI consistency and responsiveness.
1 parent 40e96ec commit 31f35a7

9 files changed

Lines changed: 612 additions & 688 deletions

File tree

CLOUDFLARE_CRON_SETUP.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

issue93-body.md

Lines changed: 0 additions & 158 deletions
This file was deleted.

src/app/(home)/_components/ArticleFeed.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const ArticleFeed = () => {
4747
return (
4848
<>
4949
{/* <pre>{JSON.stringify(articleFeedQuery.data, null, 2)}</pre> */}
50-
<div className="flex flex-col gap-10 mt-2">
50+
<div className="flex flex-col gap-10">
5151
{articleFeedQuery.isPending && (
5252
<>
5353
<div

src/app/(home)/page.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ const Page = () => {
1212
RightSidebar={<HomeRightSidebar />}
1313
NavbarTrailing={<SidebarToggleButton />}
1414
>
15-
<div className="px-4 my-2 md:m-0">
16-
<FakeEditor />
15+
<div className="flex flex-col gap-3 p-2">
16+
<div className="pb-2 md:m-0">
17+
<FakeEditor />
18+
</div>
19+
<ArticleFeed />
1720
</div>
18-
<ArticleFeed />
1921
</HomepageLayout>
2022
);
2123
};

src/app/[username]/[articleHandle]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const Page: NextPage<ArticlePageProps> = async ({ params }) => {
139139
RightSidebar={<ArticleSidebar article={article} />}
140140
>
141141
{/* {!article && <div>Article not found</div>} */}
142-
<div className="px-4 my-2 md:m-0">
142+
<div className="p-2 md:m-0">
143143
<UnpublishedArticleNotice
144144
publishedAt={article.published_at}
145145
authorId={article.author_id}

0 commit comments

Comments
 (0)