diff --git a/components/SocialShare.js b/components/SocialShare.js
index c92c35c9..3355cad8 100644
--- a/components/SocialShare.js
+++ b/components/SocialShare.js
@@ -1,6 +1,12 @@
import { FacebookLogo, TwitterLogo, LinkedinLogo } from "@/components/icons";
-export default function SocialShare({ slug, authorTwitter, title = "" , size=28}) {
+export default function SocialShare({
+ slug,
+ authorTwitter,
+ title = "",
+ size = 28,
+ postType = "post",
+}) {
const titleUrl = encodeURI(title);
// const url = encodeURI(slug);
@@ -9,32 +15,33 @@ export default function SocialShare({ slug, authorTwitter, title = "" , size=28}
);
}
-
export function SocialShareVertical({ slug, authorTwitter, title = "" }) {
const titleUrl = encodeURI(title);
// const url = encodeURI(slug);
@@ -44,16 +51,19 @@ export function SocialShareVertical({ slug, authorTwitter, title = "" }) {
@@ -61,8 +71,7 @@ export function SocialShareVertical({ slug, authorTwitter, title = "" }) {
target="_blank"
href={`https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fprototypr.io%2Ftoolbox%2F${slug}`}
>
-
-
+
diff --git a/components/authorBio.js b/components/authorBio.js
index fec53c35..760df059 100644
--- a/components/authorBio.js
+++ b/components/authorBio.js
@@ -7,7 +7,7 @@ import { DribbbleLogo, GithubLogo, TwitterLogo } from "./icons";
import '~/react-kofi/dist/kofi.css';
import {KoFiButton} from "react-kofi";
-export default function AuthorBio({ author, slug, title }) {
+export default function AuthorBio({ author, slug, title, showShare = true }) {
const pic = author?.avatar?.data?.attributes?.url
? author?.avatar?.data?.attributes?.url
: author?.legacyAvatar
@@ -21,7 +21,7 @@ export default function AuthorBio({ author, slug, title }) {
return (
-
@@ -39,9 +39,9 @@ export default function AuthorBio({ author, slug, title }) {
/>
-
+ }
-
+ {showShare &&
}
diff --git a/components/date.js b/components/date.js
index 3172e79d..b38baa10 100644
--- a/components/date.js
+++ b/components/date.js
@@ -3,9 +3,9 @@ import format from 'date-fns/format'
import es from 'date-fns/locale/es'
import { useIntl } from "react-intl";
-export default function Date({ dateString, locale }) {
+export default function Date({ dateString, locale, className }) {
const intl = useIntl();
const date = parseISO(dateString)
- return
+ return
}
diff --git a/components/icons/index.js b/components/icons/index.js
index 25efbfa8..ea6facf3 100644
--- a/components/icons/index.js
+++ b/components/icons/index.js
@@ -348,6 +348,20 @@ export const NotePencil = ({ size, className, color }) => {
);
};
+export const NoteReceipt = ({ size, className, color }) => {
+ return (
+
+ );
+};
export const Briefcase = ({ size, className, color }) => {
return (