diff --git a/apps/www/components/Blog/ShareArticleActions.tsx b/apps/www/components/Blog/ShareArticleActions.tsx new file mode 100644 index 00000000000..351bf951dc6 --- /dev/null +++ b/apps/www/components/Blog/ShareArticleActions.tsx @@ -0,0 +1,64 @@ +import Link from 'next/link' + +const ShareArticleActions = ({ title, slug }: { title: string; slug: string }) => ( +
+) + +export default ShareArticleActions diff --git a/apps/www/components/LaunchWeek/HackernewsShare.tsx b/apps/www/components/LaunchWeek/HackernewsShare.tsx new file mode 100644 index 00000000000..89ed624f49f --- /dev/null +++ b/apps/www/components/LaunchWeek/HackernewsShare.tsx @@ -0,0 +1,32 @@ +import Image from 'next/image' +import React from 'react' +import days from '~/components/LaunchWeek/lw7_days' + +const HackernewsShare = ({ url, title }: { url: string; title: string }) => { + const hackerNewsLink = `https://news.ycombinator.com/submitlink?u=${encodeURIComponent( + url + )}&t=${encodeURIComponent(title)}` + + return ( +Start a conversation about this topic
+ + + +•
{generateReadingTime(props.blog.source)}
Related articles