Skip to content

Commit

Permalink
Fix newsletter signup (#1688)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamilbk committed Jun 23, 2023
1 parent 47417d3 commit 3545865
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 10 additions & 1 deletion website/src/app/blog/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
import NewsletterSignup from "@/components/NewsletterSignup";

export default function Layout({ children }: { children: React.ReactNode }) {
return <div className="pt-24 flex flex-col">{children}</div>;
return (
<div className="pt-24 flex flex-col">
{children}
<div className="border-t border-gray-200 dark:border-gray-700 pt-8">
<NewsletterSignup />
</div>
</div>
);
}
4 changes: 0 additions & 4 deletions website/src/app/blog/release-0-5-0/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Image from "next/image";
import Post from "@/components/Blog/Post";
import Content from "./readme.mdx";
import NewsletterSignup from "@/components/NewsletterSignup";
import { Metadata } from "next";

export const metadata: Metadata = {
Expand All @@ -19,9 +18,6 @@ export default function Page() {
date="July 25, 2022"
>
<Content />
<div className="border-t border-gray-200 dark:border-gray-700 pt-8">
<NewsletterSignup />
</div>
</Post>
);
}

1 comment on commit 3545865

@vercel
Copy link

@vercel vercel bot commented on 3545865 Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.