Skip to content

Commit

Permalink
Bugfix: comment out newsletter
Browse files Browse the repository at this point in the history
  • Loading branch information
reginaEmyk committed Oct 16, 2024
1 parent 993ed80 commit 8b4fafb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 41 deletions.
6 changes: 3 additions & 3 deletions app/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Link from '@/components/Link'
import Tag from '@/components/Tag'
import siteMetadata from '@/data/siteMetadata'
import { formatDate } from 'pliny/utils/formatDate'
import NewsletterForm from 'pliny/ui/NewsletterForm'
// import NewsletterForm from 'pliny/ui/NewsletterForm'

const MAX_DISPLAY = 5

Expand Down Expand Up @@ -81,11 +81,11 @@ export default function Home({ posts }) {
</Link>
</div>
)}
{siteMetadata.newsletter?.provider && (
{/* {siteMetadata.newsletter?.provider && (
<div className="flex items-center justify-center pt-4">
<NewsletterForm />
</div>
)}
)} */}
</>
)
}
35 changes: 0 additions & 35 deletions app/projects/_page.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions components/MDXComponents.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import TOCInline from 'pliny/ui/TOCInline'
import Pre from 'pliny/ui/Pre'
import BlogNewsletterForm from 'pliny/ui/BlogNewsletterForm'
// import BlogNewsletterForm from 'pliny/ui/BlogNewsletterForm'
import type { MDXComponents } from 'mdx/types'
import Image from './Image'
import CustomLink from './Link'
Expand All @@ -12,5 +12,5 @@ export const components: MDXComponents = {
a: CustomLink,
pre: Pre,
table: TableWrapper,
BlogNewsletterForm,
// BlogNewsletterForm,
}
2 changes: 1 addition & 1 deletion data/authors/default.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Regina Emyk
avatar: /static/images/avatar.png
occupation: Undergraduate Bachelor's of Computer Science
company: Houve Ltd.
email: r_enk@gmail.com
email: regina.emyk@gmail.com
twitter: https://twitter.com/Twitter
linkedin: https://www.linkedin.com/in/regina-e-010b041b5/
github: https://github.com/reginaEmyk
Expand Down

0 comments on commit 8b4fafb

Please sign in to comment.