+ )}
+
+ {!state.message && }
+ >
+ );
+}
diff --git a/site/content/test.md b/site/content/test.md
index adcf563..2ceb017 100644
--- a/site/content/test.md
+++ b/site/content/test.md
@@ -2,11 +2,24 @@
title: Test frontmatter in markdown
created: 2022-04-26
date: 2022-04-26
-description: 'In this test episode with somebody about their work to make community finance transparent and sustainable with Open Collective, their commitment ot steward ownership and the value of an exit to community.'
+description: 'This description is from the frontmatter field.'
youtube: https://youtube.com/
featured: false
---
+***
+
+## Test twitter embeds in markdown
+
+*eg. if this twitter link https://twitter.com/rufuspollock/status/1524012242777395201 is on a separate line, then it will be rendered as seen below*
+
+https://twitter.com/rufuspollock/status/1524012242777395201
+
+*tweets that have been deleted or are private would show the link instead as seen below*
+
+https://twitter.com/polka_ether_up/status/1524052691692908544
+
+***
## Test (Obsidian) wiki link syntax
@@ -30,7 +43,6 @@ featured: false
*`[[#Our Approach]]`*
[[#Our Approach]]
-
***
## Test video embed links in markdown
diff --git a/site/lib/constants.js b/site/lib/constants.js
index 2ebe063..7df911b 100644
--- a/site/lib/constants.js
+++ b/site/lib/constants.js
@@ -1,2 +1,3 @@
-export const YOUTUBE_REGEX =
- /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;
+export const YOUTUBE_REGEX = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;
+
+export const TWITTER_REGEX = /^https?:\/\/twitter\.com\/(?:#!\/)?(\w+)\/status(es)?\/(\d+)/;
diff --git a/site/public/img/a-macro-economics-thumbnail.png b/site/public/img/a-macro-economics-thumbnail.png
index 40d63a6..9a11765 100644
Binary files a/site/public/img/a-macro-economics-thumbnail.png and b/site/public/img/a-macro-economics-thumbnail.png differ
diff --git a/site/public/img/anti-auth-thumbnail.png b/site/public/img/anti-auth-thumbnail.png
index 1043f07..6c3af6c 100644
Binary files a/site/public/img/anti-auth-thumbnail.png and b/site/public/img/anti-auth-thumbnail.png differ
diff --git a/site/public/img/klima-one-thumbnail.png b/site/public/img/klima-one-thumbnail.png
index bc12af8..0754ee8 100644
Binary files a/site/public/img/klima-one-thumbnail.png and b/site/public/img/klima-one-thumbnail.png differ
diff --git a/site/styles/global.css b/site/styles/global.css
index 357cc57..7ebb796 100644
--- a/site/styles/global.css
+++ b/site/styles/global.css
@@ -8,6 +8,10 @@
h1, h2, h3, h4, h5 {
@apply font-sans;
}
+
+ .twitter-tweet iframe {
+ @apply !border !border-2 !border-neutral-900 !rounded-2xl !bg-neutral-900 shadow;
+ }
}
/* OTHERS */